Check How many Bars Passed
-
How to check if how many bars passed from a certain point?
Example if RSI x> 30 then RSISignal = 1.
Now if 10 Bars passed , I wanna invalidate the Signal.How do I check if 10 Bars Passed from the point of Signal?
-
When the cross happens count to candle ID's from that point, then check if < 10 now
-
@jstap how can I store the candle ID variable of the signal point? Please show me how to do it on block please.
-
when x> happens start counting, modify variable (one you have created) to 0, then once per bar add 1 to the variable, this will hold and update how many candles back when the cross happened.
-
@jstap hello sir! I can't get quite understand how can I do this on FxDreema. Can you please show me an example via shared link?
I want to try to use it as an exit too, like if 10 bars passed after entry close position.ThankYou!
-
Something like this: https://fxdreema.com/shared/lQHnpAuPc
-
@jstap THANK YOU SO MUCH BROTHERR!!!