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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
72 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
152 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
100 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
288 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment