A multi-part chart overlay that draws fan lines from short, mid and long lookback windows and shows a forecast label gated by a minimum confidence level. It adds head and shoulders and double top or bottom detection, a regime filter using ADX and a higher-time
The bearish half of a split detection indicator that draws about thirty-six signals as plotted shapes on the price chart. It combines high-volume ladders from 50 to 1000 bars and all-time high volume with standard deviation displacement and a pullback-and-jump
A Pine Script v5 indicator in a separate pane, the fourth revision of a Hurst cycle peak marker. It runs the hl2 price through bandpass filters covering cycles from 1 day to 18 years, then draws labels and lines at detected peaks. Each cycle has separate bandw
The VWAP EMA Trend Continuation strategy plots VWAP and multiple EMAs on the price chart. It generates long signals on fast EMA crossover with VWAP or price crossover with both when in uptrend with volume filter and slope confirmation. Short signals mirror for
This indicator calculates a standard Supertrend using an ATR period of 10 and a multiplier factor of 3. It plots the trendline directly on the price chart, coloring it green for uptrends and red for downtrends, alongside semi-transparent background fills to th
This indicator calculates the Relative Strength Index from a chosen source and length and plots it in a separate pane with 70, 50, and 30 bands plus a background fill. It locates RSI pivot highs and lows, then draws regular and hidden bullish and bearish diver
This Pine Script library provides helper functions to detect and validate harmonic patterns using price and time ratio calculations. It includes utilities to calculate price and time rates between consecutive pattern points, check if values fall within specifi
Snag - SPY is an overlay indicator that tracks market trends using three Weighted Moving Averages (WMA 13, WMA 48, and WMA 200). It plots the three WMAs directly on the main price chart and calculates crossovers between price and the moving averages, as well a
Calculates the AlphaTrend indicator using ATR combined with the Money Flow Index or RSI, plotting the primary trend line and its two-bar lagged counterpart directly on the price chart. The strategy opens long positions when AlphaTrend crosses above its lagged
Initial Balance Statistical Mapping plots the high, low, and midpoint of a defined initial balance session, such as the first hour of trading, directly on the main price chart. It projects statistical extension levels using fixed percentile multipliers (25th,
This indicator plots the Directional Movement Index in a separate pane. It calculates plus directional movement and minus directional movement from changes in highs and lows, smooths them with the DI length, and derives the ADX from the absolute difference of
This strategy enters trades in the opposite direction of filled value gaps, operating under the assumption that price action will resume the primary trend after filling a recent gap. It plots directly on the main price chart and supports MA-based trend filters
Apex Protocol - The SMC Engine is a Smart Money Concepts indicator designed for price chart analysis across multiple timeframes. It automatically detects key SMC market structure events including Break of Structure (BOS), Market Structure Shifts (MSS), Order B
The CSW Ø-Lag Oscillator is a modified MACD indicator designed to reduce lag using zero-lag moving averages and a custom leader calculation. It plots a zero-lag line, a lagging signal line, and a histogram in a separate pane. The oscillator uses three distinct
This indicator scans multiple symbols using RSI for overbought and oversold levels, TSI for trend strength, ADX for trend direction and strength, and Supertrend for trend reversals. It plots buy and sell signals on the price chart for each enabled symbol based
SSL Algo calculates and displays multi-moving-average SSL hybrid channels directly on the price chart. It combines a customizable baseline, a continuation channel, an exit indicator, and optional ATR bands alongside support EMAs. Users can toggle baseline line
This indicator plots ICT balanced price ranges together with fair value gaps and inversion fair value gaps on the price chart. It marks bullish and bearish BPR zones and optional FVG and IFVG boxes, then tracks mitigation at a proximal, midpoint, or distal lev
This trend-following strategy generates long signals by combining the Stochastic Momentum Index (SMI) with a Supertrend filter. It enters a long position when the SMI signal line crosses above an oversold threshold while the Supertrend indicates an uptrend. Po
This educational script demonstrates how to draw and format rectangular boxes on the price chart using Pine Script. It generates a box on the current bar extending ten bars forward, spanning from the bar's low to high, and dynamically colors the fill green or
This indicator draws the 5-minute closing price on the chart for multi-timeframe analysis. It takes the number of bars for prediction as an input and initializes an array of predictors with recent close prices. A matrix is prepared for heuristic logic but rema
The bullish half of a split detection indicator that draws about thirty-eight signals as plotted shapes on the price chart. It combines high-volume ladders from 50 to 1000 bars and all-time high volume with standard deviation displacement and a pullback-and-ju
A Pine Script v5 indicator in a separate pane, the fifth revision of a Hurst cycle peak marker. It filters the hl2 price with bandpass filters from 1 day to 18 year cycles and places labels and lines at cycle peaks. Every cycle has its own bandwidth and period
This indicator calculates a 100-period Hull Moving Average (HMA) and overlays it directly on the price chart. The line color dynamically changes based on whether the closing price is above or below the average. In addition to plotting the average line, it eval
Strat base [Alorse] is a template strategy script designed as a foundational framework for constructing custom trading logic in Pine Script. It plots a single Exponential Moving Average (EMA) on the main price chart and includes configurable inputs for enablin
This script provides a function implementation of a Markov Chain Monte Carlo (MCMC) simulation. On the initial chart bar, it generates a probabilistic random walk path where each step has a configured probability of moving up, moving down, or staying unchanged
This indicator marks swing pivot highs and lows on the price chart. It uses left and right bar counts, defaulting to five, to confirm a pivot high and a pivot low. After confirmation it stores the latest high and low and plots them as blue and yellow circles.
This strategy calculates and plots 9, 21, 50, 90, and 200-period Simple Moving Averages on the main price chart. It constructs a modified On-Balance Volume (OBV) metric and calculates a MACD oscillator based on this custom volume series rather than price. Long
This indicator identifies inside bars and outside bars, classifying each by close direction as bullish or bearish. It tracks cumulative occurrences and evaluates how often subsequent price action breaks the high or low of each pattern. A summary table drawn on
The Divergence Indicator plots an RSI oscillator in a separate pane alongside horizontal lines for oversold, overbought, and middle levels. It scans for regular and hidden bullish and bearish divergences by comparing pivot high and low points of price with tho
FilledValueGap B002 is a strategy designed to execute trades when price moves to fill recently created gaps, operating under the assumption that price action will continue along the main trend direction. It uses Curie moving average closing lines for additiona
This indicator plots Smart Money Concepts structures directly on the price chart. It identifies and tracks break of structure markers, market structure shifts, fair value gaps, order blocks, and session ranges across London, New York, and Asian trading hours.
Indicatorv5SMC / ICT / price actionSessions & time
This strategy plots directly on the price chart, drawing a multi-line stepped channel calculated from a simple moving average of OHLC4 expanded by Average True Range multipliers. It identifies potential mean-reversion setups, executing buy, sell, trim, and exi
RR Dangov is a price-chart strategy that combines optional confluence modules for entries. The trader selects a primary and a secondary source from Guppy moving averages, VWAP, an opening-range breakout, Supertrend, or CPR, and can add WaveTrend, stochastic, a
SuperTrend indicator calculates ATR-based bands on the price chart and determines trend direction by comparing current price to the bands. It plots upper and lower SuperTrend bands that shift based on price action. Signals trigger when the trend flips from dow
This indicator detects and plots multi-timeframe order blocks and wick levels as boxes and labels directly on the main price chart. It tracks bullish and bearish order block zones across selectable intervals ranging from 5-minute charts to monthly charts, with
This breakout strategy enters long positions when the price moves above the upper Bollinger Band, Parabolic SAR, and a 100-period exponential moving average, provided ATR confirms elevated volatility. It allows opening multiple scaled entries up to a user-defi
This educational Pine Script indicator demonstrates how to draw and manage custom line objects directly on the price chart. It calculates line endpoints by connecting specified historical low prices and bar indices or timestamps to current bar highs. The scrip
An indicator that reads an externally generated CSV through a seed request and plots the supplied target price as a line on the price chart. A long or short text signal from that file shades the background, raises alert conditions and updates a label and a sma
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. The author's own title flags this copy as banned and not to be used, so it is kept here as an archive. Bullish
A Pine Script v5 indicator in a separate pane, an alternative build of the fifth Hurst peak marker revision. It applies bandpass filters to the hl2 price for cycles from 1 day to 18 years and labels cycle peaks with lines. Bandwidth and period can be set per c
An overlay indicator that is one component of a weighted scoring system. It plots the Parabolic SAR as circles on the price chart using the default acceleration settings. It then converts the SAR into two weighted scores: a direction score when the SAR is belo
This indicator plots a Supertrend built from ATR bands on the price chart. It raises a lower band and lowers an upper band from the selected source, then flips trend when the close crosses the opposite band. Green and red broken lines mark the active trend, wi
MathComplexArray is a Pine Script v5 utility library that provides array functions for managing complex numbers. It represents complex arrays as flat float arrays storing interleaved real and imaginary components. The library includes functions to instantiate
This indicator plots a custom Anchored Volume-Weighted Average Price (VWAP) directly on the price chart along with optional standard deviation bands. Users can anchor the VWAP to standard time periods like sessions, weeks, or months, or to corporate events suc
Anand's Strategy is a multi-timeframe breakout strategy that determines overall bias using daily candle data and triggers entries on 15-minute breakouts. It calculates higher-timeframe trend direction by comparing previous daily closes against daily high and l
Leptokurtic Directional Bias is an overlay indicator that measures kurtosis on a chosen source and marks directional bias on the price chart. The source can be a moving average, ATR, volume, close, or a Bollinger-band trend stop. Bias mode switches among RSI m
This indicator marks standard doji candles on the price chart. It treats a bar as a doji when the range is positive, the body is no larger than five percent of the range, and the upper and lower shadows are nearly equal. Dragonfly and gravestone variants are e
The FilledValueGap C002 strategy opens positions in the opposite direction of filled value gaps, assuming price action will resume the underlying trend after a gap fills. It includes customizable take profit, stop loss based on gap distance or percentage, trai
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.