SubscribeMarketData
UnsubscribeMarketData
MarketData
My indicator calls SubscribeMarketData then it calls the wrapper for MaketData passing the 0,1,2 for bid/ask/last.
As soon as I load the indicator the whole tradestation freezes and I have to restart. I know the problem is in marketdata because when I comment/uncomment the problem shows/disappear.
My MaketData is as follows:
DefineDLLFunc: "NtDirect.dll", int, "MarketData", lpstr, double;
inputs: PriceType(numericsimple);
NTMarketData = MarketData(GetSymbolName, PriceType);
Thanks,
Moscu
Comment