This strategy plots prior high and low breakout levels on the price chart and trades a long breakout. It goes long when the bar high exceeds the previous bar's highest high over a user-set lookback, and it closes that long when the bar low breaks the previous
This indicator overlays a regime and risk dashboard on the price chart. It calculates ADX from DMI, an ATR ratio against a long moving average of ATR, and a daily VIX close. It labels the market SHOCK, TRENDING, RANGING, or TRANSITION using those thresholds. I
This indicator identifies and visualizes key Inner Circle Trader (ICT) market structure concepts directly on the price chart. It detects Market Structure Shifts (MSS), Breaks of Structure (BOS), bullish and bearish Order Blocks (OB), Volume Imbalances, Fair Va
This strategy trades momentum breakouts by combining an Exponential Moving Average with the Relative Strength Index. It enters a long position when the closing price is above the EMA and the RSI crosses above the breakout threshold. It enters a short position
This utility indicator demonstrates how to request multi-timeframe price data in Pine Script v5 using the request.security function. It fetches a chosen price source from a user-defined higher timeframe, such as 60 minutes or daily, and calculates a 20-period
This strategy plots a fast EMA and a slow EMA of Heikin Ashi closes requested from two higher timeframes, both drawn on the price chart. It enters long when the fast average crosses above the slow average and enters short on the opposite cross, only inside a u
EFELER-DDT plots multiple moving average overlays and pivot-based support and resistance levels directly on the price chart. It calculates dual Weighted Moving Averages (9 and 15 WMA), three standard Exponential Moving Averages (20, 50, and 200 EMA), and three
This indicator detects price gaps between consecutive bars and plots them directly on the price chart. Gaps are identified when current price ranges separate from the prior bar candle body beyond a user-defined absolute point or percentage threshold. It projec
This indicator draws a 21-period exponential moving average and a 21-period simple moving average of the closing price directly on the price chart. The exponential average is blue and the simple average is red. Settings for length, source, and offset are decla
This long-term trend-following indicator plots three Weighted Moving Averages (13, 48, and 200 periods) directly on the main price chart. It evaluates price crossovers against each moving average to detect early trend shifts, alongside crossovers between WMA l
This strategy identifies breakout trades using a 7-period RSI combined with price extreme lookbacks. A long entry triggers when the RSI rises above 70 and price reaches a new lookback high, provided price remains above an optional EMA trend filter and passes a
This indicator calculates the Commodity Channel Index from a user-selected source and length and plots it in a separate pane. Dashed lines mark plus 100 and minus 100, a middle line sits at zero, and the area between the outer bands is filled. A smoothing line
This indicator plots five exponential moving averages directly on the price chart alongside calculated MACD signals. It generates buy or sell signals when an EMA cross and a MACD cross align within three bars under established multi-EMA trend conditions. The s
This indicator plots an eight-period and a twenty-period exponential moving average on the price chart and colors candles by their relationship. Candles are green when the faster average is above the slower average and red when it is below. The average lengths
This utility indicator benchmarks Pine Script execution performance, tracking execution time, estimated memory usage, and accuracy scores across customizable iteration counts. It allows comparison of custom routines against built-in calculations such as RSI, S
The BTMM Entry System is a price-chart overlay indicator based on the Beat the Market Maker methodology. It detects Optimal Trade Entry (OTE) second-leg patterns and Fibonacci zones, combined with multi-factor confluence analysis including EMA alignments, sess
This price-chart strategy is built around RSI divergence using a configurable RSI length and source plus left and right pivot lookbacks. Separate toggles control regular and hidden bullish and bearish divergence plots, and an RSI level is available as a take-p
This indicator marks Hammer and Hanging Man candlestick patterns on the price chart. A Hammer requires a bullish candle with a small real body, a long lower shadow, and a short upper shadow after a lookback downtrend. A Hanging Man uses the same body and shado
DFO 3 plots a directional flow oscillator in a separate pane. It averages five normalized components: a composite RSI momentum index, a cumulative volume delta built from one-minute volume, a price position over a 100-bar range, an EMA-versus-SMA trend spread,
Calculates and plots the relative strength lines for major currencies including EUR, USD, JPY, GBP, CHF, AUD, CAD, and NZD in a separate pane. It evaluates cross-rate movement using data from major Forex brokers like OANDA or FOREXCOM. Users can smooth the str
This script calculates short and medium-period Rank Correlation Index (RCI) values to identify potential reversal entry signals directly on the price chart. It checks whether the short-term RCI crosses oversold or overbought threshold levels and hooks back, co
This strategy trades gold on the price chart using stochastic, RSI and three EMAs, with ATR for distance filters and stops. Confirm and optional scalp legs enter long or short when M15 overbought or oversold levels, rejection wicks, Fibonacci zones and a no-ch
This overlay indicator builds a weighted volume profile over a chosen number of bars and plots pivot points with a point of control line on the price chart. Volume can be weighted toward recent, normal, or past bars, and swing length, row count, and alignment
Alpy Vix is a strategy that computes the Wave Trend oscillator from HLC3 using EMA and SMA, the Williams VIX Fix formula, VWAP levels, and Bollinger Bands on WVF. It generates signals on WT crosses and WVF conditions like long_VWMA or close strength versus pri
This indicator identifies market structure by calculating pivot highs and lows, detecting breaks of structure (BOS), and highlighting order blocks directly on the price chart. It checks for displacement during breaks using candle body size relative to a simple
This indicator overlays a volatility filter on the price chart. It loads CBOE VIX and VIX3M closes, divides VIX by VIX3M, and smooths that ratio with a five-bar simple moving average. A breakout is marked allowed only when the smoothed ratio is below 0.98 and
Box Scalper v4 is a strategy that plots buy and sell signals on the price chart using ADX trend filters, QQE momentum oscillator, and BOX channels. It signals entries based on crossovers and zone conditions, with trailing stop loss and take profit targets. Par
This indicator tracks and plots market breadth data for major stock market indices such as the S&P 500, Nasdaq, Dow Jones, and Russell indices in a separate pane. It fetches external market breadth metrics showing the percentage of stocks trading above various
This indicator identifies 2B reversal patterns across auto-detected or user-defined price levels on the chart. It monitors breakdowns and breakouts against key references such as regular trading hours highs and lows, overnight swings, previous day boundaries,
This indicator plots short and long simple moving averages directly on the price chart. It generates Buy and Sell labels when a crossover or crossunder occurs between the two moving averages. Signals are filtered to execute only within a user-defined daily UTC
Calculates and compares estimated buying and selling volume over a fixed lookback period from the latest bar. For each bar in the range, volume is apportioned between buyers and sellers according to price movement distances. The indicator displays an informati
The Elder Force Index indicator calculates efi as the EMA of price change times volume with a configurable length. It then plots the difference between efi and its 9-period SMA as colored column bars in a separate pane, with positive values colored up and nega
This strategy detects price breakouts beyond the high or low of a higher timeframe (default Daily) on an intraday chart. When the close crosses above the higher-timeframe high or below its low, it enters long or short, limiting execution to one breakout per di
The MarketSmith Indicator enhances price action visualization by applying custom candle coloring and overlaying configurable moving averages on the main chart. Bar colors can be based either on the bar open relative to close or on the price relative to the pre
HTF Candles & Pivots overlays higher timeframe candles and pivot point levels directly onto the main price chart. It renders customizable higher timeframe candle bodies, wicks, and labels while calculating pivot points, Central Pivot Range, and projected price
This overlay indicator combines several ZigZag lengths with an ATR-based ZigZag Supertrend and oscillator settings to mark trend direction on the price chart. It reads close or an optional alternative source and keeps a limited pivot history. A movable table s
This indicator calculates five RSI series from the chart close: a short RSI smoothed by a simple moving average, plus RSI lengths of 14, 30, 70, and 120. It stores those readings in arrays and offers toggles for price-bar colors that mark trend, crossovers, cr
This indicator combines the Schaff Trend Cycle (STC) oscillator with Andrew Abraham's Trend Trader indicator in a separate pane. It calculates the STC oscillator using fast and slow moving averages combined with double stochastic smoothing, plotting a colored
This indicator plots volume-based support and resistance zones on the price chart. It marks high, low, and close levels when volume exceeds a moving-average threshold, and can shade zones between those lines. Users choose up to several time frames, line style
This indicator calculates the percentage distance between the current price and the highest high price over the last 65 bars. It maintains an array of closing prices for the specified number of bars and identifies the maximum high value. The script then plots
An overlay for the S&P 500 index that measures the opening range over an observation window, classifies the day as volatile or not by comparing that range with the daily ATR, and projects high and low boundaries for the session. Reversal signal triangles appea
A separate-pane indicator that shows a slow stochastic oscillator and an RSI together. The stochastic uses a long K length with smoothing, and its D line changes colour with its direction. Overbought and oversold lines are drawn for both oscillators, with defa
A grid overlay that draws horizontal lines above and below the last price at a spacing set in points, with a configurable number of levels per side and an optional middle line. Each line is labelled with the lot size that would lose a chosen risk amount if pri
This indicator draws a rectangular price and time grid on the price chart from two manually set corner anchors, a top-right and a bottom-left, each with a time and a price. The box is divided into one to seven side-by-side grid units with alternating colours,
An overlay indicator that combines a Hull-style moving average, selectable as HMA, EHMA or THMA, with pivot-based support and resistance lines and optional labels. It builds alert messages in JSON for a broker webhook, including action, price, quantity, order
A strategy that approximates a trading bot's entry and exit rules in three modes: EMA 8 and 21 momentum with ADX and a volume surge, relative-volume momentum, and a daily SuperTrend trend rider using a daily EMA, ADX and consecutive green days. Exits include a
This indicator plots a 14-period relative strength index of the close and a 21-period exponential moving average of the close in a separate pane. The RSI series is drawn in purple and the EMA series in blue. There are no user inputs, so both lengths stay fixed
An indicator in a separate pane that compares a cap-weighted index with its equal-weighted counterpart, SPY and RSP by default, to gauge market breadth. It takes the log ratio of the two, then adds its momentum, a z-score, a percentile rank, divergences agains
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.