i have two related question regarding auto live trading through ninja script in ninja 7
If I attach a live strategy, for example when one sma crossabove another than buy, I want it to be executed when the condition happens after I start running the strategy. So after I attached a strategy, the initial position is always flat regardless how many crossovers may have occurred before I attach my strategy. Is this the default setting for ninja trader7?
Also, if I set the strategy as one order per direction, when an order is filled, there should be no entries before the exit of the first entry even if the entry condition is satisfied. However, if the first entry is still there after I shut down the program. When I restart ninja trader the next day, will it automatically recognize that the position is not flat and therefore won’t enter the market unless the position become flat?
thanks in advance!

Comment