Exponential Moving Average (EMA)

Path: Indicators

Returns exponential moving average indicator value.

 public double Indicators.EMA(int MA_Period, int BarIndex = 0);

Parameters

MA_Period int

MA_Period is period of exponential moving average.

BarIndex int

BarIndex is index of bar to get value.

Returns

value double

Returns double value.

Remarks

EMA is a predefined indicator using this function you can get indicator value.

Example

  var value = Indicators.EMA(14, 0);