Download MetaTrader 5

How do I get a stop loss to follow a sma

To add comments, please log in or register
Share your knowledge. Become a well-known developer!
lpfan540
35
lpfan540 2014.01.24 12:01 
How do I get a stop loss to follow a sma, new to mql4 and trying to figure this out
Keith Watford
Moderator
9601
Keith Watford 2014.01.24 12:37  
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