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 > General Programming

General Programming General NinjaScript programming questions.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-24-2012, 11:08 AM   #16
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

It's no fun running into a dead end. When that happens, it's best to comment out any code you don't understand, and work from a simplified point until things make sense again. Only add additional complexity once the simple stuff works.

Whenever you're working with a new concept, try to isolate the new part from any existing code, so you can more easily follow its behavior. With OnExecution(), this means maybe just a simple example printing its events without any other complicated order condition logic. It's difficult to create all parts of your strategy all at once, especially if you're working in new territory. It's really a methodical process where you are checking one thing at a time, confirming behavior, and only then adding additional items/complexity to it.

You can always work with one of our 3rd party consultants if you have an idea but necessarily the time or programming experience to work through these items.
http://www.ninjatrader.com/partners#...pt-Consultants
NinjaTrader_RyanM 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
Store the close price for a reference. rnr123 Strategy Analyzer 2 11-18-2009 06:34 PM
Exit Price Reference hifreq General Programming 1 07-23-2009 07:44 AM
Entry price lgarcia3 General Programming 4 05-08-2009 08:35 AM
ATM strategies: signal price instead of average entry price mario73 ATM Strategies (Discretionary Trading) 1 01-02-2009 02:49 AM
Multi Instrument Price Reference naifwonder Strategy Development 2 08-04-2008 08:53 AM


All times are GMT -6. The time now is 10:33 PM.