This multi-mode trading strategy executes trades on the price chart using selectable technical models, including RSI-2 mean reversion, SuperTrend, MACD crossovers, Triple EMA, Bollinger Bands, or a combined multi-indicator approach. It filters trade entries us
This indicator calculates both a standard Relative Strength Index and a Relative Liquidity Index, which applies an RSI calculation to Average True Range values. It plots these oscillators in a separate pane alongside overbought and oversold threshold levels. I
This strategy calculates fast and slow exponential moving averages alongside an Average True Range value. It enters a long position when the fast EMA crosses above the slow EMA, and enters a short position on a cross under unless long-only mode is active. Stop
Monthly Seasonality colors the price chart background according to the calendar month using an HSV color wheel gradient spanning winter through autumn. Primarily designed for monthly timeframes, it helps identify recurring seasonal cycles across markets, such
SMC is a multi-timeframe indicator that detects and plots Fair Value Gaps (FVGs) directly on the price chart. It scans across up to six user-selected higher timeframes—ranging from intraday minutes to daily and weekly intervals—to identify bullish and bearish
PriceAction is a Pine Script v6 library designed to calculate and track market structure elements based on customizable pivot lengths. It exports custom data structures for pivots, structure breaks, and market trends, categorizing price movement into internal
This indicator calculates daily candidate supply and demand zones and confirms them using 4-hour volume profile high-volume nodes. It overlays dynamic zone boxes, a Magic Line volatility channel, weekly close levels, and volume-price analysis signals directly
Elastic Volume-Weighted Student-T Tension is an oscillator that calculates location and dispersion parameters based on a Student-T distribution model. It uses volume or ATR as a weighting factor to estimate market tension relative to historical distribution le
The Bollinger Band Width Normalized indicator measures volatility by calculating standard Bollinger Band Width and normalizing it to a range between 0 and 1 using min-max scaling over a historical lookback period. It plots as a single oscillator line in a sepa
A price-chart overlay that scans for volatility contraction setups, mainly on daily charts. It counts bullish divergences between price and cumulative volume delta built from intrabar data, within a lookback window, and checks that price sits near the range hi
This strategy implements Linda Raschke's classic trend pullback setup. It measures market trend strength using the ADX indicator and identifies pullbacks to an Exponential Moving Average (EMA). When ADX exceeds a specified threshold and price touches the EMA,
SMC Exit Signal is an overlay companion indicator that manages position lifecycle states driven by external Smart Money Concepts engine outputs. It monitors trigger levels, stops, and take-profit targets to track active trades directly on the chart. It can dyn
This strategy detects gap-up price zones where the current low is higher than the high from two bars prior, creating visual box objects on the price chart. When price re-enters the boundaries of the most recent gap zone while flat, the strategy opens a long po
This Pine Script v6 indicator tests every supported input type including integers floats booleans strings textareas sources colors times prices symbols timeframes and sessions. It sums all selected input values then plots that total along with the close price
An indicator meant for the 15-minute chart that extracts delta-based points of interest from each session, turns them into ATR-sized zones with contamination and freshness rules, and marks the first close through a zone edge plus an ATR buffer. A break can opt
This indicator calculates the distance in ATR units to the nearest higher timeframe OHLC level from the current close price. It identifies the closest level above or below the price and computes the average of near and big levels distances. The script plots we
A long-only strategy for one-minute spot charts that waits for a bullish break of structure above a swing high, then parks an entry at a Fibonacci retracement of the impulse leg, defaulting to the 0.618 level inside a 0.5 to 0.618 zone. The stop goes below the
Test fixture for a strategy-description simulator, drawn in a separate pane. It replays a generated rule set on the chart candles between a start and end time, with a ticker mapping check and an optional trace to the Pine logs. The comments state the policy: s
This indicator calculates and plots mirrored price action and fractal pivot points directly on the price chart overlay. Users set two mirror price levels and anchor times interactively on the chart. The script then projects inverted price candles based on refl
Types Demo is an educational indicator designed to illustrate fundamental Pine Script variable types, including boolean, integer, float, string, and color. It checks whether the current bar is bullish and plots the closing price in green within a separate pane
A price-chart indicator by BackQuant that smooths a chosen source through up to three causal median filters, then a two-pole Super Smoother, to draw a trend line coloured by direction. A chop filter can block trend changes when directional efficiency or ATR-no
Draws volume order blocks on the price chart and marks three tiers of asymmetric volume signals, buy and sell, with a cooldown. High-volume proximity markers fire when a rolling highest-volume bar sits within a set number of bars of a tier signal. This version
A strategy that sorts volatility into five states from the ratio of a fast ATR to its average, then picks entries by state. In low volatility it fades moves beyond the prior range when RSI is stretched. In high volatility it takes range breakouts that match an
This strategy models a zero-days-to-expiration (0DTE) Opening Range fade system on the price chart, designed around Mini-SPX index options. It calculates an opening range box and gauges directional sentiment from an external symbol like ES futures. Bullish con
Quad Rotation 40 4 is the slow pane of a four-stochastic setup with periods 9, 14, 40 and 60. It plots the 40/4 stochastic K and D lines in a separate pane with oversold and overbought zones, K/D cross triangles inside extreme zones, and a convergence band wei
Compares price with a moving average on four selectable timeframes, defaulting to 15 minutes, 1 hour, 4 hours and 1 day. Each timeframe scores plus one, minus one or zero, and the four are summed into an alignment score from minus four to plus four. It plots i
An overlay indicator for crypto charts that combines a volume profile with value area, an anchored VWAP with bands, an order flow proxy from lower-timeframe delta, relative volume and cumulative delta, and price action based on swing pivots and ATR rejection w
This compact indicator labels Elliott Wave counts on the price chart. It runs a zig-zag at several depths, chooses the depth that gives the best fit, and applies Elliott Wave rules, with a strict mode that forces an A-B-C count when the rules break. A correcti
An indicator on the price chart that draws an ATR-based trailing stop with a smooth tightening phase. The stop starts at a multiple of a 200 period ATR from the extreme and flips when the close crosses it. After a flip, the stop moves closer to price along a s
A macro strategy that builds a global central bank liquidity series from the Fed balance sheet, Treasury account, reverse repo, ECB, People's Bank of China and Bank of Japan, and a combined M2 money supply series, each convertible to dollars and switchable. It
This indicator computes the Kalman filter applied to the chosen source to measure trend strength and generate oscillator values. It plots these values along with optional ZigZag swing points in a separate pane. The script overlays PO3 ghost candles from a high
An indicator on the price chart that draws a zigzag of swing highs and lows from a chosen timeframe, with length, depth and highlight level inputs and an option for a curved line. The recursive depth builds higher-order swings from lower ones. It can attach RS
TESLA-BestPosition is a long-only dollar-cost averaging strategy that combines custom Relative Strength Index levels with smoothed highest-high and lowest-low channels. It calculates 10-period exponential moving averages of highest highs and lowest lows over a
A Pine Script v6 library that stores timestamped values and retrieves the value at a past point in time, such as one week, one month or year-to-date ago. It defines a data type with parallel time and value arrays, helper functions that limit array size to the
Calculates consecutive bar sequences that fail to create new price extremes and identifies potential reversal breakout points. When a run breaks, the script plots measured move projection arrows, high-water mark lines, and Fibonacci levels directly on the pric
Calculates and plots an Autoregressive Finite Impulse Response (AFIRMA) moving average directly on the price chart. It weights historical price data using selectable windowing functions, including Hanning, Hamming, Blackman, and Blackman-Harris filters. An opt
This strategy template implements an EMA trend filter paired with MACD momentum confirmations. Long positions trigger when the fast EMA is above the slow EMA alongside a bullish MACD crossover and positive histogram, while short positions require the reverse.
Simple RSI calculates and plots the standard Relative Strength Index oscillator in a separate pane. It tracks price momentum based on a user-defined calculation length, defaulting to 13 bars, applied to a selectable price source such as the close. Dashed horiz
This overlay indicator calculates the 14-period Relative Strength Index to identify overbought and oversold market conditions. When RSI crosses key thresholds, it plots initial long or short entry labels directly on the price chart. If price continues moving a
Session Raid Stats highlights custom session price ranges and projects range extension lines at fixed point intervals above and below session highs and lows. It identifies liquidity raids exceeding user-defined point thresholds within a specified time cutoff f
Calculates the Composite Fractal Behavior metric across multiple depth tiers to analyze trend persistence and cycle behavior. It evaluates fractal pattern ratios across logarithmic period steps, smooths the resulting index, and applies Jurik Moving Average fil
Zen Trading Toolkit is an overlay indicator that plots average bar range measured-move targets from the prior regular-hours close, plus optional yesterday high, low, close and range projections. It draws an N-bar opening-range box and a volatility table of ave
Seykota Alt 21: Breakeven Lock is a trend-following breakout strategy based on Donchian channels and ATR position sizing. It enters positions on Donchian channel breakouts and scales in up to multiple units as price moves in favor. The system moves stop losses
This strategy plots an ATR Chandelier trailing stop on the price chart and tracks a directional trend state. It marks confirmed flips, weak body-rejected flips, and wick traps, and colors bars as price nears warning or danger zones around the flip trigger. Ada
This indicator analyzes market structure and identifies key swing highs, swing lows, and consolidation ranges across multiple timeframes. It automatically adapts swing lengths and consolidation thresholds according to chosen profiles for scalping, intraday, or
This indicator evaluates trend strength by calculating the Average Directional Index (ADX) and plotting colored dots at a fixed horizontal level in a separate pane. The color of each dot dynamically indicates whether the trend is weak, medium, or strong based
This indicator overlays a dynamic moving average on the price chart by adjusting a baseline mean with a pulse acceleration factor. It measures rate of change differences between price and the moving average, scaling the displacement by volatility via standard
This indicator combines the Relative Strength Index (RSI) and Money Flow Index (MFI) into a single hybrid oscillator in a separate pane. Users can adjust the relative weighting of price momentum and volume flow to create a custom hybrid value bounded between 0
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.