PLZZ HELp condition has to happen in the next 10 candles for the trade to open
-
if I have two conditions for a trade both of them are from indicators if the first condition is true even for a second the second condition has to happen in the next 10 candles for the trade to open how can I do that? basically if the first condition not true anymore but was true then in the next ten candles the other condition is true then i want the trade to open
-
@szeb You need to use variables. You can use a boolean variable true/false to identify when the first condition is true. Then a second variables used to count those 10 candles. When the first variable is true and the second hits 10, voila!
-
i'm grateful for your help I will try my best I've never used variables before
-
@szeb Sure. Let me know if you need some more help.