I'm beginning the process of converting an indicator into a strategy.
Using the managed approach, I can successfully enter and exit via:
-EnterLong
-SetStopLoss or SetProfitTarget
In backtest mode I checked the time of the trades and noticed that I only enter at the start of the next bar. That leads me to believe after the beginning of the bar the order is inactive. I want it active until the end of that bar.
i.e. IF() conditions are met and Close[0] is complete. From the start of the next bar until it completes have the order remain open.
I read info on the managed approach but I don't grasp it how to do it.
How do I accomplish that?

Comment