The
| Parameter | Description |
| maPeriod | Period for the moving average which forms the centre of the channel (defaulting to 20) |
| maType | Type of moving average. Defaults to an exponential moving average (ema / 1). |
| atrPeriod | Period for the ATR calculation (doesn't have to be same as the moving-average period, and separately defaults to 10) |
| atrMultiple | Multiple of the ATR value for calculating the upper and lower bands (defaults to 2) |
The primary output value -
| Parameter | Description |
| GetUpper(idx) | Gets the upper band at index |
| GetLower(idx) | Gets the lower band at index |
| GetUpperArray() | Returns an array of all upper-band values |
| GetLowerArray() | Returns an array of all lower-band values |