Announcement

Collapse
No announcement yet.

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 Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          574 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          333 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          553 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          551 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X