I'm working with 3 data series (1', 5', 10') with an indicator.
The primary data series could be another different time frame.
I've read your post:
but I think I cannot understand everything.....
While using my indicator, when I'm drawing the plots, I'm on CurrentBars[0].
In order to be sure the other BarsArray are complete loaded, when I'm drawing plots from data series 1, 2 & 3, I have to use the bar [1] instead the last bar [0].
When doing tests, if I use for these other BarsArray the bar [0], sometimes the value I get is 0.
Also it is even worse, because I'm using an EMA with the data from every BarsArray, so, I'm adding more delay....
How should I do it?
Do you have an example?
If possible use please also an EMA with every data series....
Thanks!
Comment