This Pine Script v6 library provides custom exported data types and initialization functions for tracking Smart Money Concepts and ICT market structure shifts. It defines structures to manage states for Break of Structure, Change of Character, Market Structure
Log-Normal Price Forecast calculates historical log returns and volatility to project theoretical future price movements on the main chart overlay. Using a normal distribution inverse function, it computes statistical drift and standard deviation to plot dynam
This strategy detects adaptive market regimes by combining ATR volatility with fast and slow EMA moving averages to determine trend direction. It applies multi-timeframe confirmation using RSI and MACD on a higher timeframe. Signals appear as buy and sell arro
This strategy executes long trades when the closing price crosses above an Exponential Moving Average (EMA) and displays the EMA trend line directly on the price chart. Position sizing is calculated dynamically to risk a fixed percentage of current equity base
This Pine Script library provides reusable helper functions for composing and formatting Smart Money Concepts (SMC) debug text strings and observability data. It builds structured labels and diagnostic lines containing setup sources, zone quality metrics, touc
Calculates Elder Ray Bull Power and Bear Power by measuring differences between price extremes and an exponential moving average. It takes long entries during an uptrend when Bear Power is negative but rising, and short entries during a downtrend when Bull Pow
A minimal Pine Script v6 test fixture script used for validating parser error handling and indentation rules. It evaluates if the current bar close is higher than the open using a two-space indented code block, then plots the closing price in a separate pane.
A strategy that builds a structural delta volume profile with point of control, value area and high-delta liquidity zones, plus a rolling P0 equilibrium and an acceptance and rejection scoring dashboard. Entries come from the flip of an adaptive ATR band that
DEPV2 Debug All is a multi-asset quantitative analysis indicator designed for separate pane execution. It evaluates signal conditions across up to twenty cryptocurrency pairs simultaneously using four analytical dimensions: Trend, Momentum, Volatility, and Vol
This indicator calculates the average percentage distance between the closing price and three benchmark mirror levels: a central midpoint derived from 500-period highs and lows, and dynamic upper and lower period bounds. The averaged distance is smoothed with
A price-chart indicator that plots a 9 and a 21 period EMA and prints a buy label on a bullish crossover when RSI is below the overbought level, and a sell label on a bearish crossover when RSI is above the oversold level. It tints the background and candles b
Marks the bar where a volume order block zone is first confirmed, at the completion of the moving average crossover, so the marker does not shift to an earlier bar afterwards. A sensitivity bank input selects the six sensitivity lengths, or custom values can b
This intraday strategy fades tests of the previous day high and low during the New York morning session. It identifies mean-reversion opportunities when price touches within a few ticks of the prior day high or low, closes back inside, confirms with above-aver
SMA Spread OSC plots the percentage distance between a fast SMA (20) and a slow SMA (200) as an oscillator in a separate pane, with optional smoothing. It adds average-distance bands from the spread's own history, an optional histogram and fills, acceleration
Calculates a volume-weighted average price that resets each day, week or month and plots it on the price chart. Two optional standard deviation bands use adjustable multipliers, with a shaded channel between the inner pair. A small table shows the current VWAP
This overlay indicator draws liquidation heatmap pockets on the price chart. It estimates pocket intensity from volume, price range, or their product over a configurable lookback, then filters by a minimum intensity and merges nearby labels. Two swing widths m
An indicator in a separate pane that splits the trading day into fixed custom windows, such as 07:00 to 09:50 and 09:50 to 12:00, and measures the wicks of each window as if it were one bar. For every window it records the open, highest high and lowest low, th
Linear Regression Reversal Strategy is a Pine Script chart overlay indicator that plots a linear regression trendline with upper and lower standard deviation channel bounds for a specified date range. Users can select exact start and end timestamps directly on
This indicator plots the cumulative distribution function of a beta distribution applied to a min-max normalized source series. Over a lookback window it scales the chosen source into the unit interval, then evaluates the regularized incomplete beta using a La
This indicator builds a simulated volume profile on the price chart. On the last bar it finds the highest high and lowest low across the previous 200 bars, splits that range into 50 price bins, and adds each bar's volume to the bin of its close. It draws a hor
This indicator calculates John Ehlers' two-pole Super Smoother Filter, an infinite impulse response lowpass filter designed to eliminate high-frequency market noise while reducing lag compared to standard moving averages. It plots a smoothed line directly on t
This overlay indicator measures fixed-length ranges from a New York session anchor and draws them on the price chart. Boxes mark a range as forming, closed above the previous high, closed below the previous low, or closed inside. It plots the prior range high,
This trend-following strategy generates trades using Donchian channel breakouts combined with higher-timeframe trend filters and chart-timeframe momentum. It confirms breakout entries against a higher-timeframe moving average and rate of change, while optional
This indicator expands Alexander Elder's Bull Power and Bear Power concept into a multi-model pressure analysis system displayed in a separate pane. It calculates bull, bear, and net pressure alongside dominance, impulse, and acceleration using selectable movi
This indicator calculates lower-timeframe volume delta and displays the directional result as colored dots in a separate pane. It fetches intrabar up and down volume using dynamic lower timeframes based on the current chart resolution. A positive delta colors
Volumetric Supply and Demand identifies and renders supply and demand zones directly on the price chart using pivot swings and ATR-based impulse triggers. Within active zones, it constructs localized volume profiles, highlights Point of Control levels, and dis
This overlay indicator is a research diagnostic that builds a volume profile between two user-set 15-minute swing times. It bins each bar's volume by high-low tick overlap on fine, base, and coarse row sizes, then applies local density gates and a paired-node
This strategy trades GBP/USD on the price chart. It enters long when a fast EMA crosses above a slow EMA while price stays above a trend EMA, and enters short on the opposite cross below that EMA. Signals are allowed only in the London session, 07:00 to 17:00
This library provides data structures and validation functions for bundled candle analysis in ICT trading scripts. It defines SumCandleStates type with pending, confirmed and completed values, plus a function to create instances of the state set. SumCandleData
Calculates smoothed momentum across the primary Magnificent 7 mega-cap tech stocks (AAPL, MSFT, GOOGL, AMZN, NVDA, TSLA, META) and optional additional tickers. It aggregates their performance either through equal weighting or market comparison modes against be
Dskyz Adaptive Futures Elite (DAFE) is an automated strategy designed for intraday trading. It generates long and short entries by pairing fast and slow moving average crossovers with candlestick pattern detection, filtered by RSI, volume, volatility, and a hi
Calculates the Relative Strength Index (RSI) based on close prices over a customizable period length. Plots the resulting oscillator in a separate chart pane alongside fixed horizontal lines at the standard 70 overbought and 30 oversold thresholds. When the RS
SMC Orderflow Overlay is a separate-pane order flow indicator designed to complement Smart Money Concepts strategies. It plots relative volume, delta proxy values, ATS state and spike indicators, and flow direction confirmation markers. Traders can enable an o
This strategy calculates three exponential moving averages with adjustable lengths for the fast, mid, and slow periods. It enters a long position when the moving averages form a bullish stack and a short position during a bearish stack, utilizing a transition
This script serves as a test fixture within the OptiPine parser suite to test error handling when assigning a series integer to an input default value. It attempts to declare an integer input using the current bar index as its default value and plots the resul
A strategy that first classifies the market using ADX and a Bollinger-inside-Keltner squeeze check, then switches between two sub-strategies. In ranging conditions it fades asymmetric Bollinger Band extremes with a 200 EMA trend filter. In trending conditions
This debug version of the DEPV2 indicator tests multi-method signal logic. It evaluates four categories—TREND, MOMENTUM, VOLATILITY and VOLUME—across 20 cryptocurrency symbols including BTCUSDT, ETHUSDT, SOLUSDT and others. Users select signal modes for simult
The Mirror Oscillator Morindok calculates a bounded momentum oscillator in a separate chart pane. It computes dynamic price reflection levels using a moving average and high-low channels over a specified lookback window. The script normalizes the current closi
An overlay indicator that detects pivot highs and lows and draws the latest resistance and support as extended lines. A buy signal fires when the close crosses above resistance, and a sell when it crosses below support. Each signal draws entry, stop loss and t
Marks the bar where a volume order block zone is first confirmed, at the completion of the moving average crossover, so the marker does not shift to an earlier bar afterwards. A sensitivity bank input selects the six sensitivity lengths, or custom values can b
A scalping strategy on the price chart built around market structure: change of character, break of structure and inducement sweeps, filtered by RSI extremes, volume, trend EMA, ATR range, session hours and signal confluence. A mode selector switches between C
Stochastic RSI plots smoothed K and D lines of a stochastic calculation in a separate pane, using smoothed moving average smoothing instead of a plain average. The K line shifts color from green to red by level. Overbought and oversold zones are filled, K/D cr
A strategy that fits a linear regression channel over a user-chosen start and end time and draws it on the price chart. A static channel is kept alongside a live one that starts after price closes outside the channel and locks when its correlation falls below
This indicator overlays several optional trend tools on the price chart. It draws a ZigZag from a deviation setting and can plot a multi-timeframe Tillson T3, a Jurik moving average, an ALMA, and a Range Filter. Users switch each tool on or off and change leng
An indicator in a separate pane that measures how far the average of open and close has moved from the day's opening price. The difference is plotted as an area, green above the open and red below, and the day open is drawn on the price chart. Percentile lines
The Liquidity Zones - ICT indicator identifies and highlights potential buyside and sellside liquidity areas directly on the price chart. It tracks recurring price levels within a specified lookback period, grouping price touches that fall within a configurabl
This indicator calculates a rolling financial beta that compares percentage returns of a selected source with percentage returns of a second symbol, defaulting to SPY. It keeps a circular buffer of returns over a user-set period and plots the result as a yello
This indicator calculates John Ehlers' Autocorrelation Periodogram to estimate the dominant cycle length of a market. It pre-filters price data using high-pass and smoothing filters, then computes Pearson correlation coefficients across a spectrum of lag perio
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.