Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Displaying the ADR on my chart?

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

    Displaying the ADR on my chart?

    I might be missing it here but - can I display the calculated ADR on the chart and if so where would I find the function to be able to do this?

    NM

    #2
    Hello nmcintyre,

    Thank you for your note.

    ADR is not included with NinjaTrader by default, but I was able to find a free third-party version here: http://www.ninjatrader-support2.com/...ad.php?t=16496

    To import this indicator in to NinjaTrader, please follow the steps listed here: http://www.ninjatrader-support.com/H...e.html?Import1

    Please let me know if you have any additional questions or if I may be of assistance with anything else.
    KyleNinjaTrader Customer Service

    Comment


      #3
      it does not work - is there anywahere else you can find the adr

      Comment


        #4
        Hello,

        I am sorry, I am not aware of any.
        DenNinjaTrader Customer Service

        Comment


          #5
          Cheap Cheat

          What is the formula for ADR?

          For a 4 days period(or weeks or months or hours) it is:

          ( H1 - L1 + H2 - L2 + H3 - L3 + H4 - L4 ) / 4

          where :
          H1= High of the first day
          L1= Low of the first day
          H2= High of the second day
          L2= Low of the second day
          H3= High of the third day
          L3= Low of the third day
          H4= High of the fourth day
          L4= Low of the fourth day

          you can "rearrange" the formula:

          (( H1 + H2 + H3 + H4 ) - L1 - L2 - L3 - L4) / 4

          (( H1 + H2 + H3 + H4 ) - ( L1 + L2 + L3 +L4 )) / 4

          ( H1 + H2 + H3 + H4 ) / 4 - ( L1 + L2 + L3 +L4 ) / 4

          and then you realise that:

          ( H1 + H2 + H3 + H4 ) / 4 is the formula for a simple moving average of the highs with a period of 4

          and

          ( L1 + L2 + L3 +L4 ) / 4 is the formula for a simple moving average of the lows with a period of 4.

          So what do you have to do?

          Plot a simple moving average of the highs(you pick the period) SMA(high)
          Plot a simple moving average of the lows(you pick the same period) SMA(Low)

          and look at the latest values for yesterday's chart
          Calculate SMA(high) - SMA(Low) and it will give you the ADR for today!!!!!!!

          Comment


            #6
            Macd

            The conclusion I came up with was in the back of my mind and realised there was more to it...

            there is an indicator that will plot the difference between 2 moving average and readily available too: the MACD!!!!!!

            So what I am saying is that you can display the ADR if you can customise the MACD in you software!

            Default setting are MACD (12/26/9) and averages are exponential, you need to be able to switch from exponential to simple, and you will need to be able to switch form based on closes to based on highs and based on lows

            if you want the ADR for a 10 day period, the MACD would be MACD(10H/10L/1)

            where
            the first 10H is a simple moving average of the highs of the last 10 periods
            the second 10L is a simple moving average of the lows of the last 10 periods
            the 1 is useless so by using this parameter it will follow the line plotted line or histogram but if you feel you need it, adjust the period accordingly.

            So ADR is just a special MACD if your software is versatile enough to be customised!!!!!!

            Comment


              #7
              Your conclusion is correct, but you would need to code a MACD which

              - allows to use different input series for the two moving averages
              - has the EMAs replaced with the SMAs (Awesome Ocsillator)

              It is much simpler to use the inbuilt Range() indicator and apply a SMA to the range indicator. You do not even need to code anything. Just add a SMA to a subpanel and select "Range()" as input series.

              I have attached a chart below.
              Attached Files

              Comment


                #8
                thanks

                Harry

                the last time I used NinjaT was a long long time ago.... it was very basic and buggy, could not keep up with faster that normal market conditions ....but I keep reading it is very different nowadays.

                What I came up with is 2 general ideas but with you're knowledge you figured out a way to do things in a simple manner!

                Cheers

                Dan

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Radano, 06-10-2021, 01:40 AM
                19 responses
                604 views
                0 likes
                Last Post Radano
                by Radano
                 
                Started by KenneGaray, Today, 03:48 AM
                0 responses
                3 views
                0 likes
                Last Post KenneGaray  
                Started by thanajo, 05-04-2021, 02:11 AM
                4 responses
                470 views
                0 likes
                Last Post tradingnasdaqprueba  
                Started by aa731, Today, 02:54 AM
                0 responses
                5 views
                0 likes
                Last Post aa731
                by aa731
                 
                Started by Christopher_R, Today, 12:29 AM
                0 responses
                10 views
                0 likes
                Last Post Christopher_R  
                Working...
                X