[ad_1]
It’s best to set the magic quantity that your EA assigns to positions. If it would not, otherwise you open positions manually, otherwise you need to apply the Trailing Cease to all open positions whatever the quantity, then specify 0:
Opening situations will not be wanted, since we solely apply it to already open positions.
For any Trailing Cease the actual SL is to be set at a stage equal to the worth of the left a part of the primary comparability of the closing situation:
Trailing Cease by Excessive/Low of the earlier candle
Within the left a part of the primary and solely comparability of the closing situations, we set the extremes of the final closed candle (Low for closing Purchase and Excessive for closing Promote). The proper half is just not wanted, we solely set Empty in order that the closing situation doesn’t set off:
Trailing Cease by Parabolic SAR
The chart will need to have the TrendParabolic SAR indicator configured.
Within the left a part of the Purchase and Promote closing situations, choose the Parabolic SAR indicator on the present candle (0):
Trailing Cease by MA
The chart will need to have the TrendMoving Common indicator configured.
Within the left a part of the Purchase and Promote closing situations, choose the Shifting Common indicator on the final closed candle (1):
Trailing Cease by Fractals
The chart will need to have the Invoice WilliamsFractals indicator.
Within the left a part of the closing situations, choose the Fractals indicator and set the extremes on the third closed candle from the present one (Fractals Down to shut Purchase and Fractals As much as shut Promote):
P.S. Add the opening situations from right here to the Trailing Cease by Parabolic SAR, and you will get a full-fledged EA buying and selling on Parabolic SAR (template TrailParabolicSAR_EA.tpl):
[ad_2]
Supply hyperlink
Leave a Reply