An indicator that detects a volatility squeeze when ATR falls to a low percentile of its recent range, tracks the high and low of the squeeze, and signals a long or short when price closes beyond that range as the squeeze ends. It plots EMA lines with a ribbon
A smart money indicator that finds swing highs and lows with a pivot length, detects a break of structure, and marks the last opposing candle before it as an order block. When price later closes through that block, the zone flips into a bullish or bearish brea
This overlay indicator plots a range-filter trend baseline on the price chart and marks BUY or SELL when the filter direction flips. It builds the filter from a smoothed average of source changes scaled by a multiplier, then trails price above or below that ra
ARC TrendStepper calculates and plots a stepped trend line directly on the price chart to filter out minor market noise. It updates the stepped value only when price changes exceed a configurable threshold calculated via Ticks, ATR, or percentage move. The ind
A price-chart overlay that draws a static set of options gamma levels for MES (Micro E-mini S&P 500 futures, scaled from SPY options) expiring in seven days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dat
An overlay indicator that detects fair value gaps, where one candle's low is above the high from two bars earlier or the reverse, and inverse fair value gaps. Each gap is drawn as a box with an optional 50 percent midline in a chosen style. Settings choose whe
Calculates the Chaikin Oscillator as the difference between a fast and a slow exponential average of the accumulation and distribution line, with defaults of 3 and 10. It plots in a separate pane around a zero line, with a colour gradient based on recent extre
The Squeeze Momentum BB Enhanced indicator computes a momentum oscillator from close prices using linear regression or SMA. It identifies squeezes between Bollinger Bands and Keltner Channels to flag potential breakouts. Plots include colored momentum lines, f
Market Structure & S/R Zones plots swing pivot points, structural labels, and horizontal support and resistance zones directly on the price chart. Using configurable swing lengths, it identifies swing highs and lows to classify higher highs, higher lows, lower
Ranges with Targets is an indicator that draws horizontal support and resistance lines on the price chart using ATR-based calculations. It detects buy and sell signals from crossovers of close price with the upper and lower range levels. A target multiplier se
Support & Resistance Finder is an indicator that automatically detects key support and resistance levels on the price chart. It identifies pivot highs and lows using customizable lookback periods and level strength parameters, then tracks and maintains the str
A chart-overlay SuperTrend variant whose ATR multiplier shrinks for a limited number of bars after a divergence is found. Divergences are detected with pivots between price and a hidden oscillator, and shown as small markers. If a divergence in the trend direc
Yellow Lines for RS is an overlay indicator that draws horizontal price lines for E-mini S&P 500 and Nasdaq 100 futures. The price levels are typed in by the user in the settings, with three slots per instrument, plus a set of optional preset ES levels. It det
A minimal chart-overlay indicator that plots a 20 and a 50 EMA and prints large buy or sell labels on an EMA cross. A buy also needs volume above 1.5 times its 20-bar average, RSI between 35 and 65 and price above the fast EMA; a sell needs the opposite price
A multi-part overlay that draws support and resistance boxes from pivot highs and lows, sized as a multiple of ATR, with stop loss and two take profit lines based on an ATR stop distance and risk-to-reward ratios. It adds a trend label from a 50 and 200 bar si
A planning utility rather than a market indicator. It shows a named primary goal with up to 20 milestone entries on the price chart, each with an editable name and a completion checkbox. The user sets how many goals are displayed and ticks them off in the sett
This indicator detects swing highs and lows using configurable pivot lookback periods and plots upper and lower trendlines directly on the price chart. Slope angles are dynamically calculated using ATR, standard deviation, or linear regression methods. Breakou
Advanced Market Theory calculates Market Profile, TPO, and Hybrid profiles directly on the price chart. It identifies key structural levels including the Point of Control, Value Area High and Low boundaries, Initial Balance range projections, single prints, po
An indicator on the price chart that finds pivot highs and lows with adjustable left and right bar counts, classifies each into numbered variants using the highs and lows of the neighbouring bars, and connects them as waves. It labels the latest eight pivots,
This overlay indicator is an example multi-symbol screener drawn on the price chart. It exposes an RSI length plus overbought and oversold levels, and boolean switches that turn individual symbols on or off. Column width and screen number control panel placeme
An indicator that draws cumulative volume delta as candles in a separate pane, built from lower timeframe volume for a chosen anchor period. Adjustable positive and negative threshold lines mark bullish and bearish confirmation levels, with the area between th
Calculates standard Relative Strength Index values and identifies positive bullish divergences between price swing lows and RSI lows. The script tracks confirmed pivots using configurable left and right lookback lengths, storing historical pivot prices and ind
The Pivot Points Standard indicator calculates and plots support, resistance, and pivot levels directly on the price chart. It offers multiple calculation algorithms, including Traditional, Fibonacci, Woodie, Classic, Demark, and Camarilla. Users can select pi
This indicator plots Parabolic SAR circles and a configurable exponential moving average on the price chart. It treats the average of open, high, low, and close above the EMA as bullish and below it as bearish. A buy label appears when SAR is below the low, th
This indicator calculates and plots a standard Moving Average Convergence Divergence oscillator in a separate chart pane. It computes the fast MACD line, the slow signal line, and the histogram based on user-configurable short, long, and signal period inputs.
This indicator plots colored volume bars on the price chart, where green shows price up days and red shows price down days. It also draws an EMA of volume in yellow. The script detects bullish and bearish divergences by comparing price highs/lows to volume hig
A separate-pane indicator that computes the Aroon oscillator from how recently the highest high and lowest low occurred over a set length, then smooths it with a zero-lag filter that searches for a best gain value. A second signal line is derived from it. Inpu
This indicator calculates the lunar age from the chart date and marks a new moon above the bar and a full moon below the bar. It also plots the close as a daily 200-period moving average and weekly 20- and 200-period moving averages, each as a simple or expone
An indicator in a separate pane that plots total Commitment of Traders positions for the chart symbol. A display setting chooses long positions, short positions, their sum, their difference or the long share as a percentage of the sum. Other settings pick the
This indicator draws a Fibonacci golden zone from the most recent swing high and swing low on the price chart. It measures that swing over a configurable bar range and places two Fibonacci ratios, defaulting to 0.5 and 0.618, as lines that outline a potential
A compact Pine v5 indicator that draws imbalance zones between candles on the price chart using lines. Two settings are available: a visualization range that sets how many recent imbalances stay on the chart, and a color. Labels are in Spanish and the header c
This indicator calculates multiple smoothed versions of a chosen dataset using Kalman filters with adjustable gain parameters. It plots the resulting lines on the price chart for visual comparison. The main settings allow selection of the input source and togg
This indicator marks engulfing-style candles on the price chart when they also form at a ten-bar swing. A bullish mark requires a prior bearish candle, an open at or below that close, a close at or above that open, a swing low, and RSI below 30. A bearish mark
CM_EMA Trend Bars is a trend-following indicator that plots buy and sell signal shapes on the price chart based on exponential moving average position. It calculates a single exponential moving average (EMA) using a customizable period, defaulting to 34 bars.
A refactored version of a triple SuperTrend overlay. Each of three lines is calculated through helper functions from an ATR period, multiplier and a shared price source, with an option to use wicks or closing prices. Long stops plot in green and short stops in
An overlay for crypto, stocks and commodities that runs two parallel sets of the same staged logic, each with its own RSI length and 21, 50, 100 and 300-period simple moving averages. The logic flags bearish candles with RSI below 20, tracks crosses above the
This indicator measures how far the close sits from a Hull moving average and plots that gap as a percentage in a separate pane. It also calculates an exponential moving average over the same trend length. The plotted line is red above 20, green below zero, an
TrendGlow is a price-chart indicator that recolors candles according to a bullish, bearish, or sideways trend. It imports a BullBear library and can combine Stochastic RSI, MACD, and SMA checks on a user-selected timeframe through request.security. Users toggl
A price-chart overlay that applies the quantitative qualitative estimation method to RSI. It smooths RSI with an exponential average, builds a fast volatility band from the average change in that line, and tracks a trailing line that flips between the upper an
Calculates and plots customizable Ichimoku Kinko Hyo components directly on the price chart. It provides options to display standard Ichimoku lines including Tenkan-sen, Kijun-sen, Senkou Span A, Senkou Span B, and Chikou Span, as well as an overlay for the Ic
A separate-pane indicator that calls an imported helper library to test SMA, MACD, RSI and DMI conditions for long and short setups, plus an ADX check. It plots a green line at 1 when all four long conditions are true and a red line at minus 1 when all four sh
This indicator calculates the Directional Movement Index, including plus DI, minus DI, and a smoothed ADX, then compares confirmed ADX pivots with price pivots to mark divergences. Users set price and ADX lookbacks, a short, medium, or long divergence range, a
This indicator calculates three Simple Moving Averages with periods of 55, 89, and 233 on closing prices and overlays them directly on the price chart. It evaluates a specific bearish crossover pattern where the 55-period fast moving average drops below the 89
A Pine v4 indicator in a separate pane that builds a volatility gauge from the S&P 500 index. It measures the distance of the current low from the highest high over a short window and a window ten times longer, as percentages, adds them and smooths the sum wit
This indicator calculates volatility-based envelopes directly on the price chart. It plots a central exponential moving average of closing prices alongside asymmetric outer bands. The upper band is derived from an EMA of price highs plus a standard deviation o
A combined overlay that bundles several tools in one script. It draws three median-based high/low lines that flip between green and red as price crosses them, support and resistance levels from pivot bars with an optional higher timeframe, Fibonacci levels ove
A separate-pane indicator that combines a squeeze momentum histogram with an ADX-style line. The histogram is a linear regression of price against a channel midline and is coloured by direction and strength, while cross markers on the zero line show whether Bo
This is a minimal test script for an alert-driven trading bot. A single Long input chooses the direction, and on every bar the script fires an alert with a JSON message for a market buy or a market sell of a fixed small Bitcoin amount. It calculates no indicat
Third-party code. ForexR lists open-source Pine scripts from GitHub; it did not write, test or endorse them, and their summaries are generated automatically from each script's code and README. Indicators describe the past, and a strategy's backtest can look better than live trading. Check a script on a demo account before you rely on it. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.
Learn to Use Pine Scripts
Free, plain-English guides: add a script to TradingView, read what it does, test it and avoid the common traps.