Hi,
Today I share with you a new EA that I have developed that move the SL at a fixed distance from a moving average.
The default values correspond to the EMA 8 and the SL will always be to a default distance of 10 pips.
parameters:
MA (Default 8)
OFFSET (Default 0)
METHOD (0:sma, 1:ema, 2:smma, 3:lwma)
APPLY_TO (0:close, 1:open, 2:high, 3:low, 4:median, 5:typical, 6:weighted)
TF (Time Frame in minutes to calculate Moving Average)
DISTANCE (Distance of SL in pips from MA)
With this tool you can rest assured that if the price (EMA 1) is returned and crosses the EMA 8, the order will be closed for SL, for or against.
You can continue running the order manually, ie, close the order when you want or stop EA when you want. The only thing EA does is move the SL by the MA.
I welcome your comments.
Note: you must open the order as it does now, manually. EA then it does is move the SL at a distance from the MA, either up or down, as she moves.
Today I share with you a new EA that I have developed that move the SL at a fixed distance from a moving average.
The default values correspond to the EMA 8 and the SL will always be to a default distance of 10 pips.
parameters:
MA (Default 8)
OFFSET (Default 0)
METHOD (0:sma, 1:ema, 2:smma, 3:lwma)
APPLY_TO (0:close, 1:open, 2:high, 3:low, 4:median, 5:typical, 6:weighted)
TF (Time Frame in minutes to calculate Moving Average)
DISTANCE (Distance of SL in pips from MA)
With this tool you can rest assured that if the price (EMA 1) is returned and crosses the EMA 8, the order will be closed for SL, for or against.
You can continue running the order manually, ie, close the order when you want or stop EA when you want. The only thing EA does is move the SL by the MA.
I welcome your comments.
Note: you must open the order as it does now, manually. EA then it does is move the SL at a distance from the MA, either up or down, as she moves.
Attached File(s)
MA_TS.ex4
4 KB
|
394 downloads
Enter Signature