This indicator measures how far the current low sits below the highest high of the last 252 bars, expressed in 50-period ATR units and plotted as a negative value capped at 12. It draws that distance in a separate pane and colors the line green, yellow, or red
This educational script demonstrates compound logical expressions in Pine Script v6. It evaluates three simultaneous conditions: whether the current bar is bullish, whether its closing price is higher than the previous bar's close, and whether its volume excee
A price-chart indicator that stacks a 21, 50 and 200 EMA ribbon with a Supertrend line and an ATR-based volatility stop. On-balance volume trend and a volatility-percentile regime feed a scoring step, and a multi-timeframe heatmap table shows the combined read
Draws volume order blocks on the price chart with three tiers of asymmetric volume signals and a cooldown. A proximity marker fires when a high-volume bar, a displacement candle and a tier signal all fall within an adjustable number of bars. Rolling high-volum
A counter-trend strategy that fades price when it reaches a Pivot Point SuperTrend band, selling into upward stretches and buying into downward ones. Signals can fire on a touch of the band, on a regime flip, or both. Optional filters use the opening range of
This long-only trend strategy trades only while price is above a 200-period SMA that is also rising. It enters when price crosses back above a 20-period EMA after a pullback within that uptrend, and exits on an ATR-based chandelier trailing stop that ratchets
This indicator calculates smart money concepts and market microstructure data to filter trades based on premium and discount zones, order blocks, liquidity cascades, and session phases. It draws rejection markers and market structure elements directly on the p
A small chart-overlay indicator that marks the latest price with a coloured arrow line extending to the right of the last bar. The colour depends on the last bar: one colour when the close is above the previous close, another when it is below, and a neutral co
This indicator combines several oscillators in a separate pane: a wave momentum line with signal, a money flow area with selectable models, a VWAP-based oscillator, RSI and Stochastic RSI. It marks dots where several conditions agree, with a minimum confluence
This strategy applies Larry Williams' Ultimate Oscillator rules, blending 7, 14 and 28 period buying pressure, and draws in a separate pane. A long entry needs the oscillator below 30, a bullish price divergence and a break above the oscillator peak from that
The MRM Scanner is a multi-symbol technical analysis tool that scans a user-defined watchlist of up to 20 stock symbols. It calculates a cloud from 144 and 169 EMAs along with Fibonacci retracement levels based on swing highs and lows over a configurable lookb
This indicator performs Smart Money Concepts market structure analysis directly on the main price chart. It detects structural swing points including Higher Highs, Higher Lows, Lower Lows, and Lower Highs, while identifying Break of Structure (BoS) and Change
An overlay that trades pullbacks to VWAP in the direction of a higher-timeframe EMA trend. In an uptrend with VWAP rising it signals a buy when price dips back to VWAP, and in a downtrend a sell when price rallies to it. A stricter grade needs price to have st
An overlay indicator that looks for swing failure patterns, where price pokes beyond an earlier pivot and closes back, on the 30-minute and 1-hour timeframes, and combines them with fair value gap and inverse gap detection on the chart timeframe, intended for
An indicator for the price chart that draws intraday price levels above and below the session by blending an initial balance extension with a volatility-index implied move, then adding a point offset. The volatility index is chosen automatically from the futur
This overlay indicator is a companion dashboard for Bursa Malaysia stocks. It builds a table that shows Minervini trend-template conditions, VCP squeeze tightness, volume surge and contraction, price and average-volume liquidity filters, and an MCDX banker or
EMA Channel Reversal is a strategy that plots a 200-period EMA channel built from highs, closes and lows, plus fast and slow momentum EMAs with an optional glow. Entries follow a tracked sequence of breakout, momentum confirmation and pullback, with an alterna
The If Wrapped Subexpression Condition strategy is an exponential moving average crossover trading model. It calculates an 8-period fast EMA and a 21-period slow EMA from closing prices. The strategy executes a long entry when the fast EMA crosses above the sl
Flags unusually heavy volume bars on the price chart as possible large-participant activity. Detection combines a volume percentile gate with a z-score, then scales ATR thresholds by a low, normal or high volatility regime. It marks price impact bars, iceberg-
This indicator provides a comprehensive toolkit for crypto chart analysis. It calculates and plots Volume Profile boxes with value area and acceptance bars, VWAP with standard deviation bands, multiple EMAs for trend filtering including HTF bias, lower timefra
A strategy that trades direction flips on ATR-sized Renko-style bricks. A long opens after a set number of consecutive up bricks and closes after the same number of down bricks, with optional shorts. Brick size can be a fixed value or ATR multiplied by a facto
This long-only strategy combines 9, 21, and 200 EMAs with a Daily 50 EMA macro trend filter. It enters trades when the fast EMA crosses above the slow EMA while MACD is positive, price is above trend EMAs, and ADX confirms sufficient trend strength. Exits are
A futures strategy for 15-minute charts that builds a daily-reset VWAP with standard deviation bands. It requires several consecutive bars on one side of VWAP, then a pullback to within a small percentage of it and a bar closing in the trend direction. Entries
An indicator for the price chart, written with gold on a three-minute chart in mind, that looks for long and short setups. It detects regular or hidden divergences on RSI, MACD, MACD histogram, stochastic and optionally CCI, momentum and MFI, and needs a minim
This indicator reads the native footprint of each bar to find buy and sell volume imbalances at each price row. A row counts as imbalanced when one side exceeds the other by a set multiplier, checked diagonally or across the row depending on the chosen method,
This indicator plots intraday reversal signals and automatic stop loss levels tailored for the 5-minute chart. It identifies three-candle reversal patterns synchronized to 15-minute blocks, triggering buy signals when two consecutive green bars break above the
A long-only strategy that reads Bitcoin daily closes through request.security and compares them with a 30-day simple moving average widened by a slippage percentage. It buys when Bitcoin falls below the lower offset line and closes the position when Bitcoin ri
This indicator identifies bullish and bearish Marubozu candlestick patterns directly on the price chart. It determines pattern validity by calculating upper and lower wick sizes relative to the full candle range and comparing them against a configurable wick t
The quality-first preset of a strategy that routes orders to MetaTrader through connector alert messages. Inputs cover symbol prefix, suffix and mapping, lot size, a magic number, a pip multiplier and a base risk percentage, with higher risk tiers for selected
BTC ATH Golden Cycle is a Bitcoin-focused strategy script that plots time-based halving cycles, supply and demand zones, a ZigZag indicator, a Rainbow ribbon, and an Ichimoku Cloud directly on the main price chart. The script models historical and projected BT
An indicator for four-hour charts that builds a rolling VWAP with standard deviation bands. A long signal appears when one bar closes below the lower band and the next closes back above it, and the reverse for shorts. Filters skip trades when ATR volatility is
This intraday strategy identifies mean-reversion fade setups around the previous day's high and low (PDH/PDL). Operating within a configurable morning session window, it seeks rejection setups confirmed by volume spikes above an average threshold. Trades use s
This strategy executes trades based on dual Simple Moving Average (SMA) crossovers while managing risk through a dynamic trailing stop. It enters a long position when the fast SMA crosses above the slow SMA, and a short position when the fast SMA crosses below
This indicator calculates the Relative Strength Index (RSI) and detects regular and hidden bullish and bearish divergences between price movement and RSI values. It identifies pivot highs and pivot lows across both price action and the RSI oscillator using a c
A chart-overlay indicator that builds a volatility-based trend line from a smoothed price range and marks entries when the trend flips, plus reload entries after pullbacks. Each entry gets a stop sized from the distance to the trend line or an ATR multiple, an
A Pine library that exports one function returning fifteen values for higher-timeframe cycle ranges. From swing high and low inputs, by time or bar index, it tracks the latest price cycle, then gives its low, high, middle and quartile levels. It also returns p
The Aetherium Institutional Market Resonance Engine is an overlay indicator that combines coherence analysis, institutional liquidity scanning, and cycle resonance to identify market setups. It measures directional market alignment, calculates volume spike clu
An indicator that plots cumulative volume delta in a separate pane, using lower timeframe volume data requested for a chosen anchor period. A trend mode is flagged when delta moves above a positive threshold or below the matching negative one, and values betwe
Calculates the standard Supertrend indicator using built-in Pine Script functions based on Average True Range (ATR) and a multiplier factor. It plots a green support line during an uptrend and a red resistance line during a downtrend directly on the price char
This strategy plots on the price chart and uses daily EMA crossovers to generate signals for opening long positions in crypto trading. It activates between user-defined start and end dates and enters long trades when the fast EMA exceeds the slow EMA with bar
The Parabolic SAR strategy calculates the Parabolic SAR value to detect trend reversals on the price chart. It starts with a given acceleration factor and adjusts it dynamically between start and maximum values based on price movements. Long entries occur when
A strategy that trades with a short and a long EMA. A long entry needs price above the short EMA, which is above the long EMA, plus RSI below a level or price within a tolerance of a pivot low. Shorts mirror this in a downtrend near pivot highs. Each entry get
An indicator in a separate pane that divides price by trailing twelve month diluted earnings per share to get a price to earnings series, then wraps it in Bollinger-style bands. The basis can be an SMA, EMA, SMMA, WMA or VWMA of the chosen length, with upper a
This indicator combines volume-price divergence detection, RSI-filtered volume breakouts, and MACD divergence signals on the price chart. It evaluates price extremes relative to volume levels to detect volume-price divergences with arrow shapes. It also identi
A Pine Script v6 library that supports Commitment of Traders data requests. It holds the metric names and allowed directions (long, short, spreading) for the legacy, disaggregated and financial CFTC report types, so that other scripts can build the right data
Nick Rypock Trailing Reverse plots a percentage trailing stop on the price chart and reverses its direction when the close crosses that level. In an uptrend it trails below the highest close by the correction coefficient; in a downtrend it trails above the low
This indicator scans a pasted list of symbols for RSI directional momentum and shows matching long and short signals in a table in a separate pane. The user chooses continuous break, continuous retracement, flip break, flip retracement, divergence, or hidden d
This strategy plots up to four volume-weighted average price lines on the price chart: midnight, previous day, session, and a custom anchor such as session high and low, week, or month. It enters when price crosses two selected lines, using same-bar, position,
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.