I am implementing a multi time frame, multi instrument strategy in NT7 based on examples provided and the wealth of information on the forums. I have hit a road block and need some help please.
I work with a daily chart in which the strategy 'buy order' is generated on some logic in the daily chart, however I want to exit based on a trigger from a different instrument on a lower time frame such as 5 mins.
The behavior I am struggling with the strategy is that it doesn't execute ExitLong("", "") from the 5 min section of the code in (BarsInProgress==2) even though via printf I've confirmed the logic is triggered but ExitLong doesn't execute. I can exit on the daily just fine in BarsSInProgress==0 but the exit is time sensitive. Price changes quite a bit waiting for the next day.
Did I understand correctly from the posts in the forums that in historical data exits can only be made from BarsSInProgress==0?
Some help will be appreciated, thanks.
Comment