Lean
$LEAN_TAG$
|
Provides extension methods for the MovingAverageType enumeration More...
Static Public Member Functions | |
static IndicatorBase< IndicatorDataPoint > | AsIndicator (this MovingAverageType movingAverageType, int period) |
Creates a new indicator from the specified MovingAverageType. So if MovingAverageType.Simple is specified, then a new SimpleMovingAverage will be returned. More... | |
static IndicatorBase< IndicatorDataPoint > | AsIndicator (this MovingAverageType movingAverageType, string name, int period) |
Creates a new indicator from the specified MovingAverageType. So if MovingAverageType.Simple is specified, then a new SimpleMovingAverage will be returned. More... | |
Provides extension methods for the MovingAverageType enumeration
Definition at line 23 of file MovingAverageTypeExtensions.cs.
|
static |
Creates a new indicator from the specified MovingAverageType. So if MovingAverageType.Simple is specified, then a new SimpleMovingAverage will be returned.
movingAverageType | The type of averaging indicator to create |
period | The smoothing period |
Definition at line 32 of file MovingAverageTypeExtensions.cs.
|
static |
Creates a new indicator from the specified MovingAverageType. So if MovingAverageType.Simple is specified, then a new SimpleMovingAverage will be returned.
movingAverageType | The type of averaging indicator to create |
name | The name of the new indicator |
period | The smoothing period |
Definition at line 82 of file MovingAverageTypeExtensions.cs.