if (Instrument.MasterInstrument.Name == "BANKNIFTY_I"
)
{
System.Windows.Forms.SendKeys.Send("^(+R)");
System.Windows.Forms.SendKeys.Send("{F5}");
Print(" "+Instrument.FullName+" "+Open[1]+" "+High[1]+" "+Low[1]+" "+Close[1]);
Print(" "+Instrument.FullName+" "+Open[0]+" "+High[0]+" "+Low[0]+" "+Close[0]);
}
Still faced the problems. Image attached.
Another issue is that even if historical data gets sorted for a moment, incoming tick at which order gets executed, if negative, has no filter
I can think of a few things to try now:
1. A Do...Loop function to refresh/reload until lowest low >0 - CAN A DO...LOOP BE CODED IN NT7?
2. OnMarketData()
if Last[0] <0
{
refresh/reload
}
3. Limit Order with Limit price being Last[0]
--
if this particular symbol was not that important i would have left it untouched. But somehow, it is very important. Data vendor is working on the issue too but unable to sort it till now.
Comment