PDA

View Full Version : Will a strategy entry cause an ATM strat to work?


maxpi
11-08-2007, 07:04 PM
I want to run an automation strategy that enters on the first tick of a bar and after the order goes through I want an ATM strategy to put up the target and stops. Will an ATM do that or do they only work after a manual entry?

NinjaTrader_Ray
11-08-2007, 07:54 PM
A NinjaScript strategy that initiates an ATM strategy will do that. See the SampleAtmStrategy script via Tools > Edit NinjaScript > Strategy for a reference.

maxpi
11-09-2007, 06:33 AM
Thanks. I'm having a bit of trouble sorting all this out...

NinjaTrader_Josh
11-09-2007, 11:48 AM
The help file has a lot of information on how to use the various methods available too.

http://www.ninjatrader-support.com/HelpGuideV6/ASMStrategyCreate.html
http://www.ninjatrader-support.com/HelpGuideV6/AsmStrategyClose.html

Look at anything that starts with AtmStrategy...() and GetAtmStrategy...() in the index of the Help Guide.