Trailing stop issues
-
Could anyone identify what is wrong with my trailing stop configuration. The goal is to trail by x% of profit (trailing stop) once price reaches x% of balance (trailing start) it seems to be an issue with the trailing start here. https://fxdreema.com/shared/bA5VH4Z4d
-
The issue here is that your offset is looking for a price value and you are giving it a profit value: It's expecting a value like, $1.53, and you're sending $250 or something like that.
When do you want to trailing stop to start? I typically set mine up to be at a % of the stop loss. So, if I'm risking 1% of my account per trade, my SL represents that 1%, and I want my trailing stop to kick in when I'm 150% away from my stop loss, or 1.5 risk to reward.
-
Trailing start is based off of this formula. I intended for it to be based off profit being a certain percentage

-
Seems like you could do this with a check profit (unrealized) block and when that condition is true, you enable the trailing stop.
-
I have a check profit block prepared for a different instance as well however it does not trail like this one would so it doesn't fulfill my need
-
Your trailing stop does not work because you are not giving it accurate information. You need to change the offset parameter to be a price value, not a profit value.
-
how can i do this. I actually want the value to be aa profit value are there steps/formula to make this a price value?
-
@l-andorrà @jstap any suggestions for thiis? you guys are always helpful also
-
I gave you a suggestion earlier. Have a block that checks to see if your equity is at a percent that you want. If that is true, then you enable the trailing stop.
-
Isn't that what the trailing stop block is for as i have it programmed. if u have recommendation of how to set it up your way could edit the current logic to reflect. because If i use the previous suggestion to use check profit it will only move trailing stop once
-
@cmuphyfx I now understand your logic. Applied the check profit blocked as you suggested and it produced the desired effect on visual tester. Hopefully it will work live as well unlike my previous model. Thanks!