Thanks Vonasi, so it will be happen on the next bar unless it is a stop. I see 2 option based on your reply:
Add a stop: Can I add the exit/stop as a moving exit (not trailing since i dont want to be limited by the minimum distance required by IG/guaranteed stop)?
for example: the LongExit is calculated based on an event (EventTrigger). This normally happens multiple times after I go long, so multiple times the Long Exit will change and it will be near the price.
SET orders are placed on the market at the open of a candle and remain there until cancelled or their distance is changed by another SET order or until they are hit by price.
Pending STOP and LIMIT orders have to be placed at the close of every bar (and are applied at the open of the next bar) because they last for one bar only.
Multi time frame allows you to make decisions on say a 1 hour time frame but then control the trade on say a 1 minute time frame so you can adjust your orders regularly at the close of every minute throughout the hour candle. Using MTF does however limit the data available to back test on as faster time frames cover a shorter period for the same number of bars.
Plenty more elaboration on MTF in the sticky topic about it:
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue