iCustom / Indicator and ticks issues

 

Hello all,
I'm using icustom to get the value of two lines from an custom indicator. My expert advise send orders when the lines of the indicator crosses.
My problem is... the values that I getting with icustom, change every tick, but my indicator only draws lines in the selected timeframe.
The result: almost 10 orders every tick :)
Is there a way to get the indicator value only after each indicador draw?

Thanks


Forex.sb

 
See the Considering Orders in a Large Program article and the Multiple Null Bar Re-Count in Some Indicators article. I hope it will help you.
Reason: