ADX new high

Hi, I'm not sure why this doesn't work.

[Daily ADX Line(14) = Daily MAX(20,Daily High)]

It doesn't return anything even though the syntax is right. Basically I'm looking for stocks where the today's adx value is the highest over the last 20 days.

Thanks.

Dan C

Comments

  • Hi @Dcash27 ,

    should be:

    [Daily ADX Line(14) = Daily MAX(20,daily ADX Line(14))]

    "High" always refers to the high price of a bar (like in open, high, low, close).

    The max() function gets you the highest value in the period you specify (you said 20 this time) for the value you specify (you said high, but you meant ADX Line(14)).
  • thanks, Mark!