Indicators: Fast ZigZag

To add comments, please log in or register
Automated-Trading
148177
Automated-Trading  

Fast ZigZag:

The easiest and fastest zigzag.

Author: Yury Kulikov

strontiumDog
301
strontiumDog  

Yury,

The first line in your onCalculate is

for(int i=calculated>0?calculated-1:0; i<total-1; i++)

 On my backtest, calculated starts at 262.  Total is also 262.  This means that the indicator does not descend into the for loop as 261 !< 261.

But the indicator still paints zigzag red lines on the backtester.  How is this the case?

Thanks 

Angel Del Olmo
868
Angel Del Olmo  

Is there a MT4 version?

Thanks

Yury Kulikov
66233
Yury Kulikov  
Angel Del Olmo:

Is there a MT4 version?

Thanks

https://www.mql5.com/ru/forum/7674/page4#comment_306300

Индикаторы: Быстрый ЗигЗаг
Индикаторы: Быстрый ЗигЗаг
  • 2012.09.03
  • www.mql5.com
Статьи и техническая библиотека по автоматическому трейдингу: Индикаторы: Быстрый ЗигЗаг
To add comments, please log in or register