![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
|
|
Thread Tools | Display Modes |
|
|
#16 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
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
Ryan M
NinjaTrader Customer Service |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
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 |