Any help is appreciated.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Only enter when Tick Counter Indicator is greater than certain value
Collapse
X
-
Only enter when Tick Counter Indicator is greater than certain value
I'm trying to build a strategy using the wizard in which it only enters orders when the Tick Counter is above 500. I'm using ES 2000 tick and the strategy is set to CalculateOnEachTick. Right now, my strategy condition reads Tick Counter greater than numeric value 500 and when I try to enable the strategy in the Playback Connection by checking the box, it will immediately uncheck. I have tried both the Standard and High setting for order fill resolution and they had the same results.
Any help is appreciated.Tags: None
-
Hello dominus158,
Thank you for your post.
You can't get the number of ticks remaining in the bar from the Tick Counter indicator because it doesn't expose that value for use in a custom NinjaScript, nor would you be able to get this value in the Strategy Builder. You'd need to unlock the code and use Bars.TickCount to get the current number of ticks in a bar and enter if that's greater. Here's a link to our help guide going over Bars.TickCount:
Please let us know if we may be of further assistance to you.
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
81 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
150 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
79 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
52 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
59 views
0 likes
|
Last Post
|

Comment