The Elder-Ray Index, also known as Elder-Ray Power Indicator, measures the market consensus over a period of time. It consists of two indicators: Bull Power measuring the buying pressure and Bear Power measuring the selling pressure.
Disposes the indicator.
Gets the indicator name.
The indicator name.
Sets the color of the Bear Power line.
New line color as string, should be in HEX format e.g. #FFFFFF.
Sets the color of the Bull Power line.
Sets the line width of the indicator.
New line width.
Sets the type of Moving Average used in Elder-Ray Index calculations.
Moving Average type.
Sets the name of the indicator.
New indicator name.
Moves the indicator from its calculated position forward or backward.
New offset value.
Sets the number of time periods (n) used to calculate the indicator.
New period count.
Sets which values the indicator calculations are based on.
Values to base the calculations on.
Sets the type of the indicator's value label(s).
Value label type.
Sets the visibility of the indicator. Hiding the indicator via setVisible(false) does not remove it. Use dispose() to delete any indicator.
Visibility of the indicator.
Programmatically opens the indicator settings menu.
The Elder-Ray Index, also known as Elder-Ray Power Indicator, measures the market consensus over a period of time. It consists of two indicators: Bull Power measuring the buying pressure and Bear Power measuring the selling pressure.