How it is possible through ninjascript, if there happens my predefined condition, i want to only change profitTarget to 50 ticks (or even cancel that).
I couldnt find the needed methods to modify the attached parts of AtmStrategy... how to do that (i.e. using https://ninjatrader.com/support/help...entryorder.htm or https://ninjatrader.com/support/help...entryorder.htm , i am not sure).
Any help appreciated.
(p.s. also when order-events I get the ATM id (i.e. 123055295) and while order is open, I put that id into sample strategy manually and attach to chart, I always get :
'GetAtmStrategyUnrealizedProfitLoss' method error: ATM strategy ID '123055295' does not exist . however, that ATM strategy order still open. So, how can i get the ID's reliably?)
Comment