Trailing Stop to start trailing based on ATR
-
I want to set Trailing Stop for all my existing trades (they were either opened using EA or manual) of different currency pairs.
I want start trailing SL once my trades have reached certain profit. The certain profit is 50% of the 4 hour chart ATR 25 value. I am trying to use the following block but I am not getting the desired results.
I also wonder do I need to enter the value for "Market" in the "Trailing Start section" Will it get the value of the Market depending which open trade it is trying to set the trailing for? Also I need to divide the value of the ATR result by the "Point" value for that Market to get the actual Pips of the ATR. How and where do I do this?

-
Hi - I know this is a little old but I have been doing a similar thing.
My recommendation is -- Create 2 Variables - e.g. ATR_Ref_Val & SL_In_Pips both of type double
- Modify/set in a block before the Trailing stop block as in the following
- Then use the SL_In_Pips variable in the Trailing settings

Modify ATR_Ref_Val to your ATR settings
then Modify SL_In_Pips using the FX Dreema function/method toPips(ATR_Ref_Val,CurrentSymbol())Then in your Trailing Stop you can use the variable SL_In_Pips as the Pips value
Hope that helps - it's how I am doing it
-
Thank you Sonric_Rich for taking the time to post that solution. It wasn't me that started this thread but your solution has really helped me. Thank you!
-
@sonric_rich thanks for helping. You have no idea how many post and threads I've read to find such a solution.
-
Thanks buddy. Stumbled on the post. Works Great!!!
-
@Sonric_Rich where can I find the fxdreema toPips Function??? I mean where can I read it and its formula?
-
The only way is open the block itself on the MT metaeditor. There is no way to do it within fxDreema.