are DPO and TDI indicators faulty ??
I had a quick look to the code of DPO and TDI indicators and I’m a bit confused. As per comment in the code in various places very first (the oldest) bar has the index 0. In this case trading engine starts to calculate indicators values from bar 0 to the last bar. In such situation any calculations using lookback periods in loops should decrease not increase array index, so in loops in those indicators. (line 126 and line 51) i– should be used instead of i++. This bug cause future leak and overperformance of used strategies.
Or I misunderstood something ?? See attachment.
I will check with our dev team. We will let you know
Thanks for reply, i believe I know what was my issue. When you start new indicator in QE there is a comment
Viewing 3 posts - 1 through 3 (of 3 total)