Announcement

Collapse
No announcement yet.

Narrow Range and Wide Range Bars

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

  • #16
    Here's a formula for an NR3. This might show more results as they occur far more frequently.

    Paul
    Attached Files

    Comment


    • #17
      i pulled up daily chart of QQQQ and Australian $ spot... there were multiple nr3 missing... try it for yourself...

      QQQQ: 3/14/05 was nr3 - not picked up

      the error is here:

      if (
      (high()-low()) <= (high(-1)-low(-1)) &&
      (high(-1)-low(-1)) <= (high(-2)-low(-2)) &&
      (high(-2)-low(-2)) <= (high(-3)-low(-3))
      ) onAction1();

      it should not be "
      a<b<c<d", but "a < b, a < c, a < d" which are not the same


      replace above with :

      if (
      (high()-low()) <= (high(-1)-low(-1)) &&
      (high()-low()) <= (high(-2)-low(-2)) &&
      (high()-low()) <= (high(-3)-low(-3))
      ) onAction1();

      Last edited by dimitryg1; 04-04-2005, 03:25 PM.

      Comment


      • #18
        Narrow range won't highlight

        I downloaded this file from this forum and cannot seem to get it to work. I made the changes suggested but cannot get it to properly highlight the bars. Right now, when this file is applied to a chart, all the bars disappear. What I want is for a NR4 bar to be highlighted a color different than the price bars. Can you help?

        Mike
        Attached Files

        Comment

        Working...
        X