Adaptive Supertrend is an overlay indicator that dynamically adjusts its Supertrend band width using a composite conviction score. Conviction is derived from ATR percentile ranking, trend force from EMA distance, and chop detection, narrowing the bands during
ACE Squeeze plots a cycle-based squeeze oscillator in a separate pane. It builds a histogram and an optional cycle phase line from a base cycle length, sensitivity, and price source, then can adjust the reading with volatility, volume delta, relative range exp
Automatic Trendline [Metrify] identifies and draws dynamic support and resistance trendlines directly on the price chart. It detects swing pivots over a configurable lookback window, filtering candidate trendlines through constraints including maximum violatio
This indicator plots a customized Stochastic Oscillator (%K and %D lines) in a separate pane to identify momentum and potential overbought or oversold conditions. Users can select from nine different moving average types—including SMA, EMA, Hull, and ALMA—to s
This indicator functions as a multi-pair forex screener, drawing output in a separate pane. It fetches price data across major currency pairs using security functions based on a user-selected resolution timeframe. It processes these market feeds with short, me
This indicator plots a SuperTrend line on the price chart from average true range volatility and a trailing stop. The user selects a long or short trade type, an initial stop-loss percent, and a trailing percent that lifts the stop as price moves. It also uses
A minimal test script from a Pine Script linter project that checks how a conditional expression wrapped across several lines is parsed. It picks green when the close is above the open and red otherwise, then plots the close in that colour in a separate pane.
This indicator plots a histogram of the daily change in foreign ownership ratio for a BIST equity in a separate pane. It loads a static snapshot of free-float ownership percentages, matches each bar to a snapshot date, and plots the difference from the previou
This overlay indicator marks fair value gaps and inverse fair value gaps as boxes on the price chart. A mode switch selects standard gaps or inverse gaps, with separate bullish and bearish colors. Optional filters require the three gap bars to share one direct
This indicator overlays a trend and momentum regime filter directly on the price chart. It calculates an Ehlers Highpass Filter to isolate a low-frequency decycler trend line from price data. Additionally, it integrates a DecisionPoint Price Momentum Oscillato
This indicator emulates Renko bricks on a standard price chart. It builds a Renko series with either ATR or a fixed traditional box size, then reads that series through security requests. Optional circle plots and fills show the latest brick open and close whe
This indicator overlays Bollinger Bands on the price chart and fills the area between upper and lower bands using a color based on Cumulative Volume Delta trend. It plots an EMA 9 line and fills between the EMA 9 and Bollinger basis in green or red depending o
This indicator identifies single-candle breakout patterns where the current bar closes beyond the open of the preceding opposite-direction bar. It calculates potential long and short breakout targets using a 0.618 Fibonacci projection from the prior candle ran
FX Market Sessions highlights distinct trading sessions, such as London, New York, and Tokyo, directly on the main price chart. It draws background boxes for each active session and optionally plots opening ranges, Fibonacci retracement levels, and session ext
This indicator plots a weekly moving-average band on the price chart. It calculates a simple moving average and an exponential moving average of the close, requests both series on the weekly timeframe, and draws the SMA in red and the EMA in green. An orange f
This indicator calculates the Average Directional Index alongside positive and negative directional movement lines to assess market trend strength and direction. Displayed in a separate pane, it plots the ADX line, directional lines, and horizontal threshold l
This indicator calculates 1-hour Bollinger Bands and overlays them directly on lower timeframe price charts, such as M15. It fetches hourly middle, upper, and lower band values and locks them until the next hourly bar opens to provide higher-timeframe volatili
Edge 60 is a breakout indicator that identifies new extremes over a configurable lookback period. It calculates and plots the highest high and lowest low of the preceding bars on the price chart. When the current bar makes a new high above the lookback channel
Invalidation Stop Classic plots a structural TheStrat invalidation stop on the price chart. It stays on one side from the first bar that completed 30-minute and 60-minute extremes exist, then flips immediately when price breaks that line. Tightens come from a
Monthly Candle Closed Yesterday is a price action and Smart Money Concepts helper indicator that plots rolling virtual monthly candles in a separate pane, treating yesterday as the end of the monthly period. It uses daily price data to dynamically calculate op
This indicator builds a synthetic index from a user-supplied list of symbols and plots the result in a separate pane. For each symbol it requests open, high, low, close, two mid prices, inferred volume, inferred volume delta, and inferred tick count, then appl
This indicator calculates an Exponential Moving Average with custom seeding and optional multi-timeframe support. It computes a weighted average of the selected price source over a specified length and allows for an optional secondary smoothing pass. Drawn dir
This indicator plots a moving average and ATR-based stop loss and take profit levels on the price chart. It calculates ATR, NATR, and surge detection using lookback periods and crossover logic. Settings control ATR lookback, length, profit and loss multipliers
The S/D Breakout script is a technical indicator that identifies and plots supply and demand zones as well as order blocks on the price chart. It calculates reversals and zones based on configurable inputs such as pivot lookback periods and distance multiplier
Calculates short and long Exponential Moving Averages alongside pivot high and low levels to identify breakout signals. The indicator plots a 20 EMA and a 50 EMA on the main price chart. It evaluates trend direction based on EMA crossover alignment, checks for
This indicator plots directional trade signals, ATR-based target and stop-loss boxes, and SuperSmoother reversal bands directly on the price chart. It evaluates market conditions across selectable technical strategies, displaying confidence scores alongside an
Crypto Cap estimates and plots the individual market capitalization of a cryptocurrency asset in a separate pane. It queries the aggregate cryptocurrency market cap index along with the specific base currency dominance percentage, multiplying them together to
Xiaotang System V5.0 is a price-chart overlay indicator that identifies momentum breakouts across moving averages and session VWAP. It computes Heikin-Ashi price data, 50-period and 200-period SMAs, and intraday VWAP while monitoring 5-minute higher-timeframe
This indicator plots support and resistance pivot levels, order blocks, market structure changes, and Fibonacci optimal trade entry zones directly on the price chart. It calculates touch counts across dynamic zones, detects chart patterns, and tracks pre-spike
This indicator compares current volume with a simple moving average of volume and marks bars whose volume exceeds that average by a chosen multiplier. It colors those bars on the price chart as bullish, bearish, or doji according to the open and close, and opt
This overlay indicator researches multi-timeframe setup zones for NQ and ES futures on the price chart. It builds chart, five-minute through four-hour zones, including transformed IFVG and BB zones, scores them, and tracks liquidity pools and structure. During
This overlay indicator maps the Power of Three cycle on the price chart. It builds an accumulation range around a higher-timeframe cycle open, marks a manipulation sweep beyond that range, and labels the later distribution move in the opposite direction. Confi
This indicator calculates the RSI oscillator using a user-defined length. It then applies a custom Parabolic SAR function to the RSI values to generate dynamic trend levels that function as support and resistance zones. The SAR levels are plotted in a separate
This overlay indicator combines several time filters so later logic can keep only bars that pass them. It checks an exchange session window, optional weekday presets or custom days, and an optional calendar date range. Separate switches skip a chosen number of
This indicator serves as a test script for Pine Script v6 to demonstrate and validate user-defined functions that return tuples. It defines custom functions returning numeric arithmetic pairs, boolean price conditions, mixed-type tuples, and technical indicato
Calculates three exponential moving averages and compares them against a faster 13-period baseline exponential moving average. It displays three horizontal rows of circular plots in a separate pane to represent each moving average length comparison. A circle t
The Dereköy-Darvas indicator combines Darvas Box boundary levels with dual Bollinger Bands plotted directly on the main price chart. It calculates top and bottom box lines based on recent high and low extremes to outline price consolidation zones. Simultaneous
This indicator plots scheduled macroeconomic calendar events directly onto the price chart using vertical lines. It categorizes events into five user-defined groups, such as central bank meetings, PMI releases, retail sales, inflation data, and other announcem
This indicator scores price from a basket of moving averages and oscillators and plots the result as pump waves in a separate pane. Users can base the rating on moving averages, oscillators, or both, and toggle the total, moving-average, and oscillator waves p
Divergences (Brahim) identifies regular and hidden divergences between price pivots and up to ten technical indicators, including RSI, MACD, Stochastic, CCI, and OBV, along with an optional external source. Plotted directly on the price chart, it renders conne
This indicator identifies long-term trend directions and momentum shifts using weighted moving averages. It plots 13, 48, and 200-period WMAs directly on the price chart. The script evaluates price crossovers relative to each average as well as moving average
This indicator classifies a market regime by comparing a Heikin Ashi close with an exponential moving average of that close. It requests Heikin Ashi open, high, low, and close from a user-selected timeframe, then plots no lines and colors the pane background g
This overlay study is a boilerplate template for building TradingView studies. Entry logic is left as false placeholders, so it does not generate trades by itself. It can restrict signals to longs or shorts, swap long and short opens, and count consecutive sig
This indicator plots an exponential moving average taken from a selected higher timeframe and colors both the line and the chart background by whether the close is above or below that average. It requests the EMA through request.security and, when the chosen t
Calculates 50-period and 200-period Exponential Moving Averages alongside standard and wide Bollinger Bands. It generates buy and sell signal labels on the chart when the Bollinger Band basis crosses above or below the 50 EMA. The script also includes volume-w
ZigZag OrderBlock Retracement plots multi-layer ZigZag swing structures, order blocks, breaker blocks, and optimal trade entry (OTE) zones directly on the price chart. It supports up to four distinct ZigZag depth layers to analyze both short-term and long-term
This script plots up to three ATR-based Supertrend lines directly on the price chart. Each line uses customizable ATR periods and multipliers to establish trailing support or resistance levels based on median price calculations. Green lines below price indicat
This indicator plots a fast and a slow exponential moving average on the price chart. It marks bullish and bearish crosses with optional labels and circle markers, and it shades the background according to which average is higher. Users can change both lengths
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.