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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-04-2008, 09:38 AM   #31
mjuviler
Member
 
Join Date: May 2008
Posts: 90
Thanks: 1
Thanked 0 times in 0 posts
Default

One more thing, since I am using named orders for targets I think this has a high probability of being the source of the bug inside Ninja as shown here:


LongExitOrders[i] = ExitLongLimit(0, true, execution.Order.Filled, High[0], "LX1", "LE2");

I am tying the exit to the entry.

Ninja may be getting the open profit calcs confused because it is not pulling off the right order....

Just a thought...
mjuviler is offline  
Reply With Quote
 

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
Setting Profit Target After Trade Inititated dgregor5 ATM Strategies (Discretionary Trading) 3 02-21-2008 03:08 PM
No money going in Realized P&L when trade closes jlm0@infionline.net Historical NinjaTrader 6.5 Beta Threads 12 11-12-2007 07:01 AM
realized profit rally7 Miscellaneous Support 9 07-28-2007 11:39 PM
Realized P&L ctgiblin Miscellaneous Support 5 03-08-2006 05:43 AM
Commissions in Realized Profit/Loss column PointJockey ATM Strategies (Discretionary Trading) 4 09-26-2005 10:11 AM


All times are GMT -6. The time now is 11:19 AM.