The Bilateral Filter indicator calculates an edge-preserving smoothed price line based on bilateral filtering principles. It combines spatial domain distances across past bars with range domain price amplitude differences using dual Gaussian weighting function
This indicator calculates John Ehlers' Sine Wave cycle indicator and plots it in a separate pane. It detrends the chosen input price using a two-pole high-pass filter, smooths the result with a two-pole Super-Smoother filter, and resolves the cycle into in-pha
This strategy trades Donchian channel breakouts with ATR-based risk. It allows long and short entries, sizes the first unit from a risk percent, and adds up to four fractional units as price moves in favor. An initial ATR stop moves to breakeven after a set pr
This indicator plots Fibonacci retracement levels anchored to a confirmed structural reference swing and scores them based on historical internal price reactions. Instead of relying purely on geometric levels, it detects ATR-weighted micro-pivots inside the sw
This indicator identifies market displacement, structure breaks, and Fair Value Gaps (FVGs) directly on the main price chart. It highlights displacement candles using an average range lookback and multiplier factor, with optional structure break filtering usin
This strategy tracks gold price trends using three exponential moving averages with lengths of 8, 21 and 55. It calculates ADX for trend strength filter and ATR for dynamic risk levels. The script enters long positions when the EMAs align bullishly with suffic
Mirpapa_Lib_Structs is a Pine Script library designed to assist in detecting Smart Money Concepts (ICT) market structure shifts. It provides exported custom types and helper functions to manage trend state, track swing highs and swing lows, and verify structur
This indicator builds a pairwise similarity matrix for a user-supplied list of assets, defaulting to major stock indices. It collects a rolling window of returns or volume-modified returns for each ticker, then applies a selected distance or similarity functio
This indicator plots an exponential moving average of a chosen price source on the price chart. It calculates the average with exponential smoothing and applies a warmup compensator so a value is available from the first bar instead of waiting through a long s
Session Stats highlights Asia, London, and New York trading sessions on the chart with distinct background colors while tracking performance metrics. It plots session high and low lines directly on price action and presents a summary table displaying average s
This indicator displays session context, market structure shifts, and session scoring in a separate pane using imported pre-generated profile data. It plots a context score column chart colored by bullish, neutral, or bearish thresholds, highlights active kill
Indicatorv6SMC / ICT / price actionSessions & time
A channel breakout strategy using the highest high and lowest low over an adjustable lookback. It enters long when the current bar sets a new high and price is above a 50-period EMA, and short when it sets a new low below that EMA. Positions close when price c
The script is an indicator in Pine Script version 6 that plots a constant value of 5. It assigns the value 5 to a local variable x and then plots x. The indicator draws its plot in a separate pane. There are no input settings, no trading signals, no stop loss,
A liquidity sweep entry tool built as a strategy. It stores recent swing highs and lows as liquidity levels, detects sweeps through them, checks that price reclaims and that the candle meets wick, body and range requirements in pips, then confirms within a sho
Calculates and coordinates trading signals across up to twenty cryptocurrency instruments using four core analytical dimensions: trend, momentum, volatility, and volume. Users can configure signals to trigger from single dimensions, simultaneous multi-factor c
Plots the highest high and lowest low of a lookback window, default 20 bars, plus mirrored levels placed the same distance beyond each extreme, on the price chart. It estimates how much volume traded in the gap between each extreme and its mirror over up to 50
A separate-pane oscillator by MisinkoMaster that rebuilds RSI by weighting each bar's gain and loss with Aroon up and down values over the lookback, then scaling to a 0 to 100 line. Trend turns long when the value crosses above a long threshold and short below
Draws volume order block zones on the price chart, found when a fast and slow EMA cross, and shows each zone's upper, lower and mid lines with a volume label. Signals fire when one side's dominant block holds a set share of the combined volume pool, or exceeds
This strategy implements a six-state market regime classifier based on the Melgo Sequence, categorizing market action into bull and bear trends, rejections, indecision, distribution, and accumulation. Signals are derived using synthesized price data and requir
Teaching script that demonstrates for-in loops in Pine. It counts how many of the open, high, low and close values exceed a 20-bar average of close and plots that count, marks which values of a fixed array are positive with a label on the last confirmed histor
Market Speedometer plots a 0-100 market speed reading in a separate pane. It measures movement by bar-to-bar change, true range, or a short average of recent bars, then ranks that movement against ATR and a percentile lookback. An EMA smooths the reading, and
This indicator calculates the Bill Williams Market Facilitation Index as the high-low range divided by volume, or zero when volume is zero. It compares the index and volume with the previous bar and assigns one of four zones: green for both rising, fade for bo
This indicator calculates the Ehlers Trendflex oscillator and plots it in a separate pane. It applies a two-pole SuperSmoother low-pass filter to the chosen source, sums the cumulative slope over the lookback with a running buffer, and divides that slope by an
This strategy enters long or short on Donchian channel breakouts and can add units when price moves in the trade direction and RSI confirms momentum. It sizes each unit from a risk percent of equity and exits with an ATR initial stop, a chandelier trail that t
Fibonacci Retracement Quality evaluates how accurately price pullbacks align with key Fibonacci levels (0.236, 0.382, 0.5, 0.618, and 0.786) following confirmed swing moves. It filters out noise using ATR and calculates a score from 0 to 100 based on proximity
ACCVOL 1j (SMA5 + SMA10) - AD/B is a price chart overlay indicator designed to identify volume accumulation and bullish swing trading setups. It evaluates current bar price gains, volume expansion, and volume relative to a moving average against historical pri
This indicator plots the standard Ichimoku Kinko Hyo components directly on the price chart. It calculates the Tenkan-sen conversion line, Kijun-sen base line, Chikou Span lagging line, and Senkou Span A and B leading lines. The area between Senkou Span A and
The Mirpapa_Lib_Unicorn library defines data structures and logic for the Unicorn pattern within smart money concepts trading. It creates UnicornData types that track order blocks, fair value gaps, their overlaps into Unicorn zones, CHoCH confirmations, retest
This indicator plots several linear regression channels on the price chart. Each channel can be hidden or drawn as a channel, bands, or both, and its lookback is anchored to price, volume, oscillator extremes, calendar periods, sessions, or corporate events. P
This indicator calculates exponentially weighted moving average volatility from log returns of a chosen price source and plots the result in a separate pane. Squared returns are smoothed with an RMA-style weighting, bias-corrected, then converted to volatility
Signal Forge is a trend-following overlay indicator that combines an ATR trailing stop with a customizable Exponential Moving Average trend filter. It plots dynamic trailing stop lines and colors bars based on whether price action aligns with the EMA baseline.
SMC Session Context is an indicator that tracks trading sessions across Tokyo, London, and New York time zones. Operating in a separate pane, it monitors session highs and lows, previous session extremes, cumulative volume, and initial opening ranges. It ident
A moving average crossover strategy using two Hull Moving Averages. It enters long when the fast HMA crosses above the slow HMA and short when it crosses below, reversing the position each time. Both lengths are adjustable, and both lines are drawn on the pric
This Pine Script v6 indicator defines a recursive factorial function and plots the computed output of factorial five in an indicator pane. The script implements a basic mathematical recursion pattern where a function calls itself until reaching a base conditio
A trend continuation strategy that filters setups with ADX, rate of change, smoothed balance of power, an ATR expansion band, EMA 20 and 50 alignment and DI alignment. Entries can use pullback and reclaim, breakout or liquidity sweep triggers, with limits on e
This indicator processes signals across multiple cryptocurrency symbols including BTCUSDT, ETHUSDT, SOLUSDT, and additional Binance pairs. It evaluates trend, momentum, volatility, and volume methods to generate trading signals. Four signal modes are available
This indicator draws geometric ruler lines on the price chart from a user-chosen base time. It stores confirmed pivot highs and lows using left and right bar counts, and can use highs, lows, or both. Settings set colors and width for upper-shadow, lower-shadow
An overlay indicator that draws a cloud around a VIDYA, a volatility-adaptive moving average. Cloud width comes from the standard deviation of price over a history window, with separate positive and negative multipliers for the upper and lower edges. The cloud
Draws volume order block zones with asymmetric signals on the price chart, then adds a proximity layer that checks how close those signals sit to high-volume, displacement and tier conditions. Version 1 is a tick-friendly build. It is an indicator only.
A strategy that trades a 10 and 21 period EMA crossover, going long on a cross up and short on a cross down. Each entry has an ATR-based stop, 2.5 times ATR by default, and a profit target at 2.5 times the stop distance. Position size comes from a chosen risk
Small teaching script showing how for loops work in Pine. One plot counts how many of the previous bars closed above the current close over a 14-bar lookback, and a second plot sums array elements using a loop step of five. It appears in a separate pane and ha
This indicator maps market structure and supply and demand zones on the price chart. It marks validated and optional unvalidated swing highs and lows using a pivot length and extra confirmation bars. Consolidation and impulse moves are measured against ATR to
This indicator plots the binomial cumulative distribution function in a separate pane. It min-max normalizes the selected source over a lookback window into a probability between zero and one, then sums the chance of k or fewer successes across n trials. Log-g
This indicator plots an Endpoint Moving Average on the price chart. It calculates a linearly weighted average of the selected source over a lookback window, assigning the largest weight to the newest bar and smaller weights to older bars. The period input sets
A Donchian channel trend-following strategy featuring progressive breakeven stop-loss levels based on ATR (N). It enters on a 55-period Donchian breakout with an initial risk set at 2.0 N. As profit reaches key ATR milestones, the stop advances through progres
This indicator calculates an advanced Fisher Transform oscillator in a separate pane, using customizable smoothing algorithms, a signal line, and defined overbought and oversold thresholds. It incorporates a slower trend context line, detects market stall or a
Adaptive Structure Trend Engine plots a multi-layer trend view on the price chart. It uses FRAMA for structure and slope, KAMA for regime efficiency, and JMA for smoother momentum confirmation, then checks an EMA hierarchy of 21, 50, 100, 150 and 200. Base sig
This indicator calculates the Moving Average Convergence Divergence (MACD) line, signal line, and histogram in a separate pane. It uses configurable fast, slow, and signal lengths to compute standard momentum values. The histogram is dynamically shaded with di
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.