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 02-02-2007, 05:05 AM   #1
Brody
 
Join Date: Feb 2007
Location: , ,
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

I am trying to cutoff my strategy when it reaches a certain level of profit. The way i am doing the is using the strategy Realized PnL in the wizard and telling it

Realized PnL > numerical value

then

cancel all orders



What i get is an error msg that tells me

" Ninja Trader does contain a definition for total trades"

Which i know is because i am using the Realized PnL feature

Any Help ?

Thanks
Brody is offline  
Reply With Quote
Old 02-02-2007, 08:44 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

Thanks for reporting this. Will resolve this for next update due out next week. We were going to release today but decided to hold off to incorporate a few other tweaks.

Ray
NinjaTrader_Ray is offline  
Reply With Quote
Old 02-06-2007, 08:20 AM   #3
Brody
 
Join Date: Feb 2007
Location: , ,
Posts: 5
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

Thanks.

Do you have any idea when you will be releasing that version this week ?
Brody is offline  
Reply With Quote
Old 02-06-2007, 08:53 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

Yes, for sure this week.
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 07:37 AM.