Download MetaTrader 5

How do I get a stop loss to follow a sma

To add comments, please log in or register
lpfan540
35
lpfan540  
How do I get a stop loss to follow a sma, new to mql4 and trying to figure this out
Keith Watford
Moderator
10372
Keith Watford  
Use iMA to get the value of the sma and then use the value in an OrderModify() to modify the stoploss if applicable.
To add comments, please log in or register