I have a strategy coded in NinjaTrader as below:
protectedoverridevoid OnBarUpdate()
{
if(Historical)
{
if(Low[1]>=value1 && High[1]<value2 && Low[0]<=value3)
{
EnterLong("MD_348_002");
}
}
}
NB:value1,value2 and value3 are my variables
The strategy working fine. But the entry date shown in trade report is the next day of the entry date expected.
Can anyone help me??? I need to fix it urgently...
Comment