com.jfx
Class MovingAverageMethod

java.lang.Object
  extended by com.jfx.MovingAverageMethod

public class MovingAverageMethod
extends java.lang.Object

Moving Average calculation method used with iAlligator(), iEnvelopes(), iEnvelopesOnArray, iForce(), iGator(), iMA(), iMAOnArray(), iStdDev(), iStdDevOnArray(), iStochastic() indicators.


Field Summary
static int _MODE_EMA
           
static int _MODE_LWMA
           
static int _MODE_SMA
           
static int _MODE_SMMA
           
static MovingAverageMethod MODE_EMA
          Exponential moving average
static MovingAverageMethod MODE_LWMA
          Linear weighted moving average
static MovingAverageMethod MODE_SMA
          Simple moving average
static MovingAverageMethod MODE_SMMA
          Smoothed moving average
 int val
           
 
Method Summary
static MovingAverageMethod getMovingAverageMethod(int val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_SMA

public static final MovingAverageMethod MODE_SMA
Simple moving average


_MODE_SMA

public static final int _MODE_SMA
See Also:
Constant Field Values

MODE_EMA

public static final MovingAverageMethod MODE_EMA
Exponential moving average


_MODE_EMA

public static final int _MODE_EMA
See Also:
Constant Field Values

MODE_SMMA

public static final MovingAverageMethod MODE_SMMA
Smoothed moving average


_MODE_SMMA

public static final int _MODE_SMMA
See Also:
Constant Field Values

MODE_LWMA

public static final MovingAverageMethod MODE_LWMA
Linear weighted moving average


_MODE_LWMA

public static final int _MODE_LWMA
See Also:
Constant Field Values

val

public int val
Method Detail

getMovingAverageMethod

public static MovingAverageMethod getMovingAverageMethod(int val)


Copyright © 2008-2009 Roman Gerasimenko.