This indicator plots a trimmed mean moving average of the close on the price chart. It sorts each lookback window, drops a user-set percentage of the lowest and highest values from each tail, and averages the remaining middle portion. Period sets the window le
This indicator calculates a weighted moving average of a chosen price source and plots the result on the price chart. It uses TradingView's built-in weighted moving average function, so more recent bars receive greater weight than older bars. Length sets the n
This overlay indicator detects a trading range from clustered pivots, falling back to the highest and lowest prices over a lookback, and scores it with eight weighted factors. The score moves the range through Inactive, Building, Confirmed, Mature, and Breakin
This overlay indicator builds a volume histogram of recent bars across user-defined price bins and draws it on the price chart. A Gaussian spread smooths volume around detected cluster peaks, and the highest enhanced bin is plotted as the current point of cont
This overlay indicator walks price through a configurable ICT state sequence on the chart. It can require a four-hour CRT bias, an Asian range, manipulation, a New York macro window, a liquidity sweep, a market structure shift, CISD, a fair value gap, and a re
Indicatorv5SMC / ICT / price actionSessions & time
Imagegpt Test 1 is a comprehensive chart overlay indicator that plots buy, sell, and reversal signals along with supply and demand zones. It calculates key levels using volume pivots and features integrated Bollinger Bands alongside entry, exit, stop-loss, and
This indicator draws an equity factor dashboard in a separate pane. It can show a correlation table over a chosen length and a performance table based on rate of change or Sharpe ratio. Optional implied correlation plots, including single and double normalizat
This script calculates and plots Wilder's Relative Moving Average (RMA) of a chosen source over a user-defined period. It applies an optimized exponential warmup compensator to ensure accurate early bar values while maintaining O(1) computational complexity. T
This indicator acts as a test probe to verify Pine Script v5 language features within an offline engine. It tests custom enum declarations, enum inputs, string formatting, functions, collections, and historical enum referencing. In addition, it constructs symm
This overlay indicator draws golden and optional symmetric spirals between two user-selected time and price anchors on the price chart. It measures the selected range, counts green, red, and total candles, and sums their high-to-low heights, then uses the chos
A price-chart indicator that prints buy and sell labels aimed at one larger intraday price move per UTC day, with the target size set in price units. A first signal can come from a trend breakout or a completed Asia range break, optionally preferring the day-o
Overlay indicator that looks for co-occurrence of high-volume displacement candles and a PBJ trend filter, then marks the result on the price chart. Both bullish and bearish pattern families are included, with toggles for UUUU, UUU, UU and Omega variants. Sett
This indicator plots a cyclic smoothed RSI in a separate pane, with a dominant cycle length, a maximum cycle and a divider as inputs, plus vibration and leveling values. Two signal lines use selectable moving average types with automatic or manual lengths, and
Draws step-line bands around each candle on the price chart, sized from a rolling median of previous true range or candle body range. Two divisors set the band width for the high and low range and for the body range; the body version is shown by default and th
DSY-tracker is an overlay indicator that marks recorded ARK Invest purchases of DSY on the price chart. When the ETF input is set to ALL, it places green buy labels below bars on a fixed list of dates beginning in November 2019. The ETF setting switches the di
This indicator implements a K-means clustering algorithm in Pine Script to partition two-dimensional data points into user-defined clusters. It features an internal pseudo-random number generator for centroid initialization and computes Euclidean distances acr
Sequential Indicator normalizes price data within a configurable lookback window using min-max scaling and applies linear regression smoothing. It tracks the number of bars elapsed since the smoothed values crossed upper, middle, or lower threshold conditions.
Calculates John Ehlers' Recursive Median Filter, a nonlinear filter combining a 5-bar running median with exponential smoothing to reduce impulsive noise while maintaining responsiveness. The smoothing factor is calculated from the cycle period setting using E
The TRIX indicator calculates the percentage rate of change of a triple-smoothed exponential moving average (EMA) applied to a selected price source. It incorporates explicit warm-up logic to ensure stable runtime initialization without relying on uncompensate
Trend Persistence Score calculates a composite trend-efficiency oscillator plotted in a separate pane, grading trend strength and durability on a 0 to 100 scale. It integrates four distinct metrics: linear regression R-squared, Kaufman Efficiency Ratio, ADX wi
This indicator draws a volume profile and an imbalance summary directly on the price chart. It divides historical price action into configurable rows over a chosen lookback period, calculating bullish and bearish volume distributions while identifying zero-vol
This indicator tracks a configurable ICT sequence on the price chart. It advances through optional stages: Asian range bias, manipulation, New York macro windows, liquidity sweep, market structure shift, CISD, fair value gap, and retracement into that gap. Pre
Indicatorv5SMC / ICT / price actionSessions & time
Inner Outer Risk Zones plots horizontal price levels and risk boundary zones directly on the main price chart. The indicator allows traders to input manual target and support levels—including Outer Top, Inner Top, Inner Bottom, and Outer Bottom—along with risk
This indicator visualizes recent market price action on a circular polar coordinate system in a separate pane. It normalizes bar open, high, low, and close values across a specified lookback length into angular degrees and renders circular candlestick bodies a
The Williams Accumulation/Distribution (WAD) indicator calculates accumulation and distribution using price relationships and volume. It plots the cumulative WAD value as a yellow line in a separate pane. No buy or sell signals are generated. There are no adju
M_time is a utility test script designed to evaluate Pine Script built-in time and environment variables. It calculates and plots various date components, timestamps, session flags, timeframe properties, symbol metadata, and bar state indicators in a separate
A price-chart indicator that stays always in one direction after the first confirmed mark: a buy exits shorts and holds long until the next sell, and the reverse. It uses a causal trail, trend, range and shock regime detection, a score threshold and an optiona
Tick-chart-safe variant of an overlay indicator with many named combo signals on the price chart. Groups include relative volume extremes, double displacement and stack patterns, Katana session signals, whale high-volume markers with pocket pivot combos, SAAB
Draws supply and demand zones on the price chart from engulfing candle patterns. An algorithm mode setting switches between looser and strict engulfing definitions, and a threshold separates big from small candles. Other settings set the maximum number of engu
Plots two step-line levels on the price chart at the previous bar's midpoint plus and minus a moving average of ATR measured over about 15 minutes of bars. When price closes beyond a level while making a new extreme, the matching line is drawn thicker in red.
This overlay indicator marks historical ARK Invest purchases and sales of DYNS on the price chart. It places green buy labels below bars and red sell labels above bars at fixed calendar dates, with an X1 count of how many ARK ETFs traded that day. An ETF input
This script defines a function that performs polynomial regression on arrays of points. It maintains two arrays of size given by the length input, storing recent high prices and bar indices at pivot highs as well as low prices and bar indices at pivot lows. Th
This indicator identifies candlestick patterns on the price chart by combining price action with momentum factors and trend filters. It calculates one of four selectable oscillators: Karobein Oscillator, Money Flow Index, RSI, or Stochastic, alongside trend ru
Calculates John Ehlers' Reflex indicator to measure price cycle reversal tendencies and trend direction with low lag. The script pre-filters price data using a two-pole Super Smoother Filter, measures linear extrapolation slope deviations over a lookback windo
This debugging utility script demonstrates how to create a print helper function in Pine Script using persistent labels. It defines a function that creates a single label on the first bar and continuously updates its coordinates and text content on subsequent
This indicator calculates a short-term trend filter based on an exponential moving average and its slope. It identifies upward, downward, or neutral states by evaluating bar-to-bar changes in the average, coloring the plotted line accordingly. It also calculat
This indicator scans price action for symmetric, ascending, and descending triangle chart patterns using a sliding window of confirmed swing pivots. It fits upper and lower boundary trend lines across swing highs and lows, rating each pattern with a composite
This indicator overlays session VWAP and a 1-hour 200 Simple Moving Average on the price chart alongside a macro status dashboard in the top-right corner. It detects buy and sell signals by pairing local Stochastic conditions and rejection wick patterns near V
Calculates Candle Range Theory (CRT) ranges using specific one-hour or four-hour New York session candles. The indicator draws CRT range boxes directly on the price chart and plots entry signals based on Market Structure Shifts (MSS) with Fair Value Gaps (FVG)
Indicatorv5SMC / ICT / price actionSessions & time
Inside Extended tracks inside bar patterns and projects their initial breakout ranges on the price chart. When a candle body falls completely within the high-low range of the prior candle, the indicator marks the inside bar in yellow and establishes the mother
This overlay indicator searches price history for cup and handle shapes using left and right pivot lengths and a lookback of prior pivots. It draws the cup fill, border, and retrace on the price chart. Settings limit how steep the top line may be, how tall the
This indicator calculates the Yang-Zhang Volatility Adjusted Moving Average (YZVAMA) and overlays it directly on the price chart. It dynamically adjusts the moving average period by evaluating the percentile rank of short-term Yang-Zhang Volatility against his
The Mincontract Version Probe indicator measures and plots the minimum contract size allowed for the current symbol using the syminfo.mincontract variable. Rendered in a separate pane below the main price chart, this utility script serves as a test probe to in
Splits the chart into periods of a chosen higher timeframe, daily by default, and draws on the price chart. At each new period it adds a vertical line, a box around the most volume-heavy stretch of recent candles, and an orange running average of closes since
A price-chart indicator for lower timeframes that draws EMA 9, 21, 50 and SMA 200 clouds and prints always-in buy and sell flips. Signals combine EMA stack or cross, RSI, ADX and DI, relative volume and a lock that blocks tiny sideways ranges. The higher-timef
Overlay indicator that combines many named combo signals on the price chart. Groups include relative volume extremes, double displacement and stack patterns, Katana session signals, whale high-volume markers with pocket pivot combos, SAAB and KRATOS squared pa
Draws supply and demand zones on the price chart from engulfing candle patterns. Algorithm modes range from looser to strict engulfing, with a threshold separating big from small candles. Settings limit how many zones and how much history are kept, with a sepa
Shows bar range statistics in a separate pane: one-bar true range, candle body range and rolling percentile levels such as the median, 75th, 90th and 95th percentiles of true range. The lookback length is chosen from the chart timeframe. Blue columns mark bars
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.