Trailing stop and timing issues.
-
I'm currently testing a crazy idea on Renko charts but i need a trailing stop that works in 2 phases.
My idea: Trade is open, SL is set at 11 pips from open price no TP.
1- (in case of buy) The stop moves from 11 pips from below to 2 pips above when the current price is 5 pips above the price that you buyed.
2- Trailing SL that only can go up 10 pips every 10 pips.
Also one more question, how do i set that only make an operetion every candle close. I tried testing the EA on demo live and it immediatly opens a trade.
-
You will need two structures for both conditions. The first one will need three blocks headed by a 'For each trade' on top. The second one can use a normal trailing stop block. You wil need to coordinate both of them properly so that the second will not interefere the first one.
On your last question, you will need a 'once per bar' block on top of the launching structure. That will not necessarily avoid that the the fisrt time you run the EA on the chart a trade will be immediately open if conditions are met.