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 > NinjaScript Development Support > Strategy Development

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

Reply
 
Thread Tools Display Modes
Old 01-13-2007, 12:11 AM   #1
gregw
Junior Member
 
Join Date: Dec 2004
Location: montreal, Quebec, Canada
Posts: 26
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Hi,
I created my first trading system using the strategy wizard V6 B5, entering the trade conditions was pretty straight forward.
But I would like to use an existing ASM to exit the trade, is there a way to do this.

It seems that if I wanted to create the strategy management in the wizard, things like multiple targets, stops, and trailing stops, this would require much more programming than the actual entry parameters.
Since the management already exists in an ASM, canI use it with the wizard.

Thanks

Greg
gregw is offline  
Reply With Quote
Old 01-13-2007, 02:35 AM   #2
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
Post imported post

This is not possible via the wizard, only through direct programming.

Ray
NinjaTrader_Ray is offline  
Reply With Quote
Old 01-24-2007, 08:17 AM   #3
BradB
Senior Member
 
Join Date: Jan 2007
Location: , ,
Posts: 180
Thanks: 0
Thanked 1 time in 1 post
Post imported post

I'm not sure I understand this. You can reference an existing ASM from within Ninjascript, or you are saying you can replicate it by coding it manually?
BradB is offline  
Reply With Quote
Old 01-24-2007, 09:30 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
Post imported post

Within NinjaScript, there are methods that allow you to place an order which executes an ASM strategy that can then be managed manually or, programmatically.

Please see the ASM methods under the Help Guide. The next beta update will have revamped methods for managing ASM strategies from within NinjaScript.


Ray
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


All times are GMT -6. The time now is 06:08 AM.