I have two strategies which are running in 5M timeframe in NT7. Both strategies are running at the same time and calculateonbarclose is set to false so they are running in real time at each new tick.
One strategy opens long positions and the other strategy has a similar logic but for short positions. For opening a position the decision is taken when the bar closes, so all the logic for opening a position is done when FirstTickofBar is true.
I have tested the strategies in backtest and both strategies open and close trades following the logic it is suposed to (of course in real time differ).
The problem comes when I perform both strategies in real time. It happens that just one of the strategies makes trades. The other strategy is enable but does nothing although the conditions are accomplished and it should trade.
I don't know what to do because it works in backtest but does not trade in real time.
Thank you,
Comment