Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Limit on Open Orders
Collapse
X
-
Hello fiddy,
Thank you for your post.
There is no feature for this in NinjaTrader. However, this function could be programmed in a NinjaScript strategy that would automate the placement of the order on the open. If you would like details on NinjaScript please refer to our Educational Resources in our Help Guide at the following link: http://ninjatrader.com/support/helpG..._resources.htm
Please let me know if you have any questions.
-
Hello,
If your strategy is running as CalculateOnBarClose = false or with a secondary series, for intra bar orders you could use the following items to assist in creating logic that happens on each new bar or on each new session.
I have provided an example of how you could check the time of the open and if it is the first tick of the bar.
Code:protected override void Initialize() { CalculateOnBarClose = false; } if(Time[0] == ToTime(8, 0, 0)) if(FirstTickOfBar) EnterLongLimit(limitPrice);Cody B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
581 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
338 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment