How i do this? Thanks!!!
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
How to plot a Bollinger Bands MTF?
Collapse
X
-
Originally 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.htmPaul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Perr0Grande, Today, 08:16 PM
|
0 responses
2 views
0 likes
|
Last Post
by Perr0Grande
Today, 08:16 PM
|
||
Started by elderan, Today, 08:03 PM
|
0 responses
5 views
0 likes
|
Last Post
by elderan
Today, 08:03 PM
|
||
Started by algospoke, Today, 06:40 PM
|
0 responses
10 views
0 likes
|
Last Post
by algospoke
Today, 06:40 PM
|
||
Started by maybeimnotrader, Today, 05:46 PM
|
0 responses
12 views
0 likes
|
Last Post Today, 05:46 PM | ||
Started by quantismo, Today, 05:13 PM
|
0 responses
7 views
0 likes
|
Last Post
by quantismo
Today, 05:13 PM
|
Comment