This indicator plots historical ARK Invest buy and sell activity for Salesforce (CRM) on the price chart. It places green labels below bars for buys and red labels above bars for sells, using fixed calendar dates and a count of how many ARK ETFs traded that da
This indicator calculates standardized z-scores of price data across four different lookback periods (6, 14, 26, and 100). Standardizing data subtracts the moving average from the price and divides by the standard deviation. It applies a Double Exponential Mov
Calculates John Ehlers' Even Better Sinewave indicator to isolate cyclical components in price action. It applies a high-pass filter to remove low-frequency trend components, followed by a Super Smoother filter to reduce high-frequency noise, and normalizes th
This reference indicator demonstrates how to retrieve symbol data using Pine Script v4 syntax. It calls the security function to request the closing price of BATS:AAPL on the current timeframe with gaps enabled. The resulting values are plotted in a separate p
Price Momentum Oscillator (PMO) calculates a double-smoothed Rate of Change (ROC) to track directional price momentum. It derives the percentage price change over a selected lookback period, applies an initial exponential smoothing pass, and refines it with a
This indicator detects a bearish black marubozu on the price chart. It treats a candle as a match when the close is below the open, the body is longer than a 14-period exponential average of body size, and both upper and lower shadows are at most five percent
This indicator plots a smoothed RSI in a separate pane with a signal line, a 50 midline, and configurable overbought and oversold bands. It colors momentum long or short, fills the oscillator against the signal and the zones, and draws a histogram. Optional ma
The RSI Adaptive Structure Engine (RASE) evaluates directional market regimes using multiple Relative Strength Index (RSI) layers. It calculates structural RSI, smoothed momentum RSI, fast execution RSI, and an efficiency ratio to measure trend quality. Higher
CRT State Engine is an institutional trading framework based on Smart Money Concepts and Candle Range Theory. It plots session ranges, order blocks, Fair Value Gaps, liquidity sweeps, and Draw on Liquidity levels directly on the main price chart. The indicator
Indicatorv5SMC / ICT / price actionSessions & time
Rolling Z-Score Trend [QuantAlgo] calculates a rolling Z-score using mean and standard deviation over a user-defined lookback window to evaluate statistical price deviations and momentum. Plotted in a separate indicator pane, it displays the rolling Z-score li
The Triangular Moving Average (TRIMA) indicator calculates a double-smoothed moving average that places greater weight on the middle values of the chosen lookback period. It dynamically generates a triangular weighting array to smooth price fluctuations and fi
This indicator plots the standard SuperTrend line on the price chart while analyzing the efficiency and duration of trend segments. When the SuperTrend changes direction, it logs the previous segment's duration in bars and final return percentage into distinct
Fibo Wave MA - Auto Path Plot is an indicator that calculates and plots base moving averages along with Fibonacci-extended moving averages on the price chart. Users define a custom wave period by setting start and end times t1 and t2, with an adjustable center
A price-chart indicator that detects swing structure, draws dynamic support and resistance zones from stored pivots, and issues signals only when a confidence percentage, a quality score and an ADX strength minimum are met. Zone touches within a window, volume
Overlay indicator that marks candles whose volume is the highest over 100, 200 and so on up to 1000 bars, plus an all-time high volume marker and a Hot Spot signal. Each level has its own show checkbox. To avoid live-bar flicker, every comparison uses the prio
This Pine v5 indicator draws Future Line of Demarcation lines on the price chart: the price source is shifted forward by half a cycle for up to three cycle periods, with automatic or manual periods and bar multipliers based on the chart timeframe. Projected fo
An indicator in a separate pane that calculates Sharpe and Sortino ratios from the chart symbol's periodic returns, using up to a chosen number of monthly or other periods. The comparison can be a fixed annual rate or the returns of a benchmark symbol, in whic
This overlay indicator marks recorded ARK Invest activity on the CRNT price chart. In the provided code it places a green buy label below the bar at a fixed historical date, with the text Buy and X1. An ETF input is present but offers only ALL, so it does not
Function Markov Process is a Pine Script indicator function that models market state transitions using a three-by-three Markov chain transition matrix. It evaluates historical data categorized into bullish, bearish, or stagnant regimes (represented by values 1
This indicator plots a trend-following band directly on the price chart by comparing two variations of the Hull Moving Average, with an optional Kahlman filter applied to both. Line A calculates a standard Hull MA on selected price data, while Line B calculate
Calculates John Ehlers' Fisher Transform oscillator and a delayed signal line. The indicator normalizes price data within a lookback period to a bounded scale, applies exponential smoothing, and uses logarithmic transformation to convert price distributions in
This indicator renders custom OHLC bars in a separate chart pane using the plotbar function. It determines the color of each bar dynamically based on price action: bars where the closing price is greater than or equal to the opening price are colored lime, whi
This indicator calculates price relative strength as the ratio of a base price series to the close of a comparison symbol. It plots the raw ratio and an exponentially smoothed ratio in a separate pane. Smoothing length controls the EMA and hides the smoothed p
This indicator detects a bullish white Marubozu on the price chart. It marks a white candle whose body is longer than a 14-bar exponential moving average of body size and whose upper and lower shadows are each no larger than five percent of that body. When the
This indicator calculates and plots multi-timeframe support and resistance zones using ATR-based reversal structure swings. It builds zones across configurable higher timeframes and the current chart timeframe, applying scoring based on touch quality, rejectio
This indicator plots trading volume bars in a separate pane alongside historical volume benchmarks for up to three user-defined trading sessions. For each active session, it calculates two benchmarks over a selectable sample size of past sessions: an overall s
This indicator draws the high and low of one selected higher-timeframe candle as horizontal lines on the price chart. It reads the 4-hour or 1-hour candle that starts at a chosen New York hour (1 AM, 5 AM, or 9 AM) and extends both levels for a user-set number
Hercules Indicator 1.7 is a multi-filter trade signal generator designed to overlay entry conditions directly on the price chart. It evaluates engulfing candle patterns alongside multiple configurable filters, including trading session windows (Sydney, Tokyo,
This indicator draws a projected three-dimensional mesh on the price chart. It builds vector, face, mesh, camera and 4x4 matrix types, then applies scale, rotation and view transforms before projecting the scene with a field of view and near and far planes. In
The Triple Exponential Moving Average (TEMA) indicator calculates a smoothed trend line by applying triple exponential smoothing with compensation to the input source, such as close prices. It plots the resulting TEMA values directly on the price chart with a
Devis'So Ratio Label draws a small numeric label on the price chart. It accumulates percentage moves between consecutive closes, runs an RSI on that series, and divides the RSI change by the change in the cumulative series. Each label shows the ratio and a sho
Calculates seven simple moving averages based on customizable Fibonacci length periods and plots them directly on the price chart. The user selects one moving average as a central anchor, from which the indicator projects three symmetric upper and lower bands.
A market structure indicator on the price chart. It finds swing pivots, labels them HH, HL, LH and LL, and marks break of structure and change of character events using close or wick confirmation. Order blocks can be created from those events, tracked until mi
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 bottom and a pullback-and-jump follow-up b
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 overlay indicator marks ARK Invest activity on the CRS price chart. It places a single green label below the bar at the timestamp 17 January 2020 with the text Buy and X1. An ETF input is present but only offers the option ALL, so it does not switch among
This indicator plots a normalized candle dynamic visualization inside a custom 500x500 Gann square grid within a separate pane. It normalizes each bar's open and close prices relative to its high-low range, storing the resulting coordinate pairs in fixed-size
This price-chart indicator builds a fast-minus-slow Jurik moving average of the selected price and wraps that series in upper and lower bands set by a standard-deviation multiplier and the fast lookback. It reads band direction, whether both bands rise or fall
This indicator plots John Ehlers’s 2004 Fisher Transform in a separate pane. It normalizes the midpoint of high and low over a rolling highest-lowest range, applies recursive smoothing, and clamps the result before taking a scaled inverse hyperbolic tangent wi
Example 3 is a basic demonstration indicator written in Pine Script v4 that illustrates how to plot custom candlesticks using the plotcandle function. It calculates a modified closing price by checking whether the bar is bullish, defined as the close being gre
This indicator plots the absolute price change between the current source value and the value a set number of bars earlier. It draws a single ROC line in a separate pane. The source series and lookback length are the main settings. During warm-up the lookback
The Mass Index is a volatility indicator that measures price range fluctuations. It calculates the ratio of the 9-period exponential moving average of the high-low span to the 9-period exponential moving average of that span, then sums the result over the inpu
Signal Quality Engine [WavesUnchained] is a range-fade indicator that identifies exhaustion at range extremes and signals potential reversals. It applies an ADX and EMA slope regime gate to stand down during strong trends. Using distance, structure, and moment
Smart Krypto Futures Daytrade Suite is an all-in-one technical indicator tailored for intraday cryptocurrency trading. It plots higher-timeframe supply and demand zones, Fair Value Gaps with optional mitigation filtering, session VWAP, dynamic moving averages,
This indicator draws high and low levels from a chosen one-hour or four-hour candle that starts at a selected New York hour. It stores those prices once each New York day, plots them as lines on the price chart, and extends the lines for a user-set number of s
Hercules Rewrite is a signal and visual trade management indicator that overlays entry setups directly on the price chart. It detects candle setups based on minimum tick movement and engulfing patterns, filtering entries through parameters like moving averages
This indicator plots harmonic ratio levels from three user-selected points on the price chart. It reads the high, low and close at points A, B and C, then classifies the range and projects a last ratio chosen from 2.24, 2.618, 3.14 or 3.618. Labels can show AB
This indicator calculates and plots the standard True Range metric for each bar in a separate chart pane. The True Range measures market volatility by taking the maximum value among three price differences: current high minus current low, absolute difference b
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.