Announcement

Collapse
No announcement yet.

ADX Value, Different Interval

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

  • ADX Value, Different Interval

    Hi All,

    I have a problem which I would be grateful if somebody could give me an opinion on.

    In my script I am trying to call a value for the current ADX on the current 10 min interval, but I am also trying to get a value for a 60min interval as well. It nearly works but if you look at the screenshot attached, I just get null values for the last few values. (Why do I guess that its 60 values ??)

    Attached is an image of the lines of script calling the code.

    Many Thanks everybody.
    Attached Files

  • #2
    And attached in this one is the Forumla Output. Thanks everybody for spending time on looking at this.
    Attached Files

    Comment


    • #3
      rogerha
      The syntax for the 60 min ADX functions is incorrect. It should be
      adx(14,14,inv(60));
      pdi(14,14,inv(60));
      ndi(14,14,inv(60));

      Alex

      Comment


      • #4
        Very kind of you as always Alex, have a good weekend.

        Comment


        • #5
          rogerha
          My pleasure and a great weekend to you too
          Alex

          Comment

          Working...
          X