Is it possible to set multiple trailing stops for the next bar?
For example,
If the profit gets to 100, the trailing stop woul be 30%
If the proft gets to 200, the trailing stop would be 20%.
And so on.
HR
[PL/EL] How to use multiple level of Trailing Stops?
-
- Posts: 117
- Joined: 08 Nov 2005
- Been thanked: 3 times
Re: [PL/EL] How to use multiple level of Trailing Stops?
try thisIs it possible to set multiple trailing stops for the next bar?
For example,
If the profit gets to 100, the trailing stop woul be 30%
If the proft gets to 200, the trailing stop would be 20%.
And so on.
HR
if positionprofit > 100 and positionprofit < 200 then sell ("tralling 30%") next bars avgentryprice+positionprofit*0.30 stop;
if positionprofit > 200 then sell ("tralling 20%")next bars avgentryprice+positionprofit*0.20 stop;
Jo