![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Mar 2009
Posts: 66
Thanks: 0
Thanked 0 times in 0 posts
|
I made a stategy to handle all my orders by my self. It ran very good in similation mode. However, when I run it in real time mode, the strategy send close position orders by itself? This makes my losing control to my strategy. I noticed that there is some items in strategy default, such as exit on close.
My questions are: 1. how can I access those default settings in code and change it? 2. where can I find the meanings of those default stuff? 3. why do the simulation and real time run have so much difference(from running pretty good to basically not run at all)? |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Please see these articles:
1. http://www.ninjatrader-support.com/v...06&postcount=5 2. http://www.ninjatrader-support.com/H...romAChart.html 3. http://www.ninjatrader-support.com/H...TimeVsBacktest
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Mar 2009
Posts: 66
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks, Josh! Can you give me a full list of the defaults so that I can re-initialize them? Also, can I make a strategy purelly coded by myself without those hidden defaults? Thanks again!
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Not sure what you mean by "re-initialize" and "hidden defaults". Please clarify.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Mar 2009
Posts: 66
Thanks: 0
Thanked 0 times in 0 posts
|
The link http://www.ninjatrader-support2.com/...06&postcount=5 you provided is using override to re-initialize the hidden defaults. However, it is only part of them. Can you provide a full list of those defaults? Also, can I make a strategy without those hidden stuff? And how? Thanks!
|
|
|
|
|
|
#6 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
What is on the list is what is provided. Even some of the things on that list are not supported properties.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ninjatrader does not send the orders to tws | cesas | Automated Trading | 13 | 06-08-2009 09:42 AM |
| Send orders from Super Dom | nachig | ATM Strategies (Discretionary Trading) | 3 | 03-23-2009 03:51 PM |
| Send confirmation orders by e-mail | andrgm | General Programming | 2 | 10-16-2008 11:37 AM |
| Is it possible to send out OCO orders using NT DLL? | clearpicks | Automated Trading | 8 | 05-24-2008 07:28 PM |
| send many orders in one instrument | dantes | Strategy Development | 6 | 04-23-2008 10:16 AM |