Candle ID Range
-
Hi Everyone,
Is there a way to look back at a range of Candle IDs to avoid needing to create multiple blocks?
My screenshot shows what I hoped might work (but it doesn't).

This is my project where I am currently using multiple blocks https://fxdreema.com/shared/ByL4fUOac
Thanks,
Dre
-
@dre If you need to check if there was a crossing in the last 9 candles, you need to type 9 in the 'cross width' box instead of a 1, as it is now. Then you type 1 in the candle ID box. That will check if there was a crossing from candle ID1 and its 9 previous candles.
-
Thanks for the suggestion but this doesn't seem to work. Typing 9 in the 'Cross Width' will only detect a cross EXACTLY 9 candles previously rather than a cross ANYWHERE WITHIN the 9 previous candles.
Any other ideas?
-
Hey use candles id 1,2,......9 in OR style but then you have to create bunch of different blocks there is one method with variables but i don't have enough experience
-
Thanks for the suggestion. I'm currently using multiple blocks but this doesn't allow me to optimise this part of the EA, unfortunately.
Does anyone have any other suggestions?
Thanks,
Dre
-
@dre Please read the Instruction page dedicated to crossovers.