NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > ATM Strategies (Discretionary Trading)

ATM Strategies (Discretionary Trading) Support for Advanced Trade Management, AutoTrail, AutoBreakeven, Stop Strategy and Simulated Stops etc...

Reply
 
Thread Tools Display Modes
Old 11-22-2007, 08:37 PM   #1
thepcmd
Member
 
Join Date: Nov 2006
Location: , ,
Posts: 46
Thanks: 3
Thanked 0 times in 0 posts
Default Strategy wizard & existing ATM Strategy

Support,

I have created a few ATM Stratagies in my SuperDOM and use them to place my trades and have the trade managed by the DOM (ie profit, stops & breakeven stop strategy). I would like to be able to call those existing ATM Strategies when I am creating a trading strategy using your Strategy wizard. I know this can be done by hard coding but I have little coding experience and I want to test my strategies with my preferred order management especially while I am testing a new strategy.

Is there any plans for the Strategy Wizard to be able to call an existing ATM strategy that I have created in the SuperDOM?
thepcmd is offline  
Reply With Quote
Old 11-22-2007, 10:27 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

There currently is no way to accomplish this in the Strategy Wizard. I am unsure of the plans for implementing this, but will forward to development.
NinjaTrader_Josh is offline  
Reply With Quote
Old 11-23-2007, 07:02 AM   #3
thepcmd
Member
 
Join Date: Nov 2006
Location: , ,
Posts: 46
Thanks: 3
Thanked 0 times in 0 posts
Default

OK, I understand the availability. Is there a way in the strategy wizard to move a stop after the trade has advanced. Let's say that once the trade moves 5 ticks in the direction of the trade, I want the stop to be moved to my entry. Can that be accomplished in the wizard?
thepcmd is offline  
Reply With Quote
Old 11-23-2007, 07:26 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Yes, this can be accomplished in the wizard.
NinjaTrader_Ray is offline  
Reply With Quote
Old 11-23-2007, 07:54 AM   #5
thepcmd
Member
 
Join Date: Nov 2006
Location: , ,
Posts: 46
Thanks: 3
Thanked 0 times in 0 posts
Default

I have looked through the online manual and I cannot find an example of how to accomplish this 'breakeven stop'. Have I overlooked an example in the Online manual. Can you direct me to the appropriate section of the manual or to an example on how to accomplish this task. thanks
thepcmd is offline  
Reply With Quote
Old 11-23-2007, 08:29 AM   #6
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

There are millions of variations that can be programmed using the wizard and unfortunately we can not provide examples for all of them.

Here are some tips -

- Create a condition that checks for open position and submits stop exit stop order
- Create a conditino that checks for X in strategy PnL and once at 5 ticks, modify price of the stop order to the strategy avg price
NinjaTrader_Ray is offline  
Reply With Quote
Old 01-30-2008, 06:32 AM   #7
rickf
Junior Member
 
Join Date: Jan 2008
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default

I would agree with the previous poster -- having some way to include a GUI version of the AutoTrail and/or AutoBreakeven functionality would be *extremely* helpful to those of us who use the Strategy Wizard instead of scripting stuff "by hand." After all, that's part of what makes a 'good' strategy is having the right exit points!

NT folks, please add some aspect of these functions to your next update of the Strategy Wizard? Pretty Please?

Thanks in advance
rickf is offline  
Reply With Quote
Old 01-30-2008, 07:33 AM   #8
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Thanks for your suggestion. We'll add it to the list of future considerations.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 03-29-2008, 02:33 PM   #9
Elliott Wave
Senior Member
 
Join Date: Mar 2008
Posts: 731
Thanks: 0
Thanked 1 time in 1 post
Default

I would also really like to see this too.

The ATM strategies are too powerful left out of the strategy wizard.

It would be awesome to be able to select ATM strategies in the stop loss/profit target portion of the strategy builder....


Elliott Wave is offline  
Reply With Quote
Old 05-16-2008, 03:55 AM   #10
verge
Member
 
Join Date: Nov 2006
Location: , ,
Posts: 88
Thanks: 2
Thanked 0 times in 0 posts
Default Would also like to see source code for ATM strategy

I would also like to see this - but maybe in a slightly different way.

I think it would be difficult to access and ATM strategy in the strategy builder - if it is easy then great.

I would like to suggest the following - which may be easier for NinjaTrader to implement.

What is required is the ability to view the source code of an ATM strategy. After you have constructed the ATM strategy you want all that is required is for the system to display the code - which it is using in the background already. It could then be pasted and changed in the strategy editor.
verge is offline  
Reply With Quote
Old 05-16-2008, 04:35 AM   #11
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Unfortunately we won't publish the ATM source code.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 05-16-2008, 05:58 AM   #12
verge
Member
 
Join Date: Nov 2006
Location: , ,
Posts: 88
Thanks: 2
Thanked 0 times in 0 posts
Default what I actually meant

Quote:
Originally Posted by NinjaTrader_Dierk View Post
Unfortunately we won't publish the ATM source code.
I did not say what I wanted to say correctly - the source code of an ATM strategy is not required.

I my humble opinion Ninjatrader is a great trade management tool (using ATM strategies). I think it will be even greater if ATM strategies constructed using the DOM could be easily linked in to ninjascript strategies. I have looked at at the ATM strategy methods and event driven programming and have the following questions:

1) using ATM strategy methods in ninjascipt
The benefit of using ATM strategy methods in Ninjascript is that the you can "manually manage the resulting open position via an ATM Strategy in one of Ninja Trader's order entry windows" (quote from help file). Does this mean that you still have to be in front of your computer when a position is opened to attach an ATM strategy.

2) It is not possible to constructs an ATM strategy (with profit targets, stop losses and all), save the ATM strategy and then call the ATM strategy from within a Ninjascript strategy?

3) Please add an overview section to the "ATMStrategy Methods" section in the help file. Most of the sections start with an overview section except same.

4) Assuming I am correct that a complete ATM strategy cannot be referenced from within a Ninjascript strategy as described above the only thing that could be used is "event driven programming" to provide what an ATM strategy would. Is there another way I don't know of.

5) Please provide a link to a reference sample of how to use ATMStrategy methods in Ninjascript is available

Sorry for the long post but I do believe all of the above is related.

TIA
verge is offline  
Reply With Quote
Old 05-16-2008, 07:15 AM   #13
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

1) No, however we don't ever advise not being near your computer when its running automated strategies

2) Correct, ATM strategy templates must already exist (manually created)

3) Thanks for the suggestion

4) No other way

5) The only sample we have installs with NT called SampleATMStrategy, you can view the source via Tools > Edit NinjaScript > Strategy
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 Wizard latkinso Automated Trading 3 06-22-2007 11:25 AM
Problems adding contracts to existing position/strategy Ouiji Miscellaneous Support 1 05-10-2007 02:10 PM
Using the Wizard to Incorporate an Existing ATM Strategy coop7 General Programming 1 03-30-2007 03:48 AM
Strategy Wizard Brody Strategy Development 3 02-06-2007 08:53 AM
add stop strategy to existing trade bmaltz Automated Trading 5 11-30-2006 04:07 AM


All times are GMT -6. The time now is 02:11 PM.