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 10-11-2011, 06:40 AM   #1
DenMan
Member
 
Join Date: Aug 2011
Posts: 52
Thanks: 13
Thanked 0 times in 0 posts
Default Optimizer Doesn't Work on New Strategy

I modified my Strategy to place orders on certain conditions inside of a bar, rather than wait for the next "FirstTickOfBar" and the orders Do get placed when using a Live Data Feed. However, the Optimizer does not place any orders with my new Strategy. Previously, when placing orders on "FirstTickOfBar" it worked on both the Live Data Feed as well as the Optimizer. Is this expected?
DenMan is offline  
Reply With Quote
Old 10-11-2011, 07:11 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,384
Thanks: 252
Thanked 967 times in 950 posts
Default

DenMan, please add prints / drawing objects as confirmation that your entry conditions triggered, depending on how far you reference back this could not be the case for working in backtesting with FirstTickOfBar optimized code.
NinjaTrader_Bertrand 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
Optimizer simply needs more work cgeorgan Version 7 Beta General Questions & Bug Reports 22 07-21-2010 09:58 AM
Use Optimizer in Strategy BobSk Automated Trading 3 06-25-2010 09:08 AM
Possible to instantiate optimizer from within strategy? unSane Strategy Analyzer 3 08-18-2009 11:13 PM
How does the optimizer work? johannes Strategy Analyzer 16 12-15-2008 11:23 AM
Strategy Optimizer improvement whitegun Suggestions And Feedback 1 09-16-2008 03:53 AM


All times are GMT -6. The time now is 01:14 AM.