Liner Weighted Moving Average (LWMA)
Path: Indicators
Returns liner weighted moving average indicator value.
public double Indicators.LWMA(PriceTypes AppliedPrice, int MA_Period, int BarIndex = 0);
Parameters
AppliedPrice PriceTypes
Price type for value calculation.
MA_Period int
MA_Period is period of liner weighted moving average.
BarIndex int
BarIndex is index of bar to get value.
Returns
value double
Returns double value.
Remarks
LWAMA is a predefined indicator using this function you can get indicator value.
Example
var value = Indicators.LWMA(PriceTypes.Close, 14, 0);