Previous Bar Trailing Stop

 

Hi, has anyone a trailing stop EA which moves the stop to the previous bar's low/high?

Thank you!!

 

...

Try this out

It has some extra options, but the trailing stops should be set to the high or the low of the bar you choose (the HighLowBar is the bar you wish to use for highs and lows)

 

great, thank you!!!

 
mladen:
Try this out It has some extra options, but the trailing stops should be set to the high or the low of the bar you choose (the HighLowBar is the bar you wish to use for highs and lows)

Thank you for your kindness, but I wonder how does it work?

If you wish, if I can add code to pendingorder opposite?

Suppose, which is ditrailing Buy it will run pending sell orders at that point sama.jadi when the Order is closed it will open the order counter ..

Thank you if you help.

 
mladen:
Try this out It has some extra options, but the trailing stops should be set to the high or the low of the bar you choose (the HighLowBar is the bar you wish to use for highs and lows)

Very good and simple ea, thank you mladen.

Can somone help to add Partial close function when profit fix pip? ex: profit 10pip, then close 60% position.

Thank you!

 

Can anybody make an extra option to this great EA so one can choose the distance to stop from the high low? For example that you can have the stop trailing 5 pips below or above the high and low.

 
zktier:
Can anybody make an extra option to this great EA so one can choose the distance to stop from the high low? For example that you can have the stop trailing 5 pips below or above the high and low.

Try it out now

Added HighLowDisplacePips parameter. It can be positive or negative. If it is positive the displacement will be low+displace and high-displace and if it is negative it will be low-displace and high+displace

 
mladen:
Try it out now Added HighLowDisplacePips parameter. It can be positive or negative. If it is positive the displacement will be low+displace and high-displace and if it is negative it will be low-displace and high+displace

It works like a charm! You are a genius! Thank you very much for the help.

Cheers

 
mladen:
Try it out now Added HighLowDisplacePips parameter. It can be positive or negative. If it is positive the displacement will be low+displace and high-displace and if it is negative it will be low-displace and high+displace

Hello mladen ,

Can you update this ea to nmc ?

 
stevenpun:
Hello mladen , Can you update this ea to nmc ?

stevenpun

Here is the new mt4 compatible version : high_low_trailing_stop_1.01_nmc.mq4

 
mladen:
stevenpun Here is the new mt4 compatible version : high_low_trailing_stop_1.01_nmc.mq4

You are so fast , thank you very much

Reason: