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-24-2008, 08:26 AM   #1
edgeliner
Senior Member
 
Join Date: Oct 2007
Location: Southy Florida
Posts: 263
Thanks: 16
Thanked 1 time in 1 post
Default Exits when it shouldn't?

If my strategy submits an exitlong order if the 10 period WMA crosses above the 5m period WMA, why did it exit at 1.9605 in the attached image?
Attached Images
File Type: jpg Why.jpg (92.3 KB, 12 views)
edgeliner is offline  
Reply With Quote
Old 01-24-2008, 08:50 AM   #2
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

You would need to debug your strategy in order to understand why orders are placed at what prices:
http://www.ninjatrader-support.com/v...ead.php?t=3627
http://www.ninjatrader-support.com/v...ead.php?t=3418
NinjaTrader_Dierk is offline  
Reply With Quote
Old 01-24-2008, 02:44 PM   #3
zoltran
Senior Member
 
Join Date: Nov 2005
Location: , Ontario, Canada
Posts: 400
Thanks: 0
Thanked 0 times in 0 posts
Default

edge .. looks like you have a trailing stop there!!
zoltran is offline  
Reply With Quote
Old 01-24-2008, 02:47 PM   #4
edgeliner
Senior Member
 
Join Date: Oct 2007
Location: Southy Florida
Posts: 263
Thanks: 16
Thanked 1 time in 1 post
Default

Thanks Zoltran...I figured that out after I posted the thread! Learned from it though..........
edgeliner 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
A problem using multiple exits. MGDavid Strategy Development 7 10-26-2007 10:25 AM
Exits not happening DarrylT Strategy Development 3 01-11-2007 03:06 AM
Simulating TS entry / exits mrlogik Automated Trading 5 09-28-2006 07:07 AM
Erroneous Exits pivot44 Miscellaneous Support 1 04-11-2006 07:11 AM
Exits by Limit in all circumstances Rognvald ATM Strategies (Discretionary Trading) 8 02-08-2005 10:41 PM


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