How to check condition blocks and indicator visible "n" times
-
Hello everybody. I am new user and trying to learn. I search a lot but I could not solve the problem. Could you please help with the below subject:

- When the entry condition block 1 is true. After that candle I want to check entry condition block 2 along with "n" bars.
For example: Entry condition block 1 is true and after 3 bars mid MACD Sell signal is true and after 2 bars Trend Up then I want to open buy order.
Anyone help please.
Thanks.
-
@Qairos if you want to create some kind of time sequence, you should work with candle IDs rather than "once per bar" block.
Candle ID 0 means the current bar, 1 means last bar, 2 is the bar before that and so on
-
@roar first of all thank you for advise. Candle IDs can be used for previous bars 0,1,2,etc.. However in this case there are several conditions after first condition and for each candle there are thousands of combination for the future bars. I try to set up thanks to your previous replies:

But there is a mistake. After first condition met EA opens order without checking the second or third condition. I could not solve.
-
It is done now, thank you