This is a custom version of Elder Thermometer. It compares current High and Low values to High and Low values specific time periods ago, and creates a histogram based on the result.

Hierarchy

Constructors

Methods

  • Gets the indicator name.

    Returns string

    The indicator name.

  • Sets the colors of the bars.

    Parameters

    • bullColor: string

      The color of the bullish bars, should be in HEX format e.g. #FFFFFF.

    • bearColor: string

      The color of the bearish bars, should be in HEX format e.g. #FFFFFF.

    Returns void

  • Sets the name of the indicator.

    Parameters

    • name: string

      New indicator name.

    Returns void

  • Moves the indicator from its calculated position forward or backward.

    Parameters

    • newOffset: number

      New offset value.

    Returns void

  • Sets the number of time periods used to calculate the indicator.

    Parameters

    • newPeriodCount: number

      New period count.

    Returns void

  • Sets the type of the indicator's value label(s).

    Parameters

    Returns void

  • Sets the visibility of the indicator. Hiding the indicator via setVisible(false) does not remove it. Use dispose() to delete any indicator.

    Parameters

    • visible: boolean

      Visibility of the indicator.

    Returns void

  • Programmatically opens the indicator settings menu.

    Returns void