Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Entry
Collapse
X
-
Hello JTizz,
Thank you for your post.
To have your strategy enter a position when the current price touches the indicator line before the close of the bar, you would set your strategy to Calculate.OnEachTick or Calculate.OnPriceChange instead of Calculate.OnBarClose.
The condition in your strategy would check if the Close[0] price >= the indicator and then calls an action of EnterLong().
See this help guide documentation for more information.
Calculate - https://ninjatrader.com/support/help.../calculate.htm
Condition Builder - https://ninjatrader.com/support/help...on_builder.htm
Actions - https://ninjatrader.com/support/help...MarketPosition
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>
-
Hello JTizz,
Thank you for your note.
Are you running the strategy in the Strategy Analyzer, on a Chart window, or from the Strategies tab of the Control Center?
Are you running the strategy on the Playback Connection with Market Replay data or are you running the strategy on live data?
If you are running the strategy on a Chart window, are you referring to historical trades that are placed or realtime trades?
I look forward to assisting 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>
Comment
-
Hello JTizz,
Thank you for your note.
Please send us a reduced copy of your script so we may further investigate this on our end. Note that a reduced copy refers to a copy of the script that contains the minimum amount of code needed to reproduce the issue. All other code is commented out or removed.
Below is a link to a video that demonstrates making a copy of a script.
https://www.youtube.com/watch?v=BA0W...utu.be&t=8m15s
Also, please provide us with the settings that you are using for your strategy. This includes the instrument, bar type, and bar interval you are enabling the strategy on. For example, using the ES 06-21 instrument with 1-minute bars.
I look forward to assisting 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>
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
71 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment