This bug have gone unnoticed for awhile.
Currently the code inside DrawPeaks function is
Code: Select all
//Adapt them if they are too short to be visible on the chart
if (currentPeakHighBar < 4)
currentPeakHighBar = 4;
if (currentPeakLow < 4)
currentPeakLowBar = 4;
The code should be
Code: Select all
//Adapt them if they are too short to be visible on the chart
if (currentPeakHighBar < 4)
currentPeakHighBar = 4;
if (currentPeakLowBar < 4)
currentPeakLowBar = 4;