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 10-22-2008, 05:17 AM   #1
cicondo
Member
 
Join Date: Oct 2007
Posts: 49
Thanks: 0
Thanked 0 times in 0 posts
Default Combining ATM and NinjaScript

Hello everbody!

Is it possible to initiate a trade via ATM strategy and handle the trade within NinjaScript?
e.g I like to place a order which will be splitted in two targets. The first one will be executed via ATM and the rest of the portion I like to trail with different algorithms.

Thanks for your advice
Markus
cicondo is offline  
Reply With Quote
Old 10-22-2008, 05:27 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
Default

Please see the following link for more information regarding NinjaScript and ATM strategies.
http://www.ninjatrader-support.com/H...trategies.html
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-12-2008, 04:59 PM   #3
djohnsonhot
Member
 
Join Date: Oct 2008
Posts: 30
Thanks: 0
Thanked 0 times in 0 posts
Exclamation ATM Strategies Executed by Ninjascript

I clicked on the link that the Ninja guy posted and it DOES NOT include a link to show me how to:

1. Create a Ninjascript (done - - EMA Crossover with a Order Entry script included. AND THEN:

2. Have the DOM (chart entry) execute my standard two stage trailing stop loss with targets and stops and so on.

I have tried it and there is no way that I can learn how to do this. Can anyone send me to a specific page, please!

Dave
djohnsonhot is offline  
Reply With Quote
Old 11-13-2008, 03:12 AM   #4
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
Default

Hello Dave,

Unfortunately NinjaScript strategies cannot be initiated using the SuperDOM. Please see the links below to run NinjaScript strategies from a chart or the Strategy-tab.

Chart:
http://www.ninjatrader-support.com/H...romAChart.html

Strategy-tab:
http://www.ninjatrader-support.com/H...tegiesTab.html
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-13-2008, 06:41 AM   #5
djohnsonhot
Member
 
Join Date: Oct 2008
Posts: 30
Thanks: 0
Thanked 0 times in 0 posts
Default Not Using DOM

I may not have been clear. I am running a strategy I created from Ninjascript editor (the step by step one). It's a simple crossover EMA alert and auto-trade strategy.

It works as I use Chart Trader. The orders go in (long or short) but the ATM Strategy in the sidebar of Chart Trader is not being invoked. If I trade myself, with my Strategy NOT started, but my ATM strategy ON, then of course, I enter an order by right clicking and my stop-loss scheme is automatically put on the chart and I can see the targets, stops and trailing stops working perfectly.

Again, when I use my Ninjascript strategy, the stop-loss strategy in chart trader does not work even though I have it ON (selected) in Chart Trader set-up screen to the right of my chart where the BUY, SELL, Close buttons are located. The setup utility is below those buttons.
djohnsonhot is offline  
Reply With Quote
Old 11-13-2008, 06:54 AM   #6
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
Default

I see, unfortunately this is as expected. It is not supported to use ATM strategies selected in ChartTrader while running an automated NinjaScript strategy.

You can use ATM functions in the automated strategy itself. Please see the link posted in post #2 for more information.
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-13-2008, 08:25 AM   #7
Fecdzo
Junior Member
 
Join Date: Feb 2008
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
Default ATM+backtesting?

Will it be possible in the near future to have an ATM strategy run in a backtest with a ninjascript strategy built with the wizard or manually?

As far as I know it is possible to run such strategies live but it is not possible to backtest.

This would be an awesome feature and could be programmed very very easily and separetly. (each has a very good wizard)
Fecdzo is offline  
Reply With Quote
Old 11-13-2008, 08:35 AM   #8
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
Default

Hello Fecdzo,

I will forward your inquiry to our development team and ask them if they can add this to the list of future considerations for the software.

Thank you for your feedback.
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-13-2008, 08:51 AM   #9
Fecdzo
Junior Member
 
Join Date: Feb 2008
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
Default

Your future considerations might be quite long...how do you dicide wich suggestions will be implanted?
Fecdzo is offline  
Reply With Quote
Old 11-13-2008, 09:00 AM   #10
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, our list is long. Unfortunatley I can't explain how decisions are made but I can say that there are many factors involved.
NinjaTrader_Ray is offline  
Reply With Quote
Old 11-13-2008, 10:44 AM   #11
Fecdzo
Junior Member
 
Join Date: Feb 2008
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
Default

Is it possible to tell what new features will be included in the upcoming version if any?
Fecdzo is offline  
Reply With Quote
Old 11-13-2008, 10:58 AM   #12
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

This information will be released once we release beta to the public.
NinjaTrader_Ray is offline  
Reply With Quote
Old 11-28-2008, 11:23 AM   #13
webart
Member
 
Join Date: Aug 2008
Posts: 72
Thanks: 0
Thanked 0 times in 0 posts
Default

When I combine my strategy with an ATM, I am getting multiple entries during the time my conditions are true.

Without the ATM call, the script seems respects,

Position.MarketPosition != MarketPosition.Short

and that stops positions being added, but it dosn't work when I call an ATM.

How can I stop positions being added when I call an ATM strategy from my script ?

thx.
webart is offline  
Reply With Quote
Old 11-28-2008, 12:48 PM   #14
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

Position.MarketPosition is for a NinjaScript position, not an ATM position. You want to use the ATM methods to limit trading.

http://www.ninjatrader-support.com/H...yPosition.html
NinjaTrader_Josh is offline  
Reply With Quote
Old 02-19-2009, 05:16 AM   #15
samuelhogg
Member
 
Join Date: Nov 2008
Posts: 59
Thanks: 0
Thanked 0 times in 0 posts
Default

I have an ATM template that I have saved and use from the DOM, I am sure I have read somewhere that I can use that template in a strategy by calling on it. Is that correct?

I have done searches but I just can't find anything on this.
samuelhogg 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
Combining Data Feeds daven Charting 7 10-02-2008 03:58 PM
Combining Strategies richa61416 Strategy Analyzer 1 08-10-2008 08:17 AM
combining strategies and ATMs ohowie Strategy Development 8 03-03-2008 10:04 PM
error combining ema with an integer Thomas Strategy Development 3 08-16-2007 05:40 AM
Combining B/E and Trailing Stops uptick ATM Strategies (Discretionary Trading) 1 07-01-2006 09:56 AM


All times are GMT -6. The time now is 04:35 PM.