Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATR with custom input dataseries

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

    ATR with custom input dataseries

    I have a simple question.
    As described here: http://stockcharts.com/school/doku.p...true_range_atr
    The ATR indicator uses various dataseries as input (High, Low, Close, etc)

    What I want to do is to construct an ATR with custom input dataseries but I only just found a contructor that receive only one IDataSeries as input...
    From documentation this is the only two ways to contruct an ATR

    ATR(int period)
    ATR(IDataSeries inputData, int period)

    Im assuming the first one uses the default series High, Low, Close... but what it does the second one ???

    #2
    stormze, yes the first uses High, Low, Close as you can see when you open up the ATR indicator souce code. I'm checking into the second one and will update you later.

    Comment


      #3
      stormze, you would need to code a custom indicator to use custom dataseries for the High, Low, Close.

      Comment


        #4
        ah ok, well may be you need to consider adding a constructor with 3 IDataSeries to builtin ATR indicator.
        And also for any other indicator that uses varios dataseries as input, just a suggestion.
        Thanks for your fast support

        Comment


          #5
          You're welcome - thanks for the suggestion!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, Yesterday, 10:06 AM
          0 responses
          20 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          18 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          14 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          9 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          38 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X