if (BeginValue(BarIndex()) != 0 AND EndValue(BarIndex()) != BarCount-1) {Just copy paste this at the end of your price afl and use range selection. To select a range, double click in the chart on your 1st bar and then double click again on your last bar. You will see green and red vertical lines and the number of bars is displayed under the title. Double click again on one of the start or end bars to deselect the range.
range = EndValue(BarIndex())-BeginValue(BarIndex());
Title += StrFormat("\nRange Bars: %g", range);
}
Bar counting is useful identifying Wolfe Wave patterns and other time-symmetry sensitive patterns.
Example chart below:
2 comments:
Thanks a lot doji
Renu
You are welcome :)
Post a Comment