Announcement

Collapse
No announcement yet.

ADX on diferent time interval

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

  • ADX on diferent time interval

    Has anybody figured out how to generate the correct ADX for 5min interval from a 1min chart?
    By "correct" I mean to get the same values as from 5min chart.

    Note: I am not looking for 20 pages of code.

    Thanks.
    Mihai Buta

  • #2
    I see some discussions of Global Variables that are transferable across charts.

    Could you figure out the ADX on the 5 min, globalize it, then refer to it in the 1 min chart?

    Comment


    • #3
      Believe me, I tried many, very many ways.
      None reproduces the same values.
      If you take a look at the detailed formula for ADX you will why.
      You need the "True Values" for 5min chart AND to compute ONLY on 5min interval.

      Maybe one of the "wizards" compiles a sample code and post it for all of us.

      Thanks.
      Mihai Buta

      Comment


      • #4
        If that is all you need, then I can help.

        I can figure out the true vales for each 5 min interval at the end of each 5 minute interval on a min chart.

        I can calulate +DM, -DM, TR and DI, but am having trouble down aroound line 116 doing the ma part. Primarily cuz I dont understand for stmts and arrays yet.
        Attached Files

        Comment


        • #5
          Re: Reply to post 'ADX on diferent time interval'

          Hi dLoomis,
          Thank you for trying. Maybe the result will be useful for you too. The idea
          is to use 5min indicators to decide with the granularity of 1min to trigger.

          You are not the only one having trouble w/ Java Script.

          For statements are straight forward. A simple loop with a pre-defined index.
          For arrays I just clarified a few things for yself.
          Here is a link where you find the methods for arrays:
          http://developer.netscape.com/docs/m...ay.html#119313
          7
          A good example is the ma.efs in the "library" directory.

          If you need to check your formula for ADX and other indicators here is an
          other link
          http://www.linnsoft.com/tour/techind/dirInd.htm

          Thanks again.
          Note: I hope will not be too complicated. eSignal has trouble running
          complicated calculations.


          ----- Original Message -----
          From: <[email protected]>
          To: <[email protected]>
          Sent: Sunday, February 09, 2003 4:06 AM
          Subject: Reply to post 'ADX on diferent time interval'


          > Hello mbuta,
          >
          > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          >
          Mihai Buta

          Comment


          • #6
            forgive me if this sounds stupid, I'm a newbie but have previous experience with other programs. couldn't you just use different bar-counts for the indicators? seems that would be easier.

            I've been wondering about this same subject, I was able to actually overlay the different time frames & indicators in another program. not (yet) with eSignal.

            Comment


            • #7
              Re: Reply to post 'ADX on diferent time interval'

              All I asked is if anyone has done it and gets correct results..
              I tried all I knew. Thanks.

              ----- Original Message -----
              From: <[email protected]>
              To: <[email protected]>
              Sent: Wednesday, February 12, 2003 2:06 AM
              Subject: Reply to post 'ADX on diferent time interval'


              > Hello mbuta,
              >
              > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              >
              Mihai Buta

              Comment

              Working...
              X