I am using HaosVisual averages.ex4 and ran into something I'm unsure about. I highlighted everywhere on the chart (in clrPlum) where the fast value was > 30 or < -30:

With the first circle the highlight should have shown but didn't. For the next two the candles are highlighted but never reach the threshold of 30. I figured it was just a discrepancy between my settings and the indicator but after checking multiple times everything is identical. This is for EURUSD Sept 18, 2020.

Code: Select all

```
enMaTypes maType = ma_lead;
double haosVisFast = iCustom(NULL,0,"HaosVisual averages", 12, ma_lead, 15, 30, -30, 8, ma_lead, 96, 40, -40, false, 6, i);
if(haosVisFast > 30 || haosVisFast < -30) {
doHighlight(i, clrPlum, 1, "", clrPaleGreen, 1,drawPrefix);
//drawVerticalLine(i, clrPaleGreen,1, drawPrefix, haosVisFast + ", haosFast2:"+ haosFast2);
}
enum enMaTypes
{
ma_adxvma, // Adxvma
ma_ahr, // Ahrens moving average
ma_alxma, // Alexander moving average - ALXMA
ma_dema, // Double exponential moving average - DEMA
ma_dsema, // Double smoothed exponential moving average - DSEMA
ma_emas, // Ema derivative - EMAD
ma_ema, // Exponential moving average - EMA
ma_hull, // Hull moving average - HMA
ma_ie2, // IE/2
ma_ie_2, // IE/2
ma_ilinr, // Integral of linear regression slope
ma_itl, // Instantaneous trendline
ma_lagg, // Laguerre filter
ma_lead, // Leader exponential moving average
ma_linr, // Linear regression value - LSMA
ma_lwma, // Linear weighted moving average - LWMA
ma_mcg, // McGinley Dynamic
ma_mcma, // McNicholl ema
ma_nlma, // Non lag moving average
ma_pwma, // Parabolic weighted moving average - PWMA
ma_rmta, // Recursive moving trendline - RMTA
ma_sma, // Simple moving average - SMA
ma_sine, // Sine weighted moving average
ma_smma, // Smoothed moving average - SMMA
ma_smoo, // Smoother
ma_ssm, // Super smoother
ma_b3p, // Three pole Ehlers Butterworth
ma_s3p, // Three pole Ehlers smoother
ma_tma, // Triangular moving average - TMA
ma_tema, // Tripple exponential moving average - TEMA
ma_b2p, // Two pole Ehlers Butterworth
ma_s2p, // Two pole Ehlers smoother
ma_vema, // Volume weighted ema - VEMA
ma_vwma, // Volume weighted moving average - VWMA
ma_zldema, // Zero lag dema
ma_zlma, // Zero lag moving average
ma_zltema // Zero lag tema
};
```

Any help would be much appreciated.

Mark