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-13-2007, 12:09 PM   #1
Brody2
 
Join Date: Feb 2007
Location: , ,
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Post imported post

I am having a problem where ifI write time sets likeI did in version .06 it wont accept them.

It gives me an error message saying that " to time method takes 3 arguments " ?

Do I need to do somthing different in the Wizard ? I am following what it says in the help section.

Also imwondering why you removed the option of "CANCEL ALL ORDERS" ? Before that was an optionunder DO THE FOLLOWING / ORDER MANAGEMENT???

Otherwise things look good in the new version !



Thanks Brody
Brody2 is offline  
Reply With Quote
Old 02-13-2007, 12:52 PM   #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

Brody2,

Two issues -

- There is a bug in beta 7 with respect to Time comparison conditions created in the wizard. If you are able to program, check the Help Guide for ToTime() method and spefific instructions on how to use. If you are only using the wizard, then you will have to wait until the next beta.

- CancelAllOrders is taken care of under neath the hood. Basically, if OnBarUpdate() is called where the prior bar submitted an order but the current bar, your entry order condition is no longer valid, NinjaTrader will cancel the order for you automatically.

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 05:16 AM.