Class EmaRTIndicator

All Implemented Interfaces:
ClockAware, Resettable, CacheableRTIndicator, RTIndicator

public class EmaRTIndicator extends AbstractEmaRTIndicator implements CacheableRTIndicator
EMA RT Indicator
  • Constructor Details

    • EmaRTIndicator

      public EmaRTIndicator(int periods)
    • EmaRTIndicator

      public EmaRTIndicator(int periods, RTIndicator indicator)
  • Method Details

    • signature

      public String signature()
      Periods and source chain — the smoothing factor is 2 / (periods + 1), so periods alone pins the arithmetic.
      Specified by:
      signature in interface CacheableRTIndicator
      Returns:
      the identity, or null when this instance cannot state one (an unidentifiable source, a mode the implementation does not model) and must therefore compute live