PDA

View Full Version : Using AtmStrategyChangeStopTarget before strategy is active


theperm
05-15-2007, 03:15 PM
I want to create an ATM strategy and modify its STOP1 and TARGET1 imediately so all i need to use is a single template and my code can customise the stop and targets.

When i use AtmStrategyChangeStopTarget right after AtmStrategyCreate (and before entry has been filled) i do not get the desired effect when the entry is filled as it uses the params from origianl template. Should i assume these methods only work when an ATM is live? Or is this an oversight?

NinjaTrader_Ray
05-15-2007, 04:39 PM
Correct, will only work once live and the entry has been filled and the stop and targets have been submitted.

theperm
05-16-2007, 03:32 AM
It would be really powerful if we could modify beforehand like i want to. What are the chances of having that implemented?

NinjaTrader_Ray
05-16-2007, 07:00 AM
I will add this to our list for future consideration.