New to strategy builder and don't know an input from a variable, but want this strategy to auto execute eventually. I'm using NinjaTrader 7.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
5 Consecutive Green Bars
Collapse
X
-
5 Consecutive Green Bars
I've searched and scrolled here but cannot find a strategy for say 5 consecutive up (Green) bars, or 5 consecutive down (Red) bars.
New to strategy builder and don't know an input from a variable, but want this strategy to auto execute eventually. I'm using NinjaTrader 7. -
Hello b2fnow,
Thanks for your post.
Based on your last comment we have moved the post to the NT7 strategy forum.
With NinjaTrader you have two indicators that would help with this, they are called NBarsUp and NBarsDown where you can configure them for the number of sequential bars desired. As the condition is found the indicator outputs a value of 1 into an indicator panel.
References:
NBarsUp: https://ninjatrader.com/support/help...?n_bars_up.htm
NBarsDown: https://ninjatrader.com/support/help..._bars_down.htm
I recommend that you place them on your chart to both observe and test their function to ensure their suitability for your strategy.
You can use these methods in the NT7 strategy wizard. In a condition set, on the left side under indicators you would select NBarsUp (or NBarsDown) and specify the number of sequential bars to check for in "Bars count", in the center would select "==" and then on the right side you would select MISC>Numeric value and set the number to 1 which is what the indicator provides when the condition is found. Then you can place an order in the action section.Paul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by muratb35, Today, 03:36 AM
|
0 responses
3 views
0 likes
|
Last Post
![]()
by muratb35
Today, 03:36 AM
|
||
Started by fernlicht, Today, 02:16 AM
|
1 response
8 views
0 likes
|
Last Post
![]()
by NT-Roland
Today, 03:36 AM
|
||
Started by fernlicht, 04-12-2021, 06:01 PM
|
1 response
28 views
0 likes
|
Last Post
|
||
Started by memonolog, Today, 02:10 AM
|
1 response
4 views
0 likes
|
Last Post
![]()
by cincai
Today, 02:26 AM
|
||
Started by orenytz, Today, 12:25 AM
|
0 responses
8 views
0 likes
|
Last Post
![]()
by orenytz
Today, 12:25 AM
|
Comment