Stoller Average Range Channels (STARC) are volatility-based envelopes set above and below a selected moving average. Similarly to Keltner Channels, Average True Range (ATR) is used to plot the upper and lower bands. The moving average is based on the price of the security instead of its typical price.

Hierarchy

Constructors

Methods

  • Gets the indicator name.

    Returns string

    The indicator name.

  • Sets the fill color of the area between the upper and lower bands.

    Parameters

    • newColor: string

      New line color as string, should be in HEX format e.g. #FFFFFF.

    Returns void

  • Sets whether the area between the upper and lower bands should be colored. Use setFillColor() -method to modify the fill color.

    Parameters

    • fillEnabled: boolean

      Set true to enable coloring.

    Returns void

  • Sets the color of all the indicator lines.

    Parameters

    • newColor: string

      New line color as string, should be in HEX format e.g. #FFFFFF.

    Returns void

  • Sets the width of all the indicator lines.

    Parameters

    • newWidth: number

      New line width.

    Returns void

  • Sets the moving average type used to calculate the channel.

    Parameters

    Returns void

  • Sets the multiplier for Average True Range.

    Parameters

    • newMultiplier: number

      New multiplier.

    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 time period counts for the moving average and Average True Range used in STARC calculations.

    Parameters

    • periodCountMA: number

      Moving average period count.

    • periodCountATR: number

      Average True Range period count.

    Returns void

  • Sets which values the indicator calculations are based on.

    Parameters

    • source: Source

      Values to base the calculations on.

    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