Please note, we do not advise walking away from a running NinjaScript Strategy.
That said, as long as you are connected for real-time data (be it Kinetick or any other connection with real-time data for the instrument you are trading) and the strategy is enabled, it is ready to trade.
If orders are not being submitted, either the strategy is not running (possibly disabled due to an error), or the conditions to submit orders did not evaluate as true, or orders were submitted but ignored, cancelled, or rejected.
To understand what is occurring, it is necessary to debug by adding prints.
Please see the 'Debugging with the Strategy Builder' video linked on the guide linked below on using prints and TraceOrders to understand behavior.
TraceOrders should be enabled. The print should have the date and time of the bar, all values used in the condition, and should include labels for each value and comparison operator.
Please save the output to a text file (right-click the output window, select save as) and attach this to your next post and we will be happy to assist with analyzing the output.
Comment