Good evening.
I am experiencing the following problem. When I download missing historical data and the chart is updated, some data that was already in the chart is changed (different open, high, low and close values). There are signals that weren't generated before executing the download missing historical data.
Is there any way to code a function on a signal to recalculate the data on chart in order to have always the correct data on chart?
Do I need to check some option on quote manager to solve this?
Kind regards,
Luis Filipe
Different data when receiving real time and when reloading
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Different data when receiving real time and when reloadi
You can recalculate a script itself with the Recalculate() keyword.Is there any way to code a function on a signal to recalculate the data on chart in order to have always the correct data on chart?
If you want to reload the price data (which will also cause the script to recalculate), then that can be done with the CommandLine() keyword. See this wiki page for the commands to use with `CommandLine()` to have it reload price data.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: Different data when receiving real time and when reloadi
Hello lmrf77,
Please study the following information:
https://www.multicharts.com/trading-sof ... s_Database
https://www.multicharts.com/trading-sof ... Collection
Please study the following information:
https://www.multicharts.com/trading-sof ... s_Database
https://www.multicharts.com/trading-sof ... Collection