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!
See more
See less

Partner 728x90

Collapse

How to plot a Bollinger Bands MTF?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to plot a Bollinger Bands MTF?

    Hi, i need to plot a Bollinger Bands 60 minutes in a timeframe of 5 minutes in NinjaScript.

    How i do this? Thanks!!!

    #2
    Originally posted by testingsarasa View Post
    Hi, i need to plot a Bollinger Bands 60 minutes in a timeframe of 5 minutes in NinjaScript.

    How i do this? Thanks!!!
    check out this ninja video https://youtu.be/XRGxiO3XW-k

    Comment


      #3
      mmm... nkhoi i need ninjascript code.

      Comment


        #4
        Originally posted by testingsarasa View Post
        mmm... nkhoi i need ninjascript code.
        bollinger band is already come with ninja you just need to follow video instruction to plot bigger TF on smaller TF

        Comment


          #5
          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
          Paul H.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by llanqui, Today, 03:53 AM
          0 responses
          6 views
          0 likes
          Last Post llanqui
          by llanqui
           
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          10 views
          0 likes
          Last Post burtoninlondon  
          Started by AaronKoRn, Yesterday, 09:49 PM
          0 responses
          15 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Yesterday, 08:42 PM
          0 responses
          11 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Yesterday, 07:51 PM
          0 responses
          14 views
          0 likes
          Last Post strategist007  
          Working...
          X