Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simple indicator which can calculate difference of high and low of price bar

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

    Simple indicator which can calculate difference of high and low of price bar

    Hello! Can you help me to find simple indicator which can calculate difference of high and low of price bar and display histogram under price chart like a volume.

    #2
    Hello olegator.msc,

    Thanks for your post and welcome to the NinjaTrader forums.

    We've just (re) opened our file sharing area. You might take a look there to see if any meets your needs.



    Comment


      #3
      Originally posted by olegator.msc View Post
      Hello! Can you help me to find simple indicator which can calculate difference of high and low of price bar and display histogram under price chart like a volume.
      it's pretty easy to do, I just commend out most of ninja ATR codes.
      Attached Files

      Comment


        #4
        Hello olegator.msc,

        Building on member nkhoi's observations, all you need to do is add the ATR to your chart, set the period to 1 and then change the "plotstyle" from line to bar. Please see the example:

        Click image for larger version

Name:	Olegator-1.PNG
Views:	1389
Size:	74.3 KB
ID:	1036791

        Comment


          #5
          ATR(1) provides the so-called "true range" of the bar. It is the same value as the range of the bar, if and only if, there is no gap between the bar and the previous bar.

          In any case, there is a Range indicator that ships with NinjaTrader. That is the correct one to use. After all, (high - low) is the definition of range.

          ref: https://ninjatrader.com/support/help...n-us/range.htm

          Comment


            #6
            Originally posted by koganam View Post
            ATR(1) provides the so-called "true range" of the bar. It is the same value as the range of the bar, if and only if, there is no gap between the bar and the previous bar.

            In any case, there is a Range indicator that ships with NinjaTrader. That is the correct one to use. After all, (high - low) is the definition of range.

            ref: https://ninjatrader.com/support/help...n-us/range.htm
            Thank you very much! It is that I need.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            566 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            330 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
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            548 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X