NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 09-22-2010, 06:37 AM   #1
kiriru
Junior Member
 
Join Date: Apr 2010
Location: Tokyo
Posts: 21
Thanks: 0
Thanked 0 times in 0 posts
Cool ATM Strategy in Ninjascript

Hello
I am adopting the below to create an ATMstrategy:

AtmStrategyCreate(Cbi.OrderAction.Sell, OrderType.Market, 0, 0, TimeInForce.Day, orderId, "CLTemplate", atmStrategyId);

Now my order should be at market (current price). Since I am using 0, would my stop be placed at the current price or per the CLTemplate settings?

Regards,
Kiriru
kiriru is offline  
Reply With Quote
Old 09-22-2010, 06:57 AM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,499
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Thank you for your forum post.

It will be placed at the ATM Strategy Designated stop price. As this is only here if you are placing a stop order as your entry order and not a market order for entry.

Let me know if I can be of further assistance.
NinjaTrader_Brett is offline  
Reply With Quote
Old 09-23-2010, 05:38 AM   #3
kiriru
Junior Member
 
Join Date: Apr 2010
Location: Tokyo
Posts: 21
Thanks: 0
Thanked 0 times in 0 posts
Default

Brett,
Thanks for the clarification.
Regards,
Kiriru
kiriru is offline  
Reply With Quote
Reply

Tags
atm strategy, atmstrategycreate()

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling an ATM Strategy Within NinjaScript Jim-Boulder Strategy Development 5 08-26-2010 02:54 AM
Combining ATM Strategy and Ninjascript Mickslash Automated Trading 5 07-06-2010 10:45 AM
ATM strategy in ninjascript? zweistein Suggestions And Feedback 3 02-19-2009 08:49 AM
Manual ATM Strategy vs. NinjaScript ATM Calls snaphook ATM Strategies (Discretionary Trading) 7 01-07-2009 02:28 PM
ATM strategy with NinjaScript John833 Strategy Development 2 08-24-2008 12:31 PM


All times are GMT -6. The time now is 05:40 AM.