How i do this? Thanks!!!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to plot a Bollinger Bands MTF?
Collapse
X
-
check out this ninja video https://youtu.be/XRGxiO3XW-kOriginally posted by testingsarasa View PostHi, i need to plot a Bollinger Bands 60 minutes in a timeframe of 5 minutes in NinjaScript.
How i do this? Thanks!!!
-
-
Hello testingsarasa,
Thanks for your post and welcome to the NinjaTrader forums!
Member nkhoi has provided an option to perform this without the need for coding. The video example nkhoi linked shows how to add a hidden data series that would be used as the input to the bollinger indicator.
You would have a 5-minute chart and would be adding a hidden 60-minute data series then adding a bollinger with the input being the hidden 60-minute series.
If you wanted to do this in Ninjascript, then you would use AddDataSeries() to add 60-minute bars, then on each OnBarUpdate of the 5-minute bars, you would plot the bollinger using the added 60-minute bars which is basically the same process as above.
Please note that in Ninjascript, when you add a data series, you are creating a multi-timeframe (in this case) script which requires an understanding of the coding which does change for multi-time frame coding. Reference: https://ninjatrader.com/support/help...nstruments.htm
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
574 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment