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 04-10-2008, 09:02 AM   #1
tecmisc1
Junior Member
 
Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Sample ATM strategy resets on position close

I'm working with the sample ATM strategy, because I want to develop a strategy with automated entries, then manage the position myself.
If I have a DOM open and start the sample strategy, it will enter a position, and I can adjust target & stops from the DOM.
However, if I close my position from the DOM, the sample ATM strategy will terminate.

So my questions are:
1) Shouldn't I be able to close the ATM position from the DOM and the strategy keeps running?

2) What do I need to do to see the ATM executions on the chart? (The DOM shows my position, but nothing is on the chart)

3) If the strategy stops in the control panel and I click the 'start' button, it tells that I can't stop a terminated strategy. So, what purpose does the start button serve?
tecmisc1 is offline  
Reply With Quote
Old 04-10-2008, 09:08 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
Default

1) Read the following - http://www.ninjatrader-support.com/H...trategies.html

2) They will show up on a chart that does not have a NinjaScript strategy and if plot execution is enabled under Chart Properties

3) When you create a strategy in that tab, you can then wait to press Start.
NinjaTrader_Ray is offline  
Reply With Quote
Reply

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
Strategy order with name "Close Position" ThePatientOne Strategy Development 30 09-03-2010 12:16 PM
Forcing a position to close Edgar V. General Programming 1 04-02-2008 04:42 PM
How does Ninja Close a Position. richa61416 Strategy Analyzer 3 10-28-2007 10:26 PM
Converting the Sample ATM Strategy daven Automated Trading 9 09-21-2007 09:04 AM
Open position on close down andrewedmondson ATM Strategies (Discretionary Trading) 3 10-05-2005 07:02 AM


All times are GMT -6. The time now is 03:37 AM.