Download MetaTrader 5

Help TS MA

To add comments, please log in or register
helpmql
30
helpmql  
Hello I have a problem with the TS. the closing of the position, the TS should not open another position until the two moving averages are not touching. How can I do ? Thanks for your help
Marco vd Heijden
Moderator
5921
Marco vd Heijden  
helpmql:
Hello I have a problem with the TS. the closing of the position, the TS should not open another position until the two moving averages are not touching. How can I do ? Thanks for your help

Set a flag and raise it once the order is opened, no more orders can be opened if the flag is raised.

When the two moving averages cross, lower the flag and orders can be placed again.

To add comments, please log in or register