Understanding the mechanics of this trailing stop Block
-
So I'm trying to understand how this trailing stop block is working. As far as I was aware, I thought I understood trailing stops but the EA is behaving not the way I anticipated it would in backtests but then ALSO in real demo trading (so I'm puzzled). Anyway, here are my settings. I have a hard stop of 12 pips already set when I buy or sell. But then my trailing stoploss is 8 pips. I have a trailing step of 4.9 pips. And I do have trailing start Turned on but it is set to zero pips so should start right away. So what I expected when the trade opened was since trailing start is set to zero, the trailing stoploss would kick on pretty much right away and adjust the stop to 8 pips back from the open price rather than 12 pips back. And then every 4.9 pips it moves into profit it would move the 8 pip trailing stoploss move 4.9 pips forward with the profitable trade direction. But it doesn't exactly happen like this.
Instead, the trailing stoploss does start right away BUT instead of moving to 8 pips stoploss it moves it to 7.1 pip stoploss. And then of course moves by 4.9 pips every 4.9 pip move into profit. Why 7.1 pips? I then realized 12 pips - 4.9 is 7.1 pip. So basically it is ignoring the 8 pip trailing stop setting and just right away moving the stoploss at 12 pips by 4.9 pips to 7.1 pips stop even though the trade just started. Makes no sense to me. Can someone explain why that is happening based on the settings I have. I'm not doing anything else with the SL, otherwise.
-
@kizerage212 Can you please share your project to take a llok at it?