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 Waxavi, 04-19-2024, 02:10 AM
          2 responses
          37 views
          0 likes
          Last Post poeds
          by poeds
           
          Started by chbruno, Yesterday, 04:10 PM
          1 response
          44 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by Max238, Today, 01:28 AM
          1 response
          24 views
          0 likes
          Last Post CactusMan  
          Started by giulyko00, Yesterday, 12:03 PM
          2 responses
          10 views
          0 likes
          Last Post giulyko00  
          Started by r68cervera, Today, 05:29 AM
          0 responses
          4 views
          0 likes
          Last Post r68cervera  
          Working...
          X