Returns an instance of the class iBands, which calculates the value of the indicator Bands.


SYNTAX


public iBands iBands (Func<int, double> func,int period,MAMode mode,double deviation)


PARAMETERS


func — Func
Function defining the sequence data for the calculation of the indicator


period — int
The number of bars that will be used for calculations


mode — MAMode
сalculation modes of MA indicator


deviation — double
Number of standard deviations


RETURN
iBands Returns an instance of the class iBands


EXAMPLE


PARAMETERS
func — Func
Function defining the sequence data for the calculation of the indicator
period — int
The number of bars that will be used for calculations
mode — MAMode
сalculation modes of MA indicator
deviation — double
Number of standard deviations
RETURN
iBands Returns an instance of the class iBands
EXAMPLE