Buffer Trace
-
I was doing one test from custom indicator. Let me xplain in detail.
My custom indicator displays histogram as a buffer which is being traced and working well with the fxdreema.
Now..It displays two buffers color blue and color red.
I am trying to create a output comment for when it displays blue then comment something and same when it displays red then comment something else.
Now based on the custom indicator value the indicator repaints when it switches from blue to red, but as the candle ismnot closed, then it switches back to blue..at that time the comment is also changing...
I am also doing a candle id 1, 2 on the indicator buffer to solve this problem. but its not working.. see the screnshot for more info.

-
HI. I know in the one time finally Buffer is set. you should find that time is when. if your indicator is very changeable I advise to you just remove this indicator. some indicator not suitable for EA.
you should check the indicator on the backtest and see exactly how many candles need to check