OPEN-SOURCE SCRIPT
Pivot Points | Falcon AI

Draws Classic and Camarilla pivot levels from the previous period's high, low and close, on a daily or weekly anchor.
Classic pivots give you the central pivot plus three supports and three resistances, derived from the standard published formula. Camarilla uses a tighter multiplier set, so its levels sit closer to price and are read differently: the inner pair as mean-reversion boundaries, the outer pair as breakout markers. Both are drawn from the same prior-period data, so you can see where the two frameworks agree or disagree on a given day.
Levels are drawn as extended lines with optional labels and refresh automatically when a new period begins. You can show either set on its own or both together, and switch the anchor between daily and weekly. Only the current period extends to the right and carries labels, so the chart stays readable as history builds.
Settings: pivot period (Daily / Weekly), method (Classic / Camarilla / Both), include current unclosed period on or off, how many R/S pairs to show, periods of history to keep drawn, colours, widths, label side, info panel.
A note on repainting: by default the levels come from the last CLOSED period and stay fixed all session. Turning on "Include current (unclosed) period" deliberately opts into levels that move as the period develops.
This script does NOT place trades, does NOT backtest, and contains no entry, stop, or position-sizing logic. It draws reference levels and nothing more. Your entry, your risk.
Educational tool only. Not financial advice and not a recommendation to buy or sell. Past price behaviour around any level does not predict future behaviour.
Classic pivots give you the central pivot plus three supports and three resistances, derived from the standard published formula. Camarilla uses a tighter multiplier set, so its levels sit closer to price and are read differently: the inner pair as mean-reversion boundaries, the outer pair as breakout markers. Both are drawn from the same prior-period data, so you can see where the two frameworks agree or disagree on a given day.
Levels are drawn as extended lines with optional labels and refresh automatically when a new period begins. You can show either set on its own or both together, and switch the anchor between daily and weekly. Only the current period extends to the right and carries labels, so the chart stays readable as history builds.
Settings: pivot period (Daily / Weekly), method (Classic / Camarilla / Both), include current unclosed period on or off, how many R/S pairs to show, periods of history to keep drawn, colours, widths, label side, info panel.
A note on repainting: by default the levels come from the last CLOSED period and stay fixed all session. Turning on "Include current (unclosed) period" deliberately opts into levels that move as the period develops.
This script does NOT place trades, does NOT backtest, and contains no entry, stop, or position-sizing logic. It draws reference levels and nothing more. Your entry, your risk.
Educational tool only. Not financial advice and not a recommendation to buy or sell. Past price behaviour around any level does not predict future behaviour.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
📊 Falcon AI — World's most transparent algo trading service ·Automated Futures strategies · 14-day Setup Guarantee. Free community & live results → thefalconai.com
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
📊 Falcon AI — World's most transparent algo trading service ·Automated Futures strategies · 14-day Setup Guarantee. Free community & live results → thefalconai.com
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.