Rainbow Oscillator is a trend-following indicator based on several recursive smoothings via moving averages of the price. The indicator finds the highest and lowest values among these averages and creates an oscillator and a bandwidth based on them.
Disposes the indicator.
Gets the indicator name.
The indicator name.
Sets whether the area between the high and low lines is colored.
Set true to enable fill.
Sets the width of the band lines.
New line width.
Sets how many time periods are checked when finding out the highest and lowest prices.
The number of lookback periods.
Sets the type of moving average used to calculate the smoothings.
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 colors of the bars.
The color of the oscillator, when above zero value.
The color of the oscillator, when below zero value.
Sets the number of time periods used to calculate each moving average..
New period count.
Sets the number of times the oscillator is smoothed by calculating a moving average.
The number of smooths.
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.
Rainbow Oscillator is a trend-following indicator based on several recursive smoothings via moving averages of the price. The indicator finds the highest and lowest values among these averages and creates an oscillator and a bandwidth based on them.