AnyChart
API Reference
Still have questions?
Contact support
Top

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

The Psychological Line (PSY) indicator class. Learn more about the PSY indicator.

Methods Overview

Series
series()Indicator series instance.
Specific Indicators Settings
period()Indicator period setting.

Methods Description

period

Getter for the period.

Returns:

number - Indicator period.
Setter for the period.

Params:

NameTypeDefaultDescription
periodnumber
20
Period.

Returns:

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

series

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

Params:

NameTypeDefaultDescription
typeanychart.enums.StockSeriesType | string
"line"
Type of the indicator series (type as "line", "column", "spline").

Returns:

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