Problem: I am running a real time strategy and the alerts are significanly differenct than back testing with historical data. It is a 60 min chart and calculateonbarclose = true, PC clock is fine.
Potential solution: Upon each bar close, I manually reload the chart data with the now historical data through the UI. This aligns my "manually intervened psuedo-realtime strategy" with the historical backtesting.
Upon bar close I want to redraw with historical data. How can this be accomplished with code? I thought I ran accross this in the forum at one point but cannot locate it.
Thanks.
Comment