stopp loss on previous MA cross over candle
-
Hello..
how can i make stoploss on MA crossover of previous low candle for buy
and stoploss on MA crossover of previous high candle for sell -

-
Thanks for your reply.. i already tried that
this is what i want..

-
@abubakar alright you need to use the modify variable block in this case, did you already used it before?
-
@abubakar Do you mean the price where the cross is visible on the chart? You'd probably get i trouble on flat markets.
-
@fabien-s
can you help me with that -
@abubakar On buy trades you want the low before the cross or at the cross (candle) of red and green ma? Could you mark the SL in your screenshot, please?
-
@trader-philipps
am creating a Long time trading EA for higher Time frame
Entry on yellow and green cross
stoploss on red and green cross -
Hello, any help on this
-
@abubakar The exact value of the cross will be hard to get. But as a workaround you may loop back in order to find the candle where cross happened and take the lower value (buy condition) of the emas.
-
@trader-philipps
i want to thank you again for your support..
i solved the problem..
what i did is that i created an indicator that will show signal up/down and used it for the stoploss
its just like MA cross indicatorThank you very much..