Different data when receiving real time and when reloading

Questions about MultiCharts and user contributed studies.
lmrf77
Posts: 5
Joined: 10 Jun 2013
Has thanked: 1 time

Different data when receiving real time and when reloading

Postby lmrf77 » 30 May 2016

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

User avatar
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

Postby JoshM » 01 Jun 2016

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?
You can recalculate a script itself with the Recalculate() keyword.

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.



Return to “MultiCharts”