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

BBs as a solid color band?

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

    BBs as a solid color band?

    I've seen in the Indicator download section a Keltner Bands offering (http://www.ninjatrader-support.com/v...&id=56&catid=1) that shows the channel between the upper and lower bands as a solid color. Is this something I could have the default NT Bollinger bands do? If so, how, please.

    Many thanks.

    5iver

    #2
    Hi 5iver,

    Yes, this is something that can be done with the regular Bollinger Bands, but requires some custom programming. Essentially you want to use DrawRegion() to fill in the area with color. Please take a look at this article: http://www.ninjatrader-support.com/H...rawRegion.html
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Josh View Post
      Hi 5iver,

      Yes, this is something that can be done with the regular Bollinger Bands, but requires some custom programming. Essentially you want to use DrawRegion() to fill in the area with color. Please take a look at this article: http://www.ninjatrader-support.com/H...rawRegion.html
      Thanks Josh!

      Is there more to the process than simply dropping that line of DrawRegion code into the duplicate I've made of The Bollinger default? If that's all I need to do, where should I put it? Sorry for the 101 question, but I'm not a coder and this is probably as deep as I'll go...

      Many thanks

      5iver

      Comment


        #4
        Hi 5iver,

        No problem at all. You would place that line inside the OnBarUpdate() method. Perhaps at the end.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Josh View Post
          Hi 5iver,

          No problem at all. You would place that line inside the OnBarUpdate() method. Perhaps at the end.
          IT WORKS! You are the Man.

          Thank you. Lovin' NT more and more every day.

          5iver

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by ZenCortexCLICK, Today, 04:58 AM
          0 responses
          5 views
          0 likes
          Last Post ZenCortexCLICK  
          Started by sidlercom80, 10-28-2023, 08:49 AM
          172 responses
          2,281 views
          0 likes
          Last Post sidlercom80  
          Started by Irukandji, Yesterday, 02:53 AM
          2 responses
          18 views
          0 likes
          Last Post Irukandji  
          Started by adeelshahzad, Today, 03:54 AM
          0 responses
          8 views
          0 likes
          Last Post adeelshahzad  
          Started by Barry Milan, Yesterday, 10:35 PM
          3 responses
          13 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X