Moving Average Convergence Divergence plots a standard MACD in a separate pane: the MACD line, a signal line and a histogram. Fast, slow and signal lengths are adjustable, and both the oscillator average and the signal average can be set to EMA or SMA. The his
A separate-pane indicator, short title LVA, that pairs a squeeze momentum histogram with an ADX-style line. Cross markers on the zero line show whether Bollinger Bands are inside Keltner Channels. It adds an optional higher-timeframe status monitor with an adj
This indicator turns Bollinger Bands, Keltner Channels or the average of both into a single normalised line in a separate pane, computed from Heikin Ashi close prices over a 200-bar window by default. The line is coloured lime above a bullish breakout level, r
An indicator on the price chart that shades the background green when a possible dip bottom forms. It looks for RSI turning up from a local low while the earlier RSI reading sits below a buy threshold, combined with MACD either flattening its decline or turnin
The Turtle Trader indicator merges Donchian channels with trend detection to classify market state. It computes upper and lower channel levels from recent highs and lows, along with stop levels, and plots them directly on the price chart. Green bars signal upw
Weinstein MAs plots adaptive simple and volume-weighted moving averages based on Stan Weinstein's Stage Analysis framework. On weekly charts, it calculates 10, 30, and 40-period MAs, whereas on non-weekly intervals it uses 50, 150, and 200-period MAs. Both sim
An overlay indicator that plots a 20-period Bollinger basis line with bands at one, two and three standard deviations, shaded in graded white fills. It also computes a Keltner channel from a 20-period EMA and EMA of true range, used to define pinch and consoli
This indicator combines three technical tools into a single price overlay: dual Exponential Moving Averages (EMA), Parabolic SAR (PSAR), and ATR-derived stop loss levels. It calculates fast and very fast EMAs (defaults 9 and 21) using a custom EMA function, pl
The Inverse Distance Weighted Moving Average calculates a moving average where historical prices are weighted according to their pairwise absolute distances across a user-defined lookback window. Plotted directly on the price chart, the indicator tracks trend
This indicator calculates momentum setups based on the Relative Strength Index (RSI) and plots in a separate pane. It offers multiple scanning modes such as Continuous Break, Continuous Retracement, Flip Break, Flip Retracement, and both regular and hidden div
The Mojito v3 Strategy indicator evaluates volatility term structure by calculating the ratio between front-month and second-month VIX futures contracts. It smooths this ratio using a configurable median filter and compares the result against user-defined uppe
4477 Tracker overlays historical buy and sell records from ARK Invest directly onto the price chart. The indicator hardcodes exact execution dates and trade instances, displaying green labels for purchases and red labels for sales below or above the price bars
Flip Flop is an overlay indicator that analyzes candle data over a customizable lookback period to track structural market extremes. It locates key levels, including the low of the highest bullish candle and the high of the lowest bearish candle within the win
This indicator calculates and displays the relative strength of an asset compared to a benchmark index. It plots the 21-bar percentage return of the current chart symbol alongside the daily return of the TWSE TAIEX index in a separate pane. A zero baseline mar
This utility script serves as a minimal testing tool designed to verify data flow within the backtest kit framework. It reads the current closing price and outputs a constant zero position state, sending both series directly to the TradingView Data Window with
This indicator applies a k-Nearest Neighbors machine learning algorithm to predict market direction based on historical indicator patterns. It calculates normalized values from selected technical indicators, such as RSI, ROC, CCI, and volume, across short and
This indicator calculates an adaptive price channel by independently smoothing bar highs and lows using exponential moving averages. It plots an upper band from smoothed highs, a lower band from smoothed lows, a yellow midpoint line, and a shaded channel area
Calculates fast and slow Simple Moving Averages to display a visual rainbow ribbon on the price chart. The indicator fills multiple gradient bands between the dual moving averages and adds visual effects like glowing SMA halos, animated palette shifts, and reg
This indicator marks RSI divergences only when price trades beyond daily VWAP standard-deviation bands. It compares recent RSI extremes with price highs and lows over a lookback window, and it treats a divergence as valid only while RSI stays beyond overbought
This indicator evaluates candlestick relationships to identify inside bars and outside bars based on recent high and low price action. It draws directly on the price chart by altering the color of qualified bars. Inside bars are colored yellow, bullish outside
This simple educational indicator requests and plots the daily closing price of Apple Inc. (AAPL) in a separate pane on the chart. It demonstrates the use of Pine Script security functions to pull data from an external symbol regardless of the current chart sy
This indicator plots global forex trading sessions, opening ranges, and opening channels for Sydney, Tokyo, Frankfurt, London, and New York markets. It calculates and draws daily reference levels based on Average True Range (ATR) multipliers from the day open
This indicator calculates and plots three Exponential Moving Averages directly on the main price chart. It includes configurable inputs for fast, slow, and slowest moving averages, defaulting to 9, 21, and 36 periods based on bar close values. Traders can adju
The Range Box indicator identifies the price bounds over a user-defined period and renders a visual rectangular box on the main price chart. It calculates the highest high and lowest low across a specified lookback length and updates a single dynamic box objec
This overlay indicator marks the New York initial balance and a configurable opening range on the price chart and reports live range statistics in two tables. It builds an IB box for a default 09:30–10:30 ET window, an ORB box from 09:30 for a set number of mi
This indicator calculates and plots an Andrews' Pitchfork channel directly on the price chart using geometric projections. It computes a central median line along with parallel upper and lower channel boundaries based on three historical anchor points specifie
Calculates normalized moving average trend strength, historical volatility, and volatility-adjusted position sizing in a separate pane. It computes the percentage distance between fast and slow EMAs relative to price, evaluates standard deviation of daily retu
This indicator draws an Andrews pitchfork on the price chart from three pivots chosen automatically or by time. It supports Original, Schiff, and Modified Schiff constructions, optional extra parallel levels, and forward or backward action and reaction lines.
This overlay indicator marks the current day's low and a suggested entry zone a fraction of daily ATR below that low. It compares daily volume with a volume moving average, plots daily SMA and EMA distance, and draws an optional ATR-width price cloud. Labels c
VN YieldCurveLab NEW 2.1 is an indicator that calculates and displays spreads between Vietnamese 10-year government bond yields and US 10-year Treasury yields, along with the State Bank of Vietnam policy interest rate. It plots yield curves, bond dynamics, and
This indicator calculates and plots the ratio of advancing stocks to declining stocks on the New York Stock Exchange. It requests close prices from the USI:ADVN.NY and USI:DECL.NY ticker symbols using the security function and divides advances by declines. The
This indicator calculates and plots the Moving Average Convergence Divergence (MACD) line, signal line, and a four-color histogram in a separate chart pane. It computes the difference between fast and slow moving averages to determine momentum shifts. Users ca
Zen Bar Range Projections calculates the Average Bar Range (ABR) over a user-defined lookback period and projects 0.5x and 1x measured move levels above and below the prior bar close. Users can choose between the current chart timeframe or a higher timeframe m
WaveTrend 3D is a redesigned oscillator that implements the classic WaveTrend algorithm with kernel-based regression for trend reversal confirmation and multi-timeframe support. It calculates a smoothed oscillator line and displays a symmetrical three-dimensio
This indicator defines a user type named point with float fields for x and y, then attaches a method that returns the Euclidean distance from the origin. It constructs one point at coordinates 3 and 4 and plots that method result in a separate pane under the t
Daily Pivot Points calculates standard daily pivot levels along with four resistance levels, four support levels, and intermediate mid-pivot levels using the previous day's high, low, and close values. The indicator draws horizontal line objects directly on th
This overlay indicator maps Smart Money Concepts on the price chart. It labels internal and swing breaks of structure and changes of character, marks bullish and bearish order blocks, equal highs and lows, fair value gaps, and premium, equilibrium, and discoun
This indicator calculates a Relative Strength Index using Wilder or Cutler calculation methods, accompanied by an optional smoothing moving average and a signal line. Plotted in a separate pane, it features defined bull and bear control and critical threshold
Point-Clip Unified Indicator plots breakout and directional labels on the price chart. It scores volume spikes against a volume average, range or opening-range breaks, optional VWAP or session-anchored VWAP, fast and slow EMA trend, and a higher-timeframe EMA
This indicator computes a modified version of John F. Ehlers' Even Better Sinewave oscillator in a separate pane. It filters price data using a high-pass filter, smooths the output with a weighted FIR filter, and normalizes the amplitude using a three-bar powe
Bandz Session Ranges + ORG + Opening Prices plots trading session ranges, killzones, opening RTH gaps, standard deviation projections, and key opening prices directly on the price chart. It calculates gap ranges based on prior regular trading hours close sourc
This indicator checks whether intraday bars fall within a specified time range and places a text label displaying the hour and minute above each qualifying candle on the main price chart. Users can configure the start hour, start minute, end hour, and end minu
This indicator combines the HalfTrend trend-following algorithm with five exponential moving averages overlayed directly on the price chart. HalfTrend determines directional bias by evaluating local high and low price extrema over a selectable amplitude alongs
Alighten Pattern E plots a zigzag through stored swing pivots on the price chart and scans recent pivot pairs for Pattern E long and short signals. When enabled, it marks those signals and draws OG rays from the related pivots. Users can limit the bar window,
Market Monitor 5m is an intraday context overlay designed for 5-minute chart analysis. It calculates directional bias using exponential moving averages, VWAP, TTM Squeeze volatility state, NYSE TICK market breadth, and ATR volatility regimes. The script plots
This overlay indicator recreates a fractal model on the price chart. It labels optional C2, C3, and C4 setups, shows a selectable number of prior setups, and draws higher-timeframe candles with size, color, offset, and open-line controls. A fractal pairing set
Indicatorv6SMC / ICT / price actionSessions & time
Bte Strat provides a backtesting and trading engine framework implemented as an indicator on the price chart. It evaluates trade signals using selectable entry rules, technical filters like volume and moving averages, and dynamic exit strategies. The script pl
This indicator calculates custom Traders Dynamic Index (TDI) conditions on the price chart using a 30-period Relative Strength Index (RSI), volatility bands, and fast/slow RSI moving averages. It plots green buy labels below bars and red sell labels above bars
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.