DCParticipant
New
I am trying to execute a stop loss and target profit on execution of a trade.
The stop and target profit order only seem to appear on completion of the entry bar.
I want to have the stop / target profit in place immediately that is executed on the entry bar if the level is hit in the same bar.
Thanks
SET TARGET [p]PROFIT and SET STOP [p]LOSS both exit as soon as they are hit, not when the bar closes.
Code snippets to replace trailing stop DO are executed when a bar closes, instead. You can only use MTF support and a very low TF to try to minimize the effect.