Interface OhlcvConsolidationAddon

    • Method Detail

      • consolidationUpdateAddon

        DefaultOHLCV consolidationUpdateAddon​(DefaultOHLCV ohlcv,
                                              OHLCVItem incrementItem)
        Base method for addon calculation process
        Parameters:
        ohlcv - existed ohlcv structure
        incrementItem - incremental ohlc item
        Returns:
        enhanced signal
      • consolidationAdditionAddon

        DefaultOHLCV consolidationAdditionAddon​(DefaultOHLCV ohlcv,
                                                OHLCVItem incrementItem)
        Base method for addon calculation process
        Parameters:
        ohlcv - existed ohlcv structure
        incrementItem - incremental ohlc item
        Returns:
        enhanced signal
      • isDynamic

        boolean isDynamic()
        Returns:
        true = addon needs recalculation per tick in the consolidation process, false = the computation is processing by new tick which create new bar. It means in the end of previous closed bar - on close of bar.