And the code works fine in debugger: IndicoreSDK 2.3.1
- Code: Select all
indicator:requiredSource( core.Bar );
indicator:type( core.Indicator );
- Code: Select all
-----------------------------------
-- spread
-----------------------------------
if source:isBid() then
bidPrice = source;
askPrice = core.host:execute("getAskPrice");
else
askPrice = source;
bidPrice = core.host:execute("getBidPrice");
end
But any indicator with that chunk of code always fails with an unrecoverable error when testing/debugging with the latest debuggers: IndicoreSDK 3.0.1 and IndicoreSDK 3.1.0
ERROR " Command is not supported" in file
Debug session is finished
Is that code deprecated? Or will the debugger get fixed?
Thanks