Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Enter on open of bar
Collapse
X
-
Enter on open of bar
Hello, i have strategy that i have built and automated and i have it set to get into a trade right at price change. But the strategy is excuting a trade at market value and i do not want that because my strategy is super super scalping strategy that even 1 tick matters to hit my target. For example when i am trading or backtesting and the strategy should take a long it excute at the higher price but when i go back and chexk it on back test it ia suppose to be excuted on a lower price by a dollar at least. So my question is how can put my strategy to excute right at the open of the new candle with no delay and not markey fill. Thank you so much. P.s. i tried limit order did not work i need something to make the strategy enter at the open of the candle right away.Tags: None
-
Hello Mahmad1323,
I have moved this into its own thread as it did not seem to relate to the post where you had replied, in the future make sure to post any new questions to a new thread.
To submit a non market order you would need to select a limit or stop limit type of order when you submit the order. If you are using the builder that would be enter by limit order or enter by stop limit/market order. Keep in mind these type of orders are not guaranteed to fill and will expire after 1 bar unless you call the order method again until filled.
To submit the order on the open of a bar your strategy would need to be working in realtime while using Calculate OnEachTick or OnPriceChange. In your entry condition you would need to check if it is the first tick of the bar, in the builder that is found in the Misc -> Is First tick of bar. That can be compared with Misc -> True.
-
Hello, thank you for replying. Can you please show me the steps on how to do that in the strategy builder. If you can attach some screenshots on the process it would be appreciated it would save me so much time on figuring it out. Thank you so much.
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
38 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment