Skip to main content
Studies · Momentum

Prime Number Oscillator

primeNumberOscillator · The distance from the price to the prime nearest it

Drawn in its own panelReads one column (close here)Guide lines at 0
Hover the chart to read values · practice data: a seeded random walk with no overnight gaps

What it measures

The distance from the price to the prime number nearest to it, positive when price is above that prime and negative when below.

How traders use it

  • Used by a small number of traders who treat primes as price levels, to see whether price is leaning above or below the nearest one.
  • A niche study; best paired with more established tools.

Parameters

None — the study is fully defined by its formula.

Good to know

Only meaningful for prices above 2.