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 CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          27 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          20 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          183 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          335 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          260 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X