A multi-part overlay for the price chart. Based on its settings, it projects a higher-timeframe candle to the right of price, chosen automatically or manually, and tracks accumulation, manipulation and distribution phases in the Power of 3 idea. It also includ
A tick-chart-safe conversion of a volume pattern indicator that draws toggleable signals on the price chart. It covers relative volume patterns such as SAAB, Kratos, Grand Slam, Hiroshima and Nagasaki, five long and two short setups, high-volume markers from 1
A Pine Script v5 indicator on the price chart that counts consecutive closes against the close four bars earlier, separately for falling and rising markets, and adds a bonus count that compares closes with two bars earlier once the setup passes nine. The count
An indicator that reports the growth rate and compound annual growth rate between the first and last visible bars of the chart. It uses the open of the leftmost visible bar and the close of the rightmost visible bar, then shows both values as percentages in a
The Zero Lag Exponential Moving Average indicator calculates and plots a moving average designed to minimize lag relative to price action. It achieves this by subtracting price data from a prior lag period prior to smoothing with an exponential moving average.
CGENM-tracker marks recorded ARK Invest activity for the CGENM stock directly on the price chart. The visible code places three red downward labels reading Sell above the bars for 12, 13, and 16 November 2020, using bar timestamps and above-bar placement. It d
This indicator computes the Ehlers Correlation Cycle in a separate pane. It correlates a chosen price source with cosine and negative-sine waves of a fixed period, then converts those real and imaginary components into a phasor angle that cannot move backward.
This indicator walks a user-set lookback and compares the current true range with each earlier true range. It adds the sign of each difference into a running balance, plots that balance in a separate pane, and draws a zero line. For every step it also draws a
This indicator calculates the midpoint between each bar's open and close as half their sum and plots that series on the price chart. A small function multiplies the sum by one half instead of dividing, which the source notes as a performance choice. There are
This indicator summarizes higher-timeframe candle range statistics by time of day and shows them in a table in a separate pane. It groups candles into slots for 5-minute, 15-minute, 1-hour, 4-hour, 8-hour, or 12-hour periods over a chosen lookback in days, and
This indicator identifies and highlights bearish kicking candlestick patterns directly on the price chart. It searches for a two-bar formation consisting of a bullish marubozu followed by a bearish marubozu that opens with a gap down below the prior candle's l
This indicator scores each pivot-to-pivot price leg from 0 to 100 and draws the result on the price chart. It combines path efficiency, time efficiency, and counter-pressure, then colors completed leg lines and optional labels. A live score updates on the unfi
This indicator plots 20-period and 200-period Simple Moving Averages on the main price chart while requesting multi-timeframe state data from a higher timeframe. It measures the percentage distance and slope between the two moving averages to detect narrow, pa
This indicator overlays a CRT state engine on the price chart using New York time. It tracks optional 1AM, 5AM and 9AM models, session states, market structure, liquidity pools, and a volume profile with point of control and value area. Live entry markers need
Indicatorv5SMC / ICT / price actionSessions & time
This indicator calculates a 14-period Relative Strength Index on the close and turns the result into a directional signal. It sets a buy when RSI crosses above 40 and a sell when RSI crosses below 60, then stores plus one, minus one, or zero. The value is plot
The SGMA indicator calculates a smoothed value using the Savitzky-Golay filter with polynomial fitting. It plots the result as an overlay on the price chart. The main settings are the lookback period (window size) and polynomial degree. The filter applies weig
This indicator loads the Federal Reserve total-assets series through the Quandl FRED/WALCL feed and plots it in a separate pane. When the published balance-sheet value changes, it calculates the percentage change in that series and the percentage change in the
This minimal script serves as a parser test fixture within the OptiPine test suite. It runs in Pine Script v6 and plots the closing price in a separate pane while deliberately including duplicate title parameters in the plot call. The script contains no user-c
This indicator evaluates trading signals across up to twenty cryptocurrency pairs using four core analytical dimensions: trend, momentum, volatility, and volume. It generates signals based on configurable confluence modes, including single-category triggers, s
This indicator implements a dynamic version of the Ichimoku Cloud system on the price chart. Pivot detection sets a variable length for the Kijun-sen line based on recent highs and lows, while Tenkan-sen uses a fixed input length. Senkou Span A and B form the
An overlay indicator that splits each candle on the chart into horizontal rows and measures, using lower-timeframe candles, how bullish or bearish the price action was inside each row. Each row is labeled with a strength percentage and colored on a red to teal
A volume pattern indicator that draws toggleable signals on the price chart. It includes relative volume patterns such as SAAB, Kratos, Grand Slam, MOAB, Hiroshima and Nagasaki, several long and short setups, high-volume markers across a range of lookbacks, an
A Pine Script v5 indicator that approximates a Tom DeMark style count on the price chart. It compares each bar with the one four bars earlier, keeps a running count over a lookback window, and plots a green up triangle at nine and a red down triangle at thirte
Experimental overlay that marks the day's high and low and the session open on the price chart, with lines, labels and background shading. It includes special handling for Moscow Exchange futures sessions (main and evening) and uses lower-timeframe requests to
Moving Average Channel plots separate simple moving averages for upper and lower bands on the price chart. It fills the space between bands with semi-transparent color and colors bars green above the upper band, red below the lower band, or gray in between. Us
This indicator plots historical buy and sell transactions executed by ARK Invest for Cloudera directly on the price chart. It renders visual labels at specific bar timestamps to show transaction dates and trade counts across tracked funds. The primary setting
This utility indicator calculates and plots the total number of days in a specified calendar month and year. It plots a constant numeric value in a separate pane based on user-defined inputs for the year and month. The underlying function bounds the month inpu
This indicator plots John Ehlers' Cyber Cycle in a separate pane. It smooths the chosen source with a four-bar FIR filter, then applies a two-pole high-pass IIR filter to isolate the dominant cycle. A one-bar delayed trigger line supports crossover reading aga
This overlay indicator shows how a value computed inside a function can be read outside it. A one-element float array stores the current average of high, low, close, and the previous average, falling back to close when that average is missing. The function the
This indicator calculates the arithmetic average of the open, high, and low prices for every bar and plots the resulting series directly on the main price chart. The calculation uses constant multiplication rather than division to optimize execution speed. It
This indicator plots multi-timeframe swing highs and lows on the price chart. It finds pivots with Bill Williams fractals or, when the filter is on, a stricter regular fractal, then stores the latest high and low. Users can show daily, four-hour, one-hour, 30-
This indicator detects a bullish kicking candlestick pattern on the price chart. It marks a two-candle sequence in which the prior candle is a black marubozu and the current candle is a white marubozu that gaps above the prior high. A K label is drawn below th
This indicator measures the relative strength of a chart symbol compared to a benchmark symbol, such as SPY or QQQ. It plots either a raw relative strength ratio or a Mansfield RS oscillator in a separate pane. Confluence signals trigger when relative strength
Predictive Moving Average Convergence Divergence - Ryder calculates a classic MACD oscillator with customizable fast, slow, and signal lengths. In addition to plotting the standard MACD line, signal line, and histogram in a separate pane, it calculates forward
This indicator implements an institutional candle range theory (CRT) and Smart Money Concepts framework on the price chart. It detects internal and swing order blocks, market structure transitions, change in structure direction, liquidity sweeps, and session p
This indicator combines a standard relative strength index (RSI) with a Heikin Ashi moving average trend visualization in a separate pane. It calculates the RSI along with a customizable moving average overlay supporting SMA, EMA, SMMA, WMA, and VWMA types. Ad
This indicator estimates a normal-inverse Gaussian distribution from recent log returns and approximates the probability of price falling in each return bin. It measures mean, standard deviation, skewness, and kurtosis over a rolling window, then sets the bin
This script calculates and plots a Simple Moving Average on the price chart. It uses a custom function with circular buffer and running sum for efficient computation of the SMA value from the chosen source, defaulting to close prices. The primary setting allow
This indicator demonstrates how to configure and separate multiple alert triggers using input toggles. It calculates a 7-period RSI to identify overbought and oversold conditions, alongside candlestick confirmations when price closes against the extreme. Signa
This indicator plots an exponential moving average of the close price in a separate pane. The average length is not a user setting. On each bar it equals the bar index modulo ten, plus one, so the length cycles through the integers from one to ten. Because the
This indicator plots open, high, low, and close for eleven user-selected symbols in a separate pane, using the chart timeframe. The chart symbol supplies the first series, while the others are requested from Binance USDT perpetual pairs by default. Symbol inpu
This indicator plots a dynamic base curve and its forward-shifted version on the price chart. The base curve is calculated as a moving average of close prices, or the highest high, or the lowest low over a shift length determined by the time intervals t1 and t
A trend indicator drawn on the price chart that plots EMA 9, 21, 50 and SMA 200 with shaded clouds between them. Buy and sell conditions are filtered by RSI thresholds, a minimum and rising ADX, relative volume, and a smart range filter that skips small or cho
A tick-chart-safe version of a volume pattern indicator that draws toggleable signals on the price chart. It includes relative volume patterns such as SAAB, Kratos, Grand Slam, Hiroshima and Nagasaki, long and short setups, and high-volume markers from 150 to
A Pine Script v5 indicator that draws bullish and bearish order block zones on the price chart, with volume information shown inside each zone. Swing length sets how pivots are found, zones can be combined, sized with a maximum ATR multiplier and limited to a
This indicator plots the Williams Vix Fix and an inverted counterpart in a separate pane. It measures how far the low sits below the highest close over a lookback, and the inverse measures how far the high sits above the lowest close. Each series has a moving-
This indicator plots historical buy and sell transactions executed by ARK Invest for Cellectis S.A. (CLLS) directly on the price chart. It renders green upward labels below price bars for purchase dates and red downward labels above price bars for sales dates,
This overlay indicator plots a simple moving average of close as a center line and two pairs of bands around it. Width equals the standard deviation of close times the base-ten log of the ratio of the powered signal to the powered deviation. A second pair keep
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.