This indicator uses the SuperTrend to generate direction changes that calculate segment returns and update a cumulative equity curve. It starts with a balance of 100 and compounds returns for each signal segment until the next direction change, then plots the
This indicator draws Fibonacci-based time projections as horizontal lines and price projections as vertical lines on the price chart. Users select a start time and candle, then set the number of bars for time steps and initial price gap. The script calculates
A separate-pane indicator adapted from the AK MACD Bollinger Bands idea. It draws MACD-based Bollinger bands whose fill colour follows RSI against its moving average and the 55 and 45 levels. Buy and sell markers come from multi-timeframe alignment, using an a
A bearish mirror of a signal hub indicator that bundles many detection groups into plots on the price chart. Groups include White Flag momentum, overlap and super patterns, fauna clusters, relative volume windows, first two bars, a swing top and a pullback-and
This indicator draws a Gann box on the price chart between the latest swing high and swing low found within a lookback window, with Fibonacci-style percentage levels, labels and optional grid lines. Gann fans, angles and curves can be turned on, and the box ca
This indicator overlays historical ARK Invest trade markers for CrowdStrike (CRWD) on the price chart. It places green buy labels below bars and red sell labels above bars at fixed dates, with text such as Buy or Sell and an X1 count. The ETF input switches be
This indicator plots Minkowski distance values in a separate pane. A function measures distance between two points using exponent p, matching Manhattan distance when p is 1 and Euclidean distance when p is 2. It plots fixed sample distances for those cases and
This indicator plots a Laguerre-filtered percentage price oscillator in a separate pane. It builds short and long Laguerre filters of the midpoint price, forms two PPO series, and ranks each over its own lookback. Tops and bottoms are averaged and rescaled bet
This indicator plots John Ehlers' Hann-windowed RSI in a separate pane. It weights successive price differences with Hann window coefficients, then normalizes the weighted up and down sums into a bounded oscillator between minus one and plus one. A period inpu
This indicator plots the close of BATS-listed AAPL on the chart timeframe in a separate pane, using a broken line style. It builds a tickerid for that symbol limited to the regular session, but the security call shown uses the plain BATS:AAPL symbol and reques
This indicator calculates the Rate of Change Percentage (ROCP), measuring the relative percentage difference between the current price source and its value a specified number of bars ago. It includes explicit warm-up tracking to ensure deterministic evaluation
This indicator plots the McGinley Dynamic as a single line on the price chart. It seeds the line with an exponential moving average of the close, then updates each bar by adding a fraction of the gap between price and the previous value. That fraction depends
Smart Money Dashboard plots key Smart Money Concepts on the price chart, including Order Blocks with mitigation tracking, Fair Value Gaps, and Equal Highs or Lows sweeps. It analyzes Cumulative Volume Delta for divergence and combines multi-timeframe structure
This indicator segments recent price bars into customizable groups and plots visual ruler boxes, numbering, and trendlines directly on the price chart. It calculates geometric trend angles across block segments and can render composite candles representing agg
Calculates and plots key high and low reference levels based on a selected candle timeframe (1-hour or 4-hour) starting at a specific New York session hour (1 AM, 5 AM, or 9 AM). The indicator tracks the high and low prices of the specified candle, resetting d
This indicator adapts the built-in TradingView volume tool by adding extended visualization options in a separate pane. It plots volume columns colored by price direction relative to the open or previous close, alongside a simple moving average of volume. An o
This indicator calculates the Ulcer Index as a measure of downside volatility. It tracks the highest source value over the chosen lookback, converts the percentage drawdown from that high into a squared average, and takes the square root. The value plots as a
This indicator splits price into SuperTrend segments and accumulates the percentage of up and down closes inside the active segment. It compares the live net move with the mean and standard deviation of earlier closed segments in the same direction, then plots
This indicator plots a ribbon of seven exponential moving averages based on Fibonacci lengths (8, 13, 21, 34, 55, 89, and 144) directly on the price chart. It calculates volume-weighted distance gaps between consecutive moving averages normalized against a 50-
A separate-pane momentum indicator that combines fast and slow RSI, smoothed momentum, an ATR trend band and a memory of past similar setups to score each bar. A weighted confidence and rank are built from similarity, momentum agreement, trend alignment, volat
A signal hub indicator that bundles many detection groups into plots on the price chart, in a tick-chart-safe build. Groups include White Flag momentum, overlap and super patterns, fauna clusters, relative volume windows, first two bars, a swing bottom and a p
This indicator draws a Gann box on the price chart between the latest swing high and swing low found within a lookback window, with Fibonacci-style percentage levels, labels and optional grid lines. Gann fans, angles and curves can be turned on, and the box ca
The CSOD-tracker indicator visualizes historical institutional purchases and sales directly on the price chart by plotting buy and sell labels with corresponding ETF count markers. It utilizes predefined timestamp records to display trade events for the specif
Bar Pattern Statistics Tool evaluates sequential candlestick formations and displays historical occurrence statistics in a separate pane. It classifies individual price bars into types such as inside bars, outside bars, up bars, down bars, and directional pin
This indicator plots a logistic difference oscillator in a separate pane. It measures the price change over a lookback window as markup and discount, passes both through a sigmoid, and smooths the results with linear regression. The main line is lime or red ar
This indicator calculates John Ehlers' two-pole Highpass Filter (HPF) to isolate cyclic noise from market data. By subtracting the highpass filter output from the input price series, it removes high-frequency fluctuations and plots the smooth underlying trend
This indicator smooths each of the open, high, low and close series with a simple moving average and plots those four values as candles. A user-defined function applies the same length to every price component, then plotcandle draws the result in a separate pa
This indicator calculates the Schaff Trend Cycle oscillator using custom exponential moving averages with deterministic warm-up logic. It computes a MACD line from user-defined fast and slow lengths, passes it through a double stochastic calculation over a spe
The Median indicator calculates the median of a selected source series such as the high-low average over a user-defined length and plots it as a red line on the price chart. It draws an EMA of the median as a blue line and fills the space between them, changin
This indicator plots a four-layer Smart Money Concepts framework directly on the price chart. It maps external and internal market structure points (HH, HL, LH, LL), projects structural expectation zones for upcoming swing levels, detects Break of Structure (B
This indicator segments recent price bars into defined groups and visual boxes to serve as a visual chart ruler. It includes automated trend detection with configurable angle thresholds to plot uptrend, downtrend, and range segments directly on the price chart
Forex Majors 4H Rejection Scanner tracks seven customizable currency pairs on a four-hour timeframe and displays their bias in a table overlay on the main price chart. It checks the last two closed four-hour candles for high or low price rejections, labeling a
This indicator tracks the all-time high and all-time low of the current symbol from daily data. It draws optional green and red horizontal lines across the price chart and can show a table with each extreme’s date, days elapsed, price, percent distance from th
This indicator plots a Variable Index Dynamic Average on the price chart. It smooths the selected source with an exponential factor that scales by a volatility index, the ratio of a five-bar standard deviation to the standard deviation over the chosen period,
This indicator plots the SuperTrend line directly on the price chart and evaluates historical trend segments. Whenever the SuperTrend flips direction, it records simulated long or short returns from flip to flip, plotting percentage return labels above or belo
Flat Multiplier is a Fibonacci flat indicator that plots stepped price lines on the chart. It sets a range using start and end timestamps, then extends the price with time and height multipliers based on Fibonacci ratios to calculate new levels. The red line s
A trend flip indicator on the price chart with BUY and SELL labels. It builds a zero-lag trail from ATR and an optional volume-weighted source, then lets a flip through only when several gates pass: choppiness, baseline slope, volatility expansion, efficiency
A non-repainting high-volume marker indicator that flags bars whose volume is the highest over lookbacks from 50 to 1000 bars in steps of 50, plus an all-time high volume level and hot spot signals. Every comparison uses the prior confirmed bar, so signals do
This indicator draws a Gann box on the price chart between the latest swing high and swing low found within a lookback window, with Fibonacci-style percentage levels, labels and optional grid lines. Gann fans, angles and curves can be turned on, and the box ca
This indicator plots historical ARK Invest buy and sell events for CSTL on the price chart. It places green labels below bars for buys and red labels above bars for sells, each dated with a fixed timestamp and marked with an ETF count such as X1. The ETF input
This indicator tracks and analyzes custom candlestick bar sequences in a separate pane. Users can define a pattern sequence of up to ten consecutive bars using specific criteria such as inside bar, outside bar, up bar, down bar, pin bar, or any bar type. The s
This indicator calculates normalized percentage bounds around price highs and lows to anticipate local trend reversals. It oscillates within a fixed -1 to 1 channel and plots two boundary tracking curves alongside a background Karobein oscillator histogram for
Calculates the dominant cycle period of a price series using John Ehlers' Hilbert Transform algorithm, cross-checked against the TA-Lib implementation. It applies weighted price smoothing, FIR detrending, in-phase and quadrature component processing, and a hom
Educational Pine Script v4 indicator demonstrating how to request symbol data using the session settings of the main chart symbol. The script builds a custom ticker ID for a target ticker while inheriting the current session type, requests closing prices via t
Calculates the linear regression slope for a selected price source over a configurable rolling lookback window. It tracks running sums using ring buffers to determine the rate of price change per bar. Configurable settings include the lookback period and price
This indicator calculates momentum as the difference between the selected source and its value a chosen number of bars earlier. It plots that difference as a single line in a separate pane. The Length input sets the lookback, and the Source input selects which
This indicator plots a double-smoothed Supertrend baseline on the price chart, combining a Supertrend midline with WMA and EMA smoothing to show trend direction. Direction uses an ATR-scaled baseline slope with hysteresis, while percentile-ranked slope magnitu
This multi-timeframe indicator calculates Stochastic oscillator directional bias across three user-defined timeframes. It compares %K and %D to determine whether momentum is bullish or bearish on each timeframe. When all three timeframes align in the same dire
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.