public class Open extends CachelessIndicator<Num>
Open is a Num Indicator to provide Bar.getOpen().
See Also:
  • Constructor Details

  • Method Details

    • open

      public static Open open(BarSeries barSeries)
      Gets a Open.
      Parameters:
      barSeries - the BarSeries
    • calculate

      protected Num calculate(long index)
      Description copied from class: Indicator
      Performs the calculation of this Indicator at the given index.
      Specified by:
      calculate in class Indicator<Num>
      Parameters:
      index - the index
      Returns:
      the result (never null)