MA cross + retest
-
Kindly help me how do I make my ma cross ea
place a trade when there is a retest of the areaexample ma 1 cross 2
but dont want the bot to place trade until it retest the cross area again...tags:
@ambrogio @roar @l-andorrĂ -
You need something to trigger the trade. You can use RSI, MFI, ADX, STOCH, even MA itself. Try to figure out.
-
lemme show example

-
-
yes I know, how do I achieve this
-
@fx_boy when the cross happens > set flag true
then in another path > check flag true> add your condition -
@ambrogio my issue is how do i condition the retest???
-
@fx_boy when you check the flag = true you can put a condition like ......price x> MA
-
@ambrogio
Okay thanks boss -
@ambrogio said in MA cross + retest:
@fx_boy when the cross happens > set flag true
then in another path > check flag true> add your condition@fx_boy sorry, i forgot : when the opposite cross condition happens you have to set flag to false (otherwise it remain always true)