Calculates relative strength index values across up to four configurable timeframes to compare short-term and long-term momentum. Generates long and short entry signals when lower-timeframe RSI crosses key thresholds, conditioned on higher-timeframe RSI levels
This strategy calculates the full Ichimoku Kinko Hyo indicator system, plotting the Tenkan-sen, Kijun-sen, Senkou Spans, Chikou Span, and Kumo Cloud directly on the price chart. It enters long positions when the Tenkan-sen is above the Kijun-sen while price tr
Multi-Timeframe Trend Analyzer [Lab] is an overlay indicator that evaluates market trends across five customizable timeframes using a selected detection method. Traders can determine trend direction using Moving Average Crossovers, Supertrend, EMA Slope, or Pr
This indicator detects the bullish Upside Tasuki Gap candlestick pattern on the price chart. It looks for a long green candle, a smaller gapped green candle, and a red candle that closes inside the gap without filling it, while an optional trend filter require
NYSA-Trend Kanali combines Parabolic SAR, higher-timeframe exponential moving averages, and weekly MACD signals on the price chart. It calculates Parabolic SAR to highlight trend shifts with visual buy and sell labels, plots weekly 8-period and 13-period EMAs,
This indicator draws an on-screen dashboard table tracking market structure and technical metrics across higher timeframes such as 2-hour and 4-hour intervals. It uses higher-timeframe data to evaluate swing highs, swing lows, RSI levels, support and resistanc
This indicator calculates and plots the Fisher Transform oscillator alongside its trigger line in a separate pane to highlight extreme price moves and potential reversals. It identifies bullish signals when the Fisher line crosses above its trigger line from o
This indicator implements a modified Guppy Multiple Moving Average system based on Fibonacci periods (3, 13, 34, 55, and 144 EMAs) combined with Granville rules. It detects reset crossover signals when the 3 EMA crosses the 55 EMA with price confirmation, as w
This indicator detects price movements over a configurable number of lookback bars based on percentage or price distance thresholds. It plots buy and sell signals directly on the price chart and can invert signals for counter-trend entries. Users can filter si
The RSI Alert Strategy with Webhook Integration is a Pine Script v5 strategy that plots RSI and EMA on the price chart to generate trading signals. It enters long positions when RSI drops below oversold levels while above the EMA and short positions when RSI r
ICT + Kill Zone + Silver Bullet is an overlay indicator that highlights key Inner Circle Trader (ICT) session timeframes on the price chart. It draws colored background boxes and labels for trading sessions including Asia, London, NY AM, NY Lunch, and NY PM. U
BTMM OTE Zones automatically identifies swing points to project key Fibonacci retracement levels and Optimal Trade Entry (OTE) areas such as 61.8%, 70.5%, and 78.6%. It plots these levels along with Premium and Discount valuation zones directly on the main pri
This library exports a function that calculates the Relative Strength Index from the close price. It measures bar-to-bar change, separates gains and losses, smooths both with a running moving average, and returns the standard 100-scale RSI. Callers pass the lo
The Long Term Alpha Indicator computes a weighted alpha from price change (close minus average of high low close) multiplied by volume and smoothed via simple moving average. It produces EMAs of this weighted alpha at fixed lengths of 110 30 and 8. Each EMA is
This indicator plots the comparative relative strength of major currencies in a separate pane below the price chart. It calculates strength metrics based on raw price or momentum oscillators including RSI, CCI, and Stochastics, smoothed using various moving av
This strategy is designed for gold trading using multi-indicator confirmation and custom profit protection mechanisms. It combines Stochastic, RSI, moving averages (EMA 20, 50, 200), Fibonacci levels, and ATR buffers to generate confirmation or scalp entries.
The Grid Bot Direction Plugin Supertrend Pivot indicator calculates dynamic market trend direction for automated grid trading. It computes a smoothed center level derived from pivot highs and lows, combining it with ATR-based bands to generate a trailing stop
This strategy plots a custom SuperTrend Polyfactor Oscillator in a separate pane using ATR, adjustable factors, and normalization options on the chosen indicator source. It generates long, short, or both direction signals based on the oscillator values with mu
Plots timeframe-adaptive moving averages and technical overlays directly on the price chart. It displays standard daily moving averages, weekly trends, or intraday averages depending on the active timeframe. The 200-period simple moving average dynamically shi
This library provides utility functions for managing labels on a TradingView chart. It allows creating labels at the last bar with specified levels, text, colors, and sizes. The refreshXPos function updates the x position of existing labels with optional bar o
Calculates the Z-score of closing prices over a specified moving average period and standard deviation length. It identifies potential statistical outliers by checking if the Z-score breaches positive or negative threshold levels during a user-configurable tra
This strategy generates buy and sell signals on the price chart using MACD crossovers. It applies an EMA 200 filter requiring price to trade above or below the EMA. Only the first MACD crossover is used after the filter condition is met. Stop loss is calculate
This indicator overlays higher-timeframe candles and pivot levels on the price chart. It draws HTF candle bodies and optional wicks or hollow fills, plus vertical time-division lines. Labels can show the timeframe, an average, the weekday, and a TD sequential
The script is a technical indicator that plots two zigzag lines on the price chart to highlight swing highs and lows. It uses ta.highest and ta.lowest to detect macro structures with length 16 and internal details with length 4. Lines connect these points in b
This overlay indicator scans swing pivots and draws classic and harmonic chart patterns on the price chart. It can mark head and shoulders, wedges, double and triple tops and bottoms, cup and handle, triangles, pennants, flags, broadening formations, Gartley,
Plots the spread between a Euribor futures contract and a SOFR futures contract, optionally converted to implied rates by subtracting price from 100. Settings choose the contracts, data timeframe, price source, sign inversion, basis point display and EMA smoot
A long-only strategy built on a fast and a slow EMA crossover, defaulting to 12 and 26. It buys a fixed cash amount when the fast EMA crosses above the slow EMA and closes when it crosses below, holding at most one position. A start date input limits when trad
An overlay indicator that draws opening range support and resistance levels for an index chart and a 9 and 21 EMA cross. It requests four option symbols tied to the third resistance and support levels and shows their EMA values and cross times in a ten-column
A Pine v5 strategy that trades reversal setups inside a Fibonacci retracement zone taken from a higher timeframe, combining W and M pattern matching with Williams %R, MACD, RSI and OBV filters. Risk per trade starts at a base percentage with an increment and a
Draws a volatility channel around a kernel regression baseline on the price chart. The baseline is a weighted average of recent hlc3 prices using a rational quadratic kernel, with bandwidth and alpha settings controlling smoothness. Channel width comes from th
This indicator marks price imbalances on the chart as boxes. It can show fair value gaps, opening gaps, and volume imbalances, each with separate bullish and bearish colors. Optional minimum-width filters accept points, a percentage, or ATR, and each type can
A strategy shown in a separate pane that trades divergences between price and cumulative volume delta. A confirmed bullish divergence opens a long and a bearish one opens a short, with direction selectable, and entries can be limited by divergence strength: fi
This indicator classifies market structure into volatility contraction pattern (VCP) stages on the main price chart. It evaluates a Mark Minervini Trend Template score alongside Bollinger Band width percentiles and volume metrics to determine stages such as Co
This strategy calculates a rolling price-change momentum score using a custom iterative loop function combined with exponential moving averages. It measures net price movement across six bars alongside a 9-period and 21-period EMA crossover. Long positions are
This strategy identifies long entry opportunities using a fast and slow EMA crossover, primarily designed for high-volatility tokens. It manages trades using a tiered scaling-out system that closes specified percentages of the position at three configurable pr
Detects liquidity sweeps, also called swing failure patterns, on the price chart. Swing highs and lows are found with a 20-bar lookback on each side. A bullish sweep is flagged when price trades below a swing low but closes back above it, and a bearish sweep i
Strong Trending - Momentum Rider is a trend-following strategy designed for intraday and swing trading. It evaluates market strength using a composite momentum score based on exponential moving averages, the Directional Movement Index (DMI/ADX), candle body ra
This strategy simulates high-frequency micro-trend reversals using ultra-short moving averages and oscillator extremes. It enters long when a fast EMA crosses above a slow EMA while a 2-period RSI is oversold, and enters short on a bearish EMA cross while the
A price-chart overlay that draws a static set of options gamma levels for SPX (the S&P 500 index) expiring in the same day. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated 2026-02-04, produced offline fr
An overlay indicator that finds equal highs and equal lows between two consecutive candles. It compares the gap between their highs, or lows, with the combined range of the two bars and flags the pair when that gap falls under a precision value. A lower precis
The 4x4 Futures Ghost Matrix indicator calculates inner and outer sigma bands around VWAP using standard deviation over a lookback period. It plots these levels on the price chart and renders a dynamic matrix table in the top right showing green or red dots ba
This indicator projects an overlaid MACD oscillator directly onto the main price chart rather than in a separate sub-pane. It supports multiple calculation variants including traditional MACD, MACD as histogram, MACD leader, and source-based MACD. Users can ad
This strategy trades Williams %R crossing into extreme zones. It enters long when the oscillator drops below the oversold level after being above it, and short when it rises above the overbought level after being below it. Each entry carries an ATR-based stop
An overlay indicator that draws a variable index dynamic average, a moving average whose smoothing responds to a momentum measure, coloured by trend direction with an optional shadow. Bands sit above and below it at a distance factor set by ATR. It also marks
Spot Net Strategy is a Pine Script v5 overlay strategy aimed at cryptocurrencies. It sizes each order from account equity times an equity-usage percentage, divided by price. It opens a long when close equals 0.998 and a short when close equals 1.004, then clos
This educational indicator demonstrates built-in Pine Script string manipulation functions. On the latest bar, it generates text labels directly on the price chart displaying formatted closing prices. In a separate indicator pane, it plots constant numerical v
An overlay that plots one or two triple exponential moving averages on an adjustable source. With one line it flags crosses of price over and under the TEMA; with two it flags crosses of the fast over the slow line. Lines are colored green, red or yellow by tr
A strategy that goes long when a fast simple moving average crosses above a slow one, and short on the opposite cross, with separate switches for long and short deals. Stop loss can be set by percentage or ATR multiple and can trail, with an optional break-eve
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.