Download MetaTrader 5

ZigZag depth issue

To add comments, please log in or register
Richard
79
Richard  

I compiled a pre 600 mq4; there were no errors, no warnings. When I attached it to a chart, nothing is displayed. It is supposed to draw trendlines; it uses ZigZag.mq4.

After some checking, I realized that if the depth in ZigZag is set below 4, it no longer displays the trendline and ZigZag is automatically removed from the chart.

Why does that happen and how can it be fixed?

Alain Verleyen
Moderator
32402
Alain Verleyen  
rwbta:

I compiled a pre 600 mq4; there were no errors, no warnings. When I attached it to a chart, nothing is displayed. It is supposed to draw trendlines; it uses ZigZag.mq4.

After some checking, I realized that if the depth in ZigZag is set below 4, it no longer displays the trendline and ZigZag is automatically removed from the chart.

Why does that happen and how can it be fixed?


https://www.mql5.com/en/forum/149492
To add comments, please log in or register