![]() |
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 |
|
Senior Member
Join Date: Mar 2008
Posts: 138
Thanks: 0
Thanked 0 times in 0 posts
|
I'm new to NT so i'm asking you guys how to park an order until 08:20 a.m.
It should be a STOP order with 1 target stop loss set as price (not ticks). Can you help me with the code? Do i have to code a strategy for EVERY order or i can apply it to new orders? Thx |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
A strategy can submit many orders. It will execute everything automatically. There are many resources to help you get stated.
Here is a good jump in point - http://www.ninjatrader-support.com/H...dingLogic.html
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Mar 2008
Posts: 138
Thanks: 0
Thanked 0 times in 0 posts
|
Ok i'll check all the guide, but as programmer i know that there are many ways to do the same thing and i'm looking for a good start.
Any piece of code? Anyone? All collective2 subscribers would appreciate a little help..... Many trade signals are parked and we don't know how to do it. You could think about adding it to basic entry window.... Thx |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
There are also reference samples on our forums that may help you get the ball rolling for various different things you may find of value. Please look at the Reference Sample: http://www.ninjatrader-support.com/v...splay.php?f=30
Also to throw some ideas out there for you, set a bool variable to true after your trade conditions have been evaluated to true. Now use a time filter along with the bool to determine when to submit your order to market. Take a look at the time filter reference. Basically something along the lines of if (time is greater than 8:20 && bool is true) { EnterLongStop(); }
Josh
NinjaTrader Customer Service
Last edited by NinjaTrader_Josh; 03-14-2008 at 12:40 AM.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NinjaTrader ShutDown - Open Order, No Stop Loss | jeremymgp | Automated Trading | 4 | 02-21-2008 11:40 PM |
| stop loss order rejected | maxpi | Strategy Development | 8 | 11-22-2007 08:35 AM |
| ATM strat with stop loss and target order | Angel | ATM Strategies (Discretionary Trading) | 5 | 11-08-2007 09:44 AM |
| Order Entry Property: Use stop market for stop loss orders | higler | SuperDOM and other Order Entry Windows | 7 | 07-02-2007 09:06 AM |
| Submit Limit Entry Order and Stop Loss Order at same time? | aspTrader | Miscellaneous Support | 2 | 10-04-2006 02:40 AM |