I have developed a strategy which I am using as a semi-automated trade execution system, almost like an advanced ATM Strategy.
I only enable my strategy when I have identified that the correct market conditions exist i.e. I may only enable my strategy for part of the trading session, not leave it running autonomously throughout the full trading session.
Within this strategy there are two conditions which will provide a signal bar, the strategy then structures the trade in accordance with my risk management plan embedded in my strategy.
The issue I have is that say I enable my strategy at 11:30am, if the signal bar has occurred at say 11am prior to me enabling the strategy then the strategy would assume that I am already in a trade and my position is not flat. If a second signal bar occurs shortly after I have enabled the strategy at say 11:45am then the strategy will not place the trade as it will take the historical trade position and not the live condition.
Is there a way to override the historical condition with the strategy assuming the next signal bar is a valid signal irrespective of if the historical position is flat or not?
Thanks,
Neil

Comment