Prime Number Oscillator (PNO) finds the nearest prime number to the current price and plots the difference as an oscillator line.
Disposes the indicator.
Gets the indicator name.
The indicator name.
Sets the line color of the indicator.
New line color as string, should be in HEX format e.g. #FFFFFF.
Sets the line width of the indicator.
New line width.
Sets the name of the indicator.
New indicator name.
Moves the indicator from its calculated position forward or backward.
New offset value.
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.
Prime Number Oscillator (PNO) finds the nearest prime number to the current price and plots the difference as an oscillator line.