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 Perr0Grande, Today, 08:16 PM
          0 responses
          2 views
          0 likes
          Last Post Perr0Grande  
          Started by elderan, Today, 08:03 PM
          0 responses
          5 views
          0 likes
          Last Post elderan
          by elderan
           
          Started by algospoke, Today, 06:40 PM
          0 responses
          10 views
          0 likes
          Last Post algospoke  
          Started by maybeimnotrader, Today, 05:46 PM
          0 responses
          12 views
          0 likes
          Last Post maybeimnotrader  
          Started by quantismo, Today, 05:13 PM
          0 responses
          7 views
          0 likes
          Last Post quantismo  
          Working...
          X