AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.core.stock.indicators.PPO Improve this Doc

Price Oscillator (PPO) indicator class. Learn more about the PPO indicator.

Methods Overview

Series
histogramSeries()Indicator PPO Histogram Series instance.
ppoSeries()Indicator PPO Line Series instance.
signalSeries()Indicator Signal Line Series instance.
Specific Indicators Settings
longPeriod()Indicator Long Period settings.
shortPeriod()Indicator Short Period settings.
smoothingPeriod()Indicator Smoothing Period settings.

Methods Description

histogramSeries

Getter for the indicator PPO Histogram Series instance.
Setter for the indicator PPO Histogram Series type.

Params:

NameTypeDefaultDescription
typeanychart.enums.StockSeriesType | string
"column"
Type of the indicator PPO Histogram Series.

Returns:

anychart.core.stock.indicators.PPO - Self instance for method chaining.

longPeriod

Getter for the Long Period.

Returns:

number - The Long Period.
Setter for the Long Period.

Params:

NameTypeDefaultDescription
periodnumber
26
Long Period to set.

Returns:

anychart.core.stock.indicators.PPO - Self instance for method chaining.

ppoSeries

Getter for the indicator PPO Line series instance.
Setter for the indicator PPO Line series type.

Params:

NameTypeDefaultDescription
typeanychart.enums.StockSeriesType | string
"line"
Type of the indicator PPO Line Series.

Returns:

anychart.core.stock.indicators.PPO - Self instance for method chaining.

shortPeriod

Getter for the Short Period.

Returns:

number - The Short Period
Setter for the SHort Period.

Params:

NameTypeDefaultDescription
periodnumber
12
Short Period to set.

Returns:

anychart.core.stock.indicators.PPO - Self instance for method chaining.

signalSeries

Getter for the indicator Signal Line Series instance.
Setter for the indicator Signal Line Series type.

Params:

NameTypeDefaultDescription
typeanychart.enums.StockSeriesType | string
"line"
Type of the indicator Signal Line Series.

Returns:

anychart.core.stock.indicators.PPO - Self instance for method chaining.

smoothingPeriod

Getter for the Smoothing Period.

Returns:

number - The Smoothing Period.
Setter for the Smoothing Period.

Params:

NameTypeDefaultDescription
periodnumber
9
Smoothing Period to set.

Returns:

anychart.core.stock.indicators.PPO - Self instance for method chaining.