I made a strategy with Strategy builder and it works. I can apply it to a chart, i can test it with strategy analizer, it gives entry and exit signals, etc.
The problem is when i try to change something in this strategy, again in Strategy builder, it will give error "Object reference not set to a instance of an object". Even if i only load it in the Strategy builder and press "Compile" it will produce the same error.
I opened the Ninja script editor and tried "Compile" - everything there works fine. But when i try to load the strategy from there it does not work as expected - i can not see the code, it sends me again to the strategy builder.
Meanwhile i can create new strategy in Strategy builder and it will compile normaly.
Any ideas what could be the problem? Attached is a video and the strategy.
https://www.youtube.com/watch?v=YYZ4rZ0sr2U
Regards
Comment