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?)

NT is so pwoerful, and there should be some way (theoretically there is, but only for them who is perfect in internals of NT) to achieve what I described... :/ could be there feature vote? i know it doesnt have any meaning, but for the sake of anything, lets submit my request.. might happen if in 5 years will be implemented.
Comment