This strategy evaluates higher-timeframe four-hour ADX momentum and RSI conditions to generate long trades on lower timeframes like 15 minutes. Entries trigger when 15-minute RSI drops relative to four-hour RSI under specific directional strength conditions. P
This strategy trades long breakouts of the highest high over a user-set period. It enters when the close is above that prior high and the position is flat, then sizes the order from account equity, a risk percentage, and ATR times a multiplier. It exits when t
Simple Strategy is an educational strategy script designed to demonstrate automated order messaging and webhook alerts. It executes on the main price chart, entering long when the current bar closes above the previous close and entering short when it closes be
Translates key reference levels between CME E-mini S&P 500 futures (ES) and cash equity equivalents (SPY or SPX), displaying them directly on the price chart. When applied to an ES chart, it projects cash session highs, lows, opens, prior period levels, and ga
The Xsodus Supertrend Strategy is a long-only Pine Script strategy that overlays the Supertrend indicator on the price chart to generate buy signals for long positions when the trend is up. It calculates the Supertrend line using a configurable length and mult
Combines trend-following moving average entries with an astronomical cycle filter. Entries trigger on a rising EMA filter and are gated by Vedic astronomical events like eclipse windows and Vishti karana. The strategy offers two distinct exit styles: a trend m
Pivot Trendline Trading is an automated strategy that identifies pivot-constrained trendlines and calculates quality scores for potential setups. It uses an Efficiency Ratio and EMA cross count to determine trending regimes before entering on trendline breakou
This indicator plots key session-based price action reference levels on the price chart. It calculates and displays the current session open, previous day close, Globex session high and low, weekly open, and higher-timeframe boundaries. It also supports bar co
This indicator calculates and visualizes Opening Range Breakout (ORB) zones directly on the price chart. Breakout signals are identified when the close or an EMA crosses the opening range boundary, with entry sensitivity managed by retest requirements. It mode
This indicator screens many symbols for close-to-close inside bars, a stricter inside bar that also requires the close to continue in the prior candle's direction. It scans either a pasted symbol list or one page of a preset Nifty index list, with a hard limit
Breakout AVAAI BITGET is a cryptocurrency breakout strategy that identifies entry points using price channels alongside ATR, MACD, ADX, and volume trend filters. Long and short entries trigger when price breaches Donchian-style highest highs or lowest lows und
This script is a simple exponential moving average crossover strategy designed as an example test script. It calculates a 14-period fast EMA and a 28-period slow EMA, plotting both lines directly on the price chart. The strategy triggers a long position entry
I2.0 SM Radar plots Smart Money Concepts zones on the price chart for crypto. It marks bullish and bearish Order Blocks, Fair Value Gaps with age-based fading, liquidity zones at equal highs and lows, and previous day week month highs and lows. It also detects
This indicator calculates a custom CSI value using price body ratio, volume score, and range z-score normalized by ATR. It generates bull and bear sentiment signals when CSI, RSI below 60, and Bollinger Band conditions align simultaneously. Bull signals trigge
The Adaptive Window Size indicator computes a quadratic signal from the chosen source series using absolute differences normalized by total variation. This signal feeds into an exponential formula to produce an adaptive window size value. The script plots both
This indicator calculates the Chande Momentum Oscillator by comparing the sum of price gains to the sum of price losses over a defined lookback period. It plots the resulting oscillator line in a separate pane alongside configurable upper, lower, and zero refe
This indicator implements Tom DeMark's TD Sequential methodology on the price chart to detect trend exhaustion and reversal zones. It counts the Setup phase of nine consecutive bars comparing closes to four bars prior, tracks setup perfection, and advances int
This indicator detects classic price structure on the chart by finding swing pivot highs and lows over a user-defined period. It draws connecting lines and labels for lower lows, lower lows with lower highs, higher highs, and higher highs with higher lows, plu
This indicator identifies trend reversal signals on the price chart by combining exponential moving average crossovers with momentum and volatility filters. It calculates fast, slow, and long-term filter EMAs, along with RSI and ATR. A bullish reversal trigger
This indicator detects large price gaps by comparing each candle’s high-to-low range with the previous ATR and requiring a minimum body percentage. Qualifying candles are stored in a rolling buffer and drawn as price zones on the chart, limited to the most rec
This indicator calculates a short-period Relative Strength Index and monitors crosses around a center threshold. It triggers buy signals when the RSI crosses above the level and sell signals when it crosses below. Signal shapes are plotted directly on the main
Lucid 100K is an automated evaluation strategy tailored for micro futures contracts such as MES, MGC, and MNQ on lower timeframes. It operates a two-phase state machine that moves from an initial risk-averse lock-in phase to an expanded payout phase once targe
This strategy enters a long position when a short RSI falls below a user threshold and price is above a simple moving average trend filter. It closes the long when RSI rises above a second threshold and does not set a stop loss. Position size defaults to full
This indicator overlays an order flow intelligence suite directly on the price chart. It renders a liquidity heatmap across configured price zones, alongside an on-chart information panel displaying volume delta, cumulative volume delta, a momentum compass bas
Webhook Test generates standard alert conditions designed to verify webhook integrations between TradingView and external automated trading bots. It evaluates conditions on the latest price bar to trigger simulated open long, close long, open short, and close
JoppanFX Candlestick Patterns identifies classic single-candle and multi-candle price patterns directly on the main price chart. It checks for bullish patterns (Hammer, Inverted Hammer, Bullish Engulfing) and bearish patterns (Shooting Star, Hanging Man, Beari
Breakout Follow Trend is a quantitative trend-following strategy designed to capture volatility expansion. It triggers entries when price breaks out of Bollinger Bands, filtered by an EMA trend filter, optional candle overlap rules, and a volume moving average
Meridian - Futures Context is an intraday analysis indicator designed for US index futures. It measures volume participation using relative volume, calculates rolling realized volatility, and evaluates trend context through VWAP slope and EMA structures. Displ
This strategy enters long when the fast EMA crosses above the slow EMA while ADX is at least the minimum and DI plus exceeds DI minus. It enters short on the opposite cross with DI minus above DI plus. Each entry sets an ATR-based stop and take profit using th
GemHunter v4 classifies market conditions into bullish, bearish, or neutral regimes using a multi-indicator voting system. It combines exponential moving average alignment, MACD momentum, and RSI strength, optionally gated by ADX trend strength and higher-time
Air Pocket Profile builds a range-distributed volume profile over a user-set lookback and draws it on the price chart, extending it by a projection length. Rows below a fraction of peak volume form air-pocket zones, while the heaviest row is the volume anchor
Brucetrade Mechanical Framework is an overlay strategy combining higher-timeframe bias with Smart Money Concepts (SMC). It detects Fair Value Gaps (FVG), Inverted FVGs, and liquidity sweeps across configurable higher and momentum timeframes. Signals are filter
This strategy overlays asymmetric Bollinger Bands built on a Weighted Moving Average of hlc3. It opens long positions on an upside breakout above the upper band, confirmed by positive momentum and candle structure filters. Positions exit only when the closing
SHODAN9 Katana is a trend-following strategy that generates trading signals using Heikin-Ashi candle color transitions. It enters long positions on the first green Heikin-Ashi candle after a series of red candles and enters short positions on the first red can
This strategy serves as a modular foundation for developing custom trading systems in Pine Script v6. It provides leverage-adjusted position sizing, date range filtering, and trade execution handlers, while leaving entry conditions open for user-defined logic.
This overlay indicator draws a volume heatmap and marks high-volume candles with bubbles. It splits the lookback into price rows and spreads each bar’s volume across the rows it spans. A blue-to-red gradient shows density, and boxes are deleted and redrawn onl
Christian Qullamaggie Strategy is a trend-following and breakout strategy overlay designed to identify high-momentum trading opportunities directly on the price chart. It evaluates market conditions using fast, mid, and slow EMAs, average true range (ATR), and
This indicator plots Bollinger Bands on the price chart. It uses a lookback length and a multiplier, the usual controls for the middle band and the distance of the upper and lower bands. The length setting changes how many bars enter the calculation, and the m
This indicator computes the Watchtower Axis as a 257-period weighted moving average of closing prices to establish the main trend baseline. It defines volatility gates using the highest high and lowest low over 463 periods, along with a 377-period exponential
The VAMO Crossover Strategy is a scalping system that combines momentum and volatility into a Volatility-Adjusted Momentum Oscillator (VAMO). It calculates momentum using Rate of Change divided by ATR and generates trade signals when VAMO crosses its EMA signa
Color Preview Test is an overlay indicator that samples Pine Script color expressions and applies them to the price chart. It assigns hexadecimal literals, built-in color constants, color.rgb values, and color.new transparency, then plots the close in blue, ti
This strategy executes trades based on simple moving average crossovers. It calculates a 10-period and a 30-period SMA, opening a long position and closing any short position when the fast SMA crosses above the slow SMA. Conversely, it opens a short position a
Multi-Timeframe Moving Averages is an overlay indicator that calculates and plots moving averages across multiple timeframes directly on the main price chart. It supports various moving average types including SMA, EMA, WMA, HMA, RMA, and VWMA, with customizab
This strategy executes trades on gold based on a confluence of Supertrend, RSI, MACD, Bollinger Bands, and volume spikes. It enters long or short positions when trend direction aligns with momentum and price positioning relative to volatility bands, filtered b
High Volume Points draws circles at confirmed pivot highs and lows when summed volume exceeds a normalized threshold. It sums volume over twice the pivot length, compares that sum with a high percentile of recent volume, and skips quieter pivots. Circle size f
This indicator calculates standard Bollinger Bands using a simple moving average basis along with upper and lower volatility bands. It measures normalized band width to detect squeeze conditions where the bands contract to their narrowest point over a specifie
The OPTD ORB Strategy detects an opening range from a user-defined session window on the chart timeframe. It waits for a specified number of consecutive closes beyond the range high or low on a separate signal timeframe to generate a long or short entry. The d
Calculates and plots zigzag swing lines directly on the price chart based on user-defined deviation and depth settings. It allows traders to number recent swing segments and assign specific Elliott Wave structural models, including impulses, zigzags, and diago
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.