is this correct?
-
Is this the correct way to use the Pass Once block ?? Doesn't seem to be working ... or... am I missing something

-
Why do you need it? I see it is redundant.
-
I only need that condition to open trades once within a specific timeframe. so the condition should be true one time inside the time range
-
Remove the Block pass once, which make your EA only run for just ONE tick only
-
@sktsec so what block do I need to allow the conditions pass once wiltin a specific timeframe and resets afterwards
-
@tec-nacks
Once per bar not good enough? -
@sktsec if Once per bar is used only after a trade open and condition is right again within that time rang, trade will open again and that;s the not the idea to open as much but open just once or any specifed number
-
Then you need a bool variable controlling when a trade can be open and add it as an additional condition on top of those already existing.
-
@l-andorrà ooh okay, can you help with a sample pls?
Still working on my understanding of variables
-
@tec-nacks This is the general idea:

The condition on the left is checked on the 1H TF while the EA is running on a different TF. That variable is checking if the condition happened in the higher TF so tht you can use it on the current one.
However, don't forget that you will need to reinitialize the variable when necessary.
-
Thank you, on it
-
You're welcome.