Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy builder order resolution problen
Collapse
X
-
Strategy builder order resolution problen
I am programming a strategy (using Strategy Builder) based on return to an EMA and I want the order to open at the price of the EMA but open at the close of the bar. How can I do it? I appreciate your help. -
Hello gbal16,
Thank you for your post.
Orders could be submitted once at the close of a bar by running your strategy with a Calculate mode of 'On Bar Close'. OnBarClose means the strategy's logic will process once at the close of the bar.
Placing an order using the EMA indicator for the price value or your order, you could call EnterLongLimit() or EnterShortLimit() in the Conditions and Actions screen of the Strategy Builder and set the Limit Price value to use the EMA indicator. In the Conditions and Actions screen, select 'add' in the Actions section, open the Order Management folder, select 'Enter long position by a limit order' or 'Enter short position by a limit order', hover the mouse over the 'Limit price' field and click 'set', select the 'Indicators' folder, locate and select the EMA indicator, click OK, click OK again.
See the help guide documentation below for more information about Calculate modes and using the Strategy Builder Conditions and Actions screen.
Calculate - https://ninjatrader.com/support/help...?calculate.htm
Strategy Builder - https://ninjatrader.com/support/help...gy_builder.htm
Let us know if we may assist further.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, Today, 06:46 AM
|
0 responses
8 views
0 likes
|
Last Post
by Mindset
Today, 06:46 AM
|
||
|
Started by M4ndoo, Yesterday, 05:21 PM
|
0 responses
12 views
0 likes
|
Last Post
by M4ndoo
Yesterday, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
14 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
81 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
47 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment