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:	1397
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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            156 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            90 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            140 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            130 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            107 views
            0 likes
            Last Post CarlTrading  
            Working...
            X