HOW TO SET CLOSING MOVING AVERAGES: just for closing trades only
-
Hi I'm trying to set an EA which opens buying trades with 13 and 26 MA conditions set and close trades with different MA's in (16 and 29 condition set).
THE PROBLEM IT KEEPS ON GOING IT NOT CLOSING AT ALL IT PASSES THROUGH 16 AND 29 CONDITION SET WHICH SURPOSE TO ACT BY CLOSING IT BUT NOTHING HAPPENS. #PLEASE HELP
-
You need to disconnect blocks 16 and 29 from its current position. Closing conditions need to be saparated from buy/sell trades. Use a 'For each trade' block on a different tree and then connect there the closing conditions.
-
-
@fxamoneymaker
Good day .
Dis you manage to fix this issue .
I am having the same challenge and did what "l'andorrà" in the answers , but I am still struggling..
Can you assist pls ?Pieter
-
@pieterj30 Can you please share the link to your project?
-
-
@pieterj30 said in HOW TO SET CLOSING MOVING AVERAGES: just for closing trades only:
Good day ..
I uploaded . I will appreciate if you can advice me..
Despite the settings in the conditions it just opens and closes continueasly . Although the first trade/ close was executed correctly as it looks.
Thanks again
Pieter
-
-
-
place once per bar block in there under time filters
in if trade and close trades i would specify sells only.
keep timeframes the same unless you want it that way.
otherwise should work -
@pieterj30 Max c is right. You need to add a 'once per bar' block on top of the left block tree.
