This Pine Script indicator plots a higher-timeframe exponential moving average on the price chart. The script calculates the EMA using a configurable length and timeframe, then applies request.security to retrieve the value without repainting. It draws the lin
HTF Candles & Pivots is an indicator that overlays high time frame candles and pivot points on the price chart. It plots customizable candles with options for thickness, wicks, fill, history shift, and labels including day, average, and TD sequence. The script
This script is an indicator that plots a volume profile anchored to pivot points on the trading chart. It calculates the point of control (PoC), value area high (VAH), value area low (VAL), and displays them as horizontal lines and backgrounds. The volume prof
Candlestick Structure [LuxAlgo] detects multiple classic bullish and bearish candlestick patterns in the context of broader market structure. It evaluates patterns such as hammers, engulfing candles, stars, haramis, tweezers, and three-method formations agains
A chart overlay that detects pivot-based chart patterns and keeps a capped registry of them, each with a target, stop and invalidation level and a confidence score filtered by a minimum value. It uses ATR, volume z-scores, a higher-timeframe reference, a lower
A short-only strategy that sells when price pushes a set percentage above the upper Bollinger Band. The trigger can use the candle high or the close. After entry, it places a limit take profit a set percentage below the average entry price. Band length, multip
An overlay indicator that plots opening range levels on an index chart with a 9 and 21 EMA cross. It tracks four option contract symbols against the third resistance and support lines, noting which levels each option has touched and when, in an optional table.
A combined chart overlay that plots EMAs of 20, 50 and 200 bars with a zone around the middle line, an Ichimoku cloud with 9, 26 and 52 bar settings, and order blocks that can show as mitigated. It also marks bullish and bearish break of structure lines, break
An indicator that looks for reversal setups inside a Fibonacci retracement zone, defaulting to 61.8 to 78.6 percent with a sweet spot level, measured from a higher timeframe. It combines W and M pattern matching with Williams %R, MACD, RSI and an OBV EMA, and
Applies two Kalman filters, a short one at 50 bars and a long one at 150 by default, to closing price on the price chart. Trend turns up when the short filter is above the long one and down in the opposite case. Labels mark each turn with the close, and boxes
This strategy identifies breakout opportunities in Bursa Malaysia stocks using a slow EMA trend filter where price exceeds the 150-period EMA and the slow EMA is above its 150 EMA. It plots fast and slow EMAs on the price chart. Entry occurs on a new 20-day hi
This strategy plots a volume-weighted moving average, a Hull moving average, and a linear regression on the price chart. It enters long when the Hull average crosses above the volume-weighted average while stochastic is above 50, on-balance volume is rising, m
A strategy that trades Supertrend direction flips when ADX is above a threshold. A flip to uptrend with strong ADX opens a long, and a flip to downtrend opens a short, one position at a time. The Supertrend line is the initial stop and the take profit is 2.5 t
An indicator for four-hour charts that looks for a sharp drop followed by a slow, controlled recovery, treated as a rounded bottom, and the inverse for a rounded top. Window lengths, minimum percentage moves, a directional-bar ratio and a daily EMA direction f
Slow & Steady is a swing trading strategy that identifies trend direction using aligned EMAs of 50, 100, and 200 periods. It generates buy and sell signals when the MACD line crosses its signal line within a confirmed trend, filtered by ADX strength. Entries c
The Fractal Breakout Strategy identifies key market turning points using a five-bar Williams Fractal pattern. It tracks confirmed high and low fractal levels without repainting to serve as potential breakout entry triggers. When a breakout occurs, trades are e
A price-chart overlay that draws a static set of options gamma levels for QQQ (the Nasdaq-100 ETF) expiring in seven days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-04, produced offline fro
A small overlay indicator that tracks buy-side and sell-side liquidity as the highest high and lowest low over a lookback window. When a bar makes a new extreme, it updates a step-line level and places a BSL label above a new high or an SSL label below a new l
This indicator generates intraday trading signals by combining dual-sigma standard deviation bands, Heikin Ashi candle vectors, and a four-bar confluence score. It triggers long and short signals during defined trading sessions using either mean-reversion boun
This indicator calculates custom moving average convergence divergence values using selectable calculation methods, fast and slow lengths, source prices, and signal smoothing types. It plots an oscillator on the price chart with customizable vertical placement
Despite its name, this strategy does not build a volume profile. It flags bars where volume exceeds a moving average of volume times a threshold, then goes long when the close is also above a 20-period simple moving average and the close of the oldest bar in t
A separate-pane True Strength Index indicator with fast and slow parameter sets, selectable by a speed input. It offers colour themes, optional overbought and oversold lines, crossing markers and a middle line, and colour inputs for the line and signal. Separa
A strategy that mixes a Stochastic Momentum Index, an EMA pair and MACD histogram conditions. In the visible code it opens long trades when the MACD histogram crosses above zero with price over a 20-period EMA, and closes them on the opposite cross, with stop
This indicator plots the closing price of the asset. It is a basic example written in Pine Script v5 that displays the close value. The plot is configured to appear in a separate pane. No input settings are available and no trading signals or calculations are
A separate-pane histogram that shows a fast trend above zero and a slow trend below zero, each as colored bars. The fast trend uses 21, 55 and 89 period simple averages and the slow trend uses 3, 8 and 20 period averages. Green means a bullish stack, yellow a
A strategy script that combines a custom ATR-based Supertrend calculation with MACD line and signal crossovers. It draws green triangles for MACD bullish crosses, red triangles for bearish crosses, and separate triangles for the Supertrend direction on the pri
This indicator computes and plots the Directional Movement Index and Average Directional Index using Pine Script's built-in DMI function. It renders the positive directional indicator (+DI), negative directional indicator (-DI), and the ADX line in a separate
A smoothed moving average drawn on the price chart. Before averaging, each price is clamped inside a narrow standard deviation channel built around a short weighted average, which limits the effect of sharp spikes. The clamped price then goes through two weigh
This indicator is a Chandelier Exit style trailing stop, similar to a Supertrend, calculated from Heikin Ashi candles rather than the current chart candles. A long stop trails below the highest recent close and a short stop trails above the lowest, each offset
This indicator marks ICT liquidity voids on the price chart. It requests open, high, low, close, time, and ATR from a chosen timeframe with lookahead enabled, then draws bullish and bearish voids as boxes and lines. The source can be the high and low, an OTE l
This strategy plots a multi-timeframe exponential moving average on the price chart while evaluating momentum using the Relative Strength Index. It enters long positions when price exceeds the moving average by at least one percent and RSI crosses above the ov
This overlay indicator estimates annualized realized volatility from an exponential moving average of squared log returns. It plots lagged upper and lower price bounds and, on the last bar, draws a forward cone of projected prices using an interest-rate drift
This utility library provides color conversion and manipulation functions for Pine Script v5 scripts. It calculates RGB color values from Hue, Saturation, Lightness, and transparency inputs, validating ranges and returning native color objects. It also include
Donald SPX - Options Trading is an indicator designed to assist SPX index option traders by tracking session benchmarks and multi-timeframe moving average data. It calculates a 200-period weighted moving average (WMA) and requests multi-timeframe bar data from
This indicator calculates and displays the Average Directional Index (ADX) as a column histogram in a separate pane. It evaluates market trend strength by calculating directional movement metrics based on specified smoothing and DI length inputs. When the ADX
5 Minute EMA Strategy is a trend-following system designed for short timeframes that executes trades around moving average crossovers. It plots fast and slow moving averages (supporting EMA, SMA, RMA, or WMA) directly on the price chart. Users can enable an op
This indicator plots five moving averages of a chosen source on the price chart, defaulting to EMA lengths 10, 20, 30, 40 and 50. The user can switch the average type to SMA, WMA or HMA and recolor each line. Wide translucent glows sit under the lines, and sof
Color Picker Showcase is a basic demonstration script from the TradingView Pine Script documentation illustrating dynamic color assignment for plots. It plots the closing price in a separate pane, applying conditional logic to change the line color based on ca
Power Of Index with Trendline Pivots, EMA, and RSI overlays Smart Money Concepts market structure analysis directly on the price chart. It identifies internal and swing market structure shifts, such as Break of Structure and Change of Character patterns. The s
V1 Binancash - Futures Strategy 1M Candles is an intraday trading strategy designed for 1-minute cryptocurrency futures charts. It calculates dynamic support and resistance levels using pivot highs and lows, combined with a custom smoothed trend filter and a 3
This indicator draws a doubled numbered Square of Nine from a user-selected high or low. It fills cells by a chosen price step across several rotations and can show bar counts from that pivot. Pivot highs and lows that form after the anchor are marked on the c
30 min Pivot is an overlay indicator that plots an exponential moving average (EMA) calculated from a specified timeframe (default 30 minutes) and flags specific multi-bar candle setups. It checks the relative distance between price and the higher-timeframe EM
The Average Day Range indicator calculates market volatility by taking the difference between the simple moving averages of high and low prices over a specified lookback period. Plotted in a separate pane, it gives traders a measure of average price movement t
This strategy implements an ADX trend-following system with moving average pullbacks. It identifies strong market momentum when the Average Directional Index exceeds a chosen threshold, then monitors price retests of an exponential or simple moving average. Lo
This indicator modifies Perry Kaufman's Adaptive Moving Average by integrating John Ehlers' dominant cycle detection. It filters the selected price source with a high-pass filter and a super smoother, then evaluates Pearson correlation across multiple lags to
Divergenced B004 is a Pine Script strategy that plots on the price chart and looks for divergences in the Squeeze Momentum Indicator. It shorts when a green-section squeeze value falls while price rises, and longs when a red-section squeeze value rises while p
Calculates the Parabolic Stop and Reverse (SAR) indicator paired with an optional Exponential Moving Average (EMA) trend filter. A long position is triggered when price crosses above the SAR while remaining above the trend EMA. A short position is entered when
This strategy generates trading signals based on a triple confluence of Exponential Moving Averages (EMA), the Relative Strength Index (RSI), and MACD histogram momentum. Long entries require a fast EMA above a slow EMA, price above the fast EMA, RSI between 5
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.