Prime Number Oscillator
Finds the nearest prime number from either the top or bottom of the series, and plots the difference between that prime number and the series itself.
This indicator can be used to spot market turning points. When the oscillator remains at the same high point for two consecutive periods in the positive range, consider selling. Conversely, when the oscillator remains at a low point for two consecutive periods in the negative range, consider buying.