Opening position problem
-
Hey, i am new and still learning. I didnt find a solution for my problem, so i hope somebody can help me.

Basicly what i want is that whene EMA 8 cros over the MA 50 and whene the 1st green candel apers BUY NOW opens. and whene EMA 8 cros below MA 50 and whene 1st red candel apears the SELL Now oreder opens.
I did the script that do that by mayselfe, but the problem is that it opens new positoin every new candel and that is what i dont want.
I want only 1 trade per "even" like a draw on the picture, i can not find a sulution for it. Like if event 1 is made, do 1st trade (BUY) than no trades, event 2 is made, do 2nd trade(SELL) and so on and on.
I hope somebody can help me

Thank you in advance, and sorry for my bad english skills

https://fxdreema.com/shared/msL4nDkrc

-
Turn on/ turn off blocks...
https://fxdreema.com/shared/gFMDQYsccI think there is no way around...
-
@zooslinkis how does that work which block to attact it to
-
@ddoc this is example... just wonder trade out all these bloks and just turn off and on condition blocks...
-
@zooslinkis man autocorrect will kill me. just copy blocks on trade event...