there is a missing parameter in the iCustom call.
It says:
iCustom(symbol, timeframe, "SqBBWidthRatio", period, deviation, appliedPrice, shift)
and should say:
iCustom(symbol, timeframe, "SqBBWidthRatio", period, deviation, appliedPrice,0, shift)
I assume it is zero and not some other value. It seems to work as expected with zero.
This is in build 116
Subject changed from sqBBWidthRatio function in MT4 missing a parameter to [116] sqBBWidthRatio function in MT4 missing a parameter