This indicator plots a stop-loss price on the main chart as green crosses. It compares the previous bar's high-low range with a 13-period ATR and offsets the current open by one, two, or three ATR multiples, or by the previous low plus ATR. Length variables na
This indicator tracks consecutive closing price movements to identify trend changes. It maintains separate counters for periods where close is higher than close[4] (buy direction) and lower than close[4] (sell direction). Counters reset when the condition no l
This indicator draws Smart Money Concept (SMC) elements directly on the price chart. It detects swing highs and lows, swing structure points, and order blocks (bullish and bearish OBs), displaying them using boxes and labels. It also features customizable wate
The 3MA Average indicator calculates three separate moving averages using customizable lengths and types, including SMA, EMA, WMA, HMA, and VWMA. It then computes the arithmetic mean of these three values to create a composite moving average plotted directly o
This Pine Script v5 indicator tracks code coverage for debugging TradingView scripts. It monitors execution of functions, conditions, loops, and lines using internal arrays and counters triggered by debug functions. Coverage metrics are shown in a table on a s
This indicator detects institutional or large-scale market activity using candle body size and trading volume. It compares current candle bodies against a 20-period simple moving average and checks for volume spikes above an adjustable moving average filter. I
This indicator classifies market conditions into Bull Market, Correction, or Bear Market regimes using a 50-week Simple Moving Average (SMA). It requests weekly timeframe data to track consecutive weekly closes relative to the 50W SMA. A Bear Market regime is
This indicator computes Root Mean Square Error (RMSE) relative to benchmark moving averages such as EMA or ALMA and applies Bollinger Band envelopes or iterative loop thresholds. It plots the RMSE metric and threshold bands in a separate pane to signal trend c
The Spot Buy Marker + PnL indicator tracks manual spot trading positions directly on the price chart. Users specify a buy price, entry timestamp, and either coin quantity or total USD investment. The script computes real-time profit and loss as a percentage of
Calculates the price ratio between the S&P 500 (defaulting to SPY) and Gold (defaulting to GLD) to evaluate macro valuation extremes. It tracks the ratio alongside a simple moving average and evaluates market status across customizable warning, danger, and ext
This indicator plots five exponential moving averages on the price chart using lengths of 5, 13, 50, 200 and 800, labeled as a food system. It scores directional bias against a user threshold, includes an optional 15-minute-and-above rule, and shows the result
MOTO ka AnjalikaAstra is an overlay indicator that combines Ichimoku Cloud concepts with Average True Range volatility filters. It calculates custom Tenkan-Sen, Kijun-Sen, and Senkou Span components using ATR bands rather than standard high and low price chann
This indicator identifies the classic three-bar bearish evening star reversal pattern directly on the price chart. It checks for a strong initial bullish candle, followed by a middle doji or weak candle, and completes when a subsequent bearish candle closes be
Combined Liquidity, Channels, RSI, and VWAP is an overlay indicator that plots multiple technical analysis metrics directly on the price chart. It calculates Keltner and Donchian Channels, volume-based metrics like cumulative volume delta (CVD), VWAP with stan
This overlay indicator plots a 30-period and a 100-period simple moving average of close on the price chart and fills the space between them. It marks a sell label when the slower average crosses above the faster one and a buy label when it crosses below, and
Currency Strength Chart measures and compares relative strength across major fiat currencies and optional commodities. It aggregates price data for major Forex pairs from selected brokers and plots smoothed strength lines for each currency in a separate chart
RSI Bounce calculates custom Relative Strength Index levels scaled back onto price, creating nine price-equivalent RSI band series centered around a median RSI baseline. It combines short-term RSI extreme checks with customized MACD signal line crossovers to i
This overlay indicator plots the 50- and 200-period simple moving averages on the price chart and evaluates Bitcoin regime conditions from RSI, ADX, and those averages. It colors the background when price is above the averages or in a full bear state, defined
This indicator plots accumulation and distribution markers on the price chart. It measures density as volume divided by candle range and flags bars whose density is well above a prior average and that set a local low or high. A marker below the bar marks accum
The GBPJPY System is a MACD divergence strategy for the GBPJPY pair. It calculates MACD on the 1-hour timeframe, RCI on the current bar, and EMA on the 4-hour timeframe to detect trend reversals and divergences. The script plots entry signals, stop loss, take
This indicator calculates and plots multi-timeframe pivot points using Fibonacci or Camarilla formulas alongside key higher-timeframe and session levels directly on the price chart. It renders support and resistance lines from S1/R1 through S5/R5 and session r
Market Cipher B is a multi-oscillator indicator that draws in a separate pane. It plots a Wave Trend line from a channel period, an average period, a moving-average source, and a moving-average length, with optional divergence markers at long and short bullish
SMC Flow System plots smart money concepts and market structure directly on the price chart. It identifies internal and external swings, marking Break of Structure (BOS), Change of Character (CHoCH), and swing highs or lows according to customizable sensitivit
A Pine Script visualization script demonstrating custom technical drawing techniques on price charts. It plots a 20-period simple moving average with dynamic color intensity derived from price momentum, marks inside and outside bar patterns using shapes, and l
Calculates three-bar Fair Value Gaps (FVG) and pivot-based dealing ranges to generate buy and sell signals directly on the price chart. It determines premium and discount zones relative to the dealing range equilibrium and colors the background accordingly. A
This indicator calculates the proportion of trading volume that occurs within a user-defined time window in the America/New York timezone. On intraday charts, it evaluates whether the current bar falls inside the session, while on higher timeframes it retrieve
This indicator detects and draws bullish and bearish Fair Value Gaps (FVG) directly on the price chart using Smart Money Concepts logic. It identifies three-bar price imbalances where a gap exists between the first bar's wick and the third bar's wick. Gaps are
Volume Profile Plus is a session-based or fixed-lookback volume profile indicator that plots a horizontal volume histogram on the price chart. It identifies the Point of Control (POC) as the highest-volume price level, computes the Value Area (VAH/VAL) using a
This technical indicator for XAUUSD overlays multi-factor market analysis directly onto the main price chart. It evaluates market conditions using Stochastic, RSI, fast, slow, and trend EMAs, Fibonacci lookbacks, volume spikes, and dynamic Support/Resistance l
ICT Turtle Soup by Flux Charts is an overlay indicator that detects Smart Money Concepts (SMC) Turtle Soup liquidity sweeps and market structure shifts (MSS). It identifies liquidity grabs across standard or higher timeframe periods and projects take-profit an
This indicator draws support and resistance channels on the price chart from hourly pivot highs and lows. It clusters confirmed pivots that fall inside a maximum width, scores each cluster by how many pivots it contains, and keeps channels that meet a minimum
This indicator plots demand and supply zones computed from volume profile with 30-56 bins, fair value gaps on 4H, and equal highs/lows. It draws a magic line using ATR(14) x 1.618 golden ratio anchored to the 00:00 UTC close. Signals identify liquidity vacuum
This indicator detects early potential market turning points based on order block and engulfing candlestick patterns on the price chart. It checks for a local swing extreme on the second closed bar followed by an immediate engulfing reversal candle on the prio
This indicator calculates dynamic grid trading boundaries derived from Bollinger Bands to define upper, lower, and middle range levels. It computes moving average basis lines and standard deviation bands, applying user-defined offsets, smoothing, and minimum o
This indicator plots a binary entropy series from a Bernoulli process applied to percent-ranked measurements in a separate pane. Measurement modes include raw value, moving average, change, momentum, acceleration, contribution, percent change, volatility, and
This overlay indicator marks smart-money structure on the price chart. It finds swing pivots, flags displacement candles whose body exceeds a multiple of the average body, and can label breaks of structure. It draws bullish and bearish order-block boxes and ca
MA Oscillator Map calculates momentum and trend oscillations relative to configurable moving average baselines. It supports multiple moving average types, including SMA, EMA, HMA, VWMA, SMMA, WMA, and Adaptive Least Squares Moving Average (ALSMA). Operating in
This indicator plots multiple moving averages including SMA10, SMA50, SMA100, SMA200, Ichimoku conversion and lead lines, and 52-week high and low levels on the price chart. It detects breakouts using volume multiplier, optional gaps, and strong candle require
This indicator combines Qualitative Quantitative Estimation (QQE), the AK Trend Line, and Elder's Force Index (EFI) into a single separate pane tool. It calculates QQE using smoothed RSI and Wilder's ATR, computes AK Trend values with dynamic scale factors mat
Calculates standard Darvas Box high and low levels based on price pivots over a specified lookback period. The indicator identifies box formations and plots shape markers above and below bars representing the top and bottom boundaries of the active box on the
Trend Indicator A plots a moving-average trend overlay on the price chart. It calculates a selectable average of close and, optionally, of high and low, then colors the lines and the area between them bullish, bearish, or neutral. The main settings choose the
Hazzones identifies and plots supply and demand zones directly on the price chart using consecutive Heikin Ashi candle runs. It automatically detects support and resistance flip zones when demand turns into supply or vice versa, while tracking zone mitigation
Calculates short and long simple moving averages to identify crossover signals within a specified UTC time window. When a crossover occurs during valid trading hours, BUY or SELL labels are drawn on the price chart. If price subsequently moves 100 points in th
Tik 1 JPY is a visual reference indicator that plots horizontal level grid lines, midpoint lines, and sub-interval lines tailored for Japanese Yen currency pairs. Users can configure the start and end price levels, which default to 130 and 165. It draws solid
PriceCatch Opensource CPR calculates and displays Central Pivot Range levels based on daily high, low, and close values. It plots colored boxes and channel boundaries directly on the price chart to visualize current and previous daily CPR zones. The indicator
Trend Score History calculates a composite trend metric ranging between -5 and +5 by evaluating session VWAP, EMA alignment, price-volume flow, lower-timeframe Donchian channel breakouts, and Opening Range breakouts. It plots the cumulative score as histogram
9day Swing is a TradingView indicator that overlays SMA 9, EMA 20 and SMA 200 on the price chart to identify trend direction. It plots these moving averages in red, yellow and white or gray respectively. The indicator generates buy and sell signals as green an
This indicator plots market structure elements directly on the price chart. It detects swing points, swing high and low levels, and breaks of structure or change of character labels (BOS and CHoCH). It also identifies and draws bullish and bearish swing order
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.