I'm new at the programming at nt8 and I success to built some strategies with a big help from you.
I have a problem: I built a strategy that check the first 4 bars of session and it's need to get long.
When I run backtest everything was fine, when I check it on real time then I got no trades (few stocks should get the trade).
what am I doing wrong?
I really hope you can help me, I didn't sleep for two days....
this is a part of the code:
**I check the open of this day and the close of last day
**time frame is minute
private PriorDayOHLC priorDayClose;
BarsRequiredToTrade = 1;
priorDayClose = PriorDayOHLC();
//part of the logic
if (Bars.BarsSinceNewTradingDay == 3 && (Open[3] > priorDayClose.PriorClose[0] )
//entry
EnterLongLimit(250,GetCurrentBid());
Comment