Wrong trading date displayed on chart (Weekly/Daily)
Author: trader_naum
Creation Date: 12/26/2020 8:05 PM
profile picture

trader_naum

#1
Hope it's the right forum to post. When I backtest a strategy on weekly scale, get a simulated trade, double click on it, a chart is displayed with a usual trade signal (triangle, circle). However, the date on the chart is completely wrong. For example, in the attached example, the actual trade date is 02/14/20, almost a year after. What am I doing wrong?
profile picture

trader_naum

#2
attachment
profile picture

Eugene

#3
If using SetScale* methods make sure you've read the Important! note in the QuickRef. We can tell for sure upon inspecting your strategy's code.
profile picture

trader_naum

#4
That must be it - thank you.
profile picture

Eugene

#5
Glad I could help you.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).