This indicator combines three dominant cycle lengths, pivot highs and lows, and candlestick pattern matching to project future turning prices and dates. Bollinger Band, Keltner Channel and volatility lengths are also available as inputs. Projected values appea
Probability is a Pine Script v5 library of functions for probability calculations. It multiplies two matrices stored as flat float arrays and raises a square matrix to a power, using helpers intended for Markov-chain state probabilities. It depends on imported
This strategy executes trades based on Bollinger Band crossovers on the price chart. It calculates a simple moving average basis along with standard deviation bands. When the closing price crosses above the lower band, it places a long stop order, and when pri
This indicator plots the 100-bar percent rank of ATR in a separate pane and draws a midline at 50. It colors that midline green, red, or gray by comparing the close with the open a set number of bars earlier against a multiple of ATR across a lookback window.
This strategy detects an inside bar when the current high is below the previous high and the current low is above the previous low. It enters long when that bar's close is above its open and short when the close is below its open. Signals are placed on the pri
This strategy automates the TradingLatino methodology by evaluating Squeeze Momentum combined with the Average Directional Index (ADX). It executes long or short positions based on momentum shifts and directional strength. Risk management options include const
This overlay indicator tracks CRT models at 1:00, 5:00 and 9:00 and a session state machine covering CBDR, Asia, London, London lunch and the New York open. It analyzes draw-on-liquidity pivots, market structure, liquidity pools, volume profile and multi-pair
Indicatorv5SMC / ICT / price actionSessions & time
GARY - Patterns is a multi-horizon chart pattern detection indicator that identifies wedge and triangle patterns across short-term, medium-term, and long-term lookback periods. It evaluates swing high and low pivot points using customizable lookback spans and
Smart Money Zones (FVG + OB) + MTF Trend Panel plots Fair Value Gaps and Order Blocks on the price chart, with colors indicating bullish or bearish zones. Zones are detected based on body percentages and lookback periods, with strength rated by size relative t
An overlay indicator that records the high and low of a chosen opening session, by default five minutes starting at 09:15, and plots them as circles after the session ends. It prints a B label when price crosses above the range high and an S label when it cros
This indicator plots a combined colored moving average on the price chart and optional copies from higher and lower timeframes. It finds pivot highs and lows, then draws sine waves whose frequency comes from the bar count between successive pivots. Intensity c
Tick-chart-safe overlay indicator combining relative volume tiers with fair value gap and matrix combinations. Combo sets one and two pair a fair value gap with standard or regular-at-time relative volume, while sets three and four pair a matrix number lookbac
This indicator combines three dominant cycle lengths, pivot highs and lows, and candlestick pattern matching to project future turning prices and dates. Bollinger Band, Keltner Channel and volatility lengths are also available as inputs. Projected values appea
SeasonalDecompositionByMovingAverage is a Pine Script v5 library designed to compute seasonal decomposition elements from array data. Its exported function, seasonal_mean, calculates the mean value for each period within a specified seasonal frequency cycle. I
This strategy trades mean-reversion setups using the Bollinger Bands Percent Bandwidth (%B) oscillator plotted in a separate pane. It calculates upper and lower bands using a simple moving average and standard deviation multiplier. Long positions are entered w
Calculates mean reversion signals using statistical deviation metrics such as MAD, Standard Deviation, ATR, Z-Score, IQR, or Mean AD relative to customizable moving averages. It applies optional volume spike thresholds and trend filters to generate bullish and
Detects bullish inverted hammer candlestick patterns directly on the price chart. It identifies candles with a small real body in the lower half of the range, an upper shadow at least twice the body length, and a minimal lower shadow occurring in a downtrend.
This strategy calculates the Volume Zone Oscillator (VZO) alongside volume spikes to detect directional momentum. It enters long positions when the VZO turns bullish accompanied by a volume spike, and enters short when the VZO turns bearish with elevated volum
This overlay indicator runs a CRT state engine on the price chart. It can analyze draw-on-liquidity pivots, a session state machine, and optional 1AM, 5AM, and 9AM CRT models. Optional modules track market structure, liquidity pools, volume-profile levels, and
Indicatorv5SMC / ICT / price actionSessions & time
This indicator calculates and plots previous higher-timeframe structural levels directly onto the main price chart. It retrieves the prior high, low, and close levels for daily, weekly, and monthly periods using dashed horizontal reference lines and labels ext
The SMC Target Liquidity indicator identifies key pivot highs and lows to track liquidity zones on the price chart based on Smart Money Concepts. It projects active liquidity levels and color-codes them according to custom trading sessions, including Asian, Lo
An overlay indicator that draws horizontal lines at the high and low of up to three user-defined daily time spans, such as Asia, London and New York. Each session has its own time range, day-start timezone, line colour, style, width and optional text label, an
Dragon Strength Pro is an overlay indicator that stores recent pivot highs and pivot lows confirmed by left and right bar lengths, keeping up to fifty of each. It averages the slope from those pivots to the current close and scores upward impact from lows and
Overlay indicator of single-bar detections drawn on the price chart. It covers relative volume tiers named SAAB, Kratos, Grand Slam and MOAB, regular-at-time volume tiers, an all-time high volume marker, momentum LONG and SHORT tiers, high-volume ranks from 15
Finds supply and demand zones from strong momentum candles and draws them as boxes on the price chart, with an option to pull zones from additional timeframes. Settings control momentum body multiple, momentum count and span, how far back zones are searched, w
This Pine Script library provides algorithmic helper functions to perform K-Means clustering calculations. It includes utilities for computing Euclidean distance between two-dimensional coordinates, identifying nearest cluster centers, executing bisection sear
This strategy executes pullback trades based on internally computed Bollinger Bands and candle price action directly on the main price chart. It tracks breakout and pullback states to trigger long and short entries. Users can select among three distinct take p
This indicator detects and draws the first Fair Value Gap (FVG) that forms in each hourly session based on a selected lower timeframe, with specialized handling for Regular Trading Hours (RTH) confluence windows. It draws FVG range boxes, midpoint lines, hourl
This indicator plots Keltner Channels on the price chart. It builds a basis from an exponential or simple moving average of a chosen source, then places upper and lower bands a multiplier away from that basis. Band width uses average true range, true range, or
This strategy calculates a Volume Zone Oscillator and plots it in a separate pane. It goes long when the oscillator shows green and a volume spike occurs, and goes short when it shows red with a volume spike. A reverse mode and optional start and stop times co
CRT State Engine is an overlay indicator that maps New York time-based CRT models at 9PM, 1AM, 5AM, and 9AM. It tracks market structure, liquidity sweeps, change-in-state delivery, and unmitigated order blocks that stay drawn until mitigated. Optional modules
Indicatorv5SMC / ICT / price actionSessions & time
This indicator identifies and plots bullish and bearish Fair Value Gaps (FVGs) directly on the price chart using box drawings. It detects three-bar price imbalances, adjusting sensitivity via user settings. The script can dynamically minimize box boundaries as
Dual MA Detrended Price calculates two detrended price series by subtracting simple moving averages from a chosen price source. It derives the moving average lengths by applying Golden Ratio multipliers of 1.618 and 0.618 to a configurable base length setting.
Tick-chart-safe overlay indicator of single-bar detections on the price chart. It covers relative volume tiers named SAAB, Kratos, Grand Slam and MOAB, regular-at-time volume tiers, an all-time high volume marker, momentum LONG and SHORT tiers, high-volume ran
Finds supply and demand zones from strong momentum candles and draws them as boxes on the price chart, with an option to pull zones from additional timeframes. Settings control momentum body multiple, momentum count and span, how far back zones are searched, w
This utility library evaluates mathematical expressions formatted as strings within Pine Script v5. It parses raw input strings, removes whitespace, extracts operators and numeric values, and handles operator precedence. The code includes support for transform
BEAM DCA Strategy Monthly calculates long-term risk bands around a moving average baseline to implement a monthly dollar-cost averaging strategy. It normalizes asset risk between 0 and 1, placing buy orders when risk falls below 0.5 on a specific day of the mo
This indicator tracks and displays the statistical distribution of daily highs and lows across 30-minute time bins throughout the trading day. It aggregates the frequency of daily extremes occurring within each half-hour interval across sessions and renders th
This strategy builds Keltner-style bands around an exponential or simple moving average of the chosen source. Band width uses average true range, raw true range, or a smoothed high-low range, scaled by a multiplier. When the source crosses above the upper band
This strategy plots a Noro trend ribbon on the price chart and uses ribbon side changes to choose long or short direction. A corridor built from recent high and low prices filters entries: longs open below the corridor while the bias is long, and shorts open a
Implements an institutional Candle Range Theory (CRT) framework aligned to New York market time windows at 1 AM, 5 AM, and 9 AM. It calculates Draw on Liquidity (DOL) levels using pivot points, manages session state machine boxes, and generates entry signals w
Indicatorv5SMC / ICT / price actionSessions & time
This indicator tracks and visualizes key intraday session levels directly on the price chart. It calculates open, high, low, and close values for Regular Trading Hours (RTH), the Overnight Session (ON), and the Initial Balance (IB) period. It draws horizontal
This indicator plots a dynamic Ichimoku cloud directly on the price chart. It detects recent pivot highs and lows to set a dynamic length for the Kijun-sen line, while Tenkan-sen uses a fixed input length. Senkou Span A averages the two lines and Senkou Span B
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
Vector2Operations is a Pine Script v5 utility library that stores two-dimensional vectors as two-element float arrays and exposes helpers to read and write their components. It computes the fractional part of a number, an approximate atan2 angle in radians fro
This strategy script provides a framework for backtesting custom trading rules with flexible risk and order management. It allows traders to configure fixed pip-based stop loss, take profit, and trailing stop levels, complete with custom partial exit percentag
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.