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 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 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 strategy runs an ultra-fast MACD in a separate pane to capture short-term momentum scalps. It filters trade entries using micro-trend direction, volume spikes, and candle body strength within specified session hours. Positions default to two percent of eq
This strategy overlays the ETHUSDT perpetual price chart and is labeled for the five-minute timeframe. It calculates a smoothed stochastic oscillator from the open, high, and low, with adjustable K, D, and smoothing lengths plus overbought and oversold levels.
This strategy enters long when price closes above the prior Donchian high and short when it closes below the prior Donchian low, only while flat and inside a Taipei-hour window. It exits on a MACD histogram reversal or through an ATR stop and a percentage take
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
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 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
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
Greeffer BB Strategy is a volatility-based mean reversion system that calculates Bollinger Bands using price and standard deviation. It generates long and short signals when price crosses the upper and lower bands respectively. Entries are filtered with RSI(14
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
Nexural JMA plots a Jurik moving average on the price chart. Length, phase, power, and source change the average. It scores momentum from rate of change, volume from a volume percentile, volatility from ATR, and trend strength from price distance to the averag
This indicator plots a Laguerre RSI oscillator in a separate pane. It offers a classic four-stage Laguerre filter on close, controlled by alpha, and an alternate mode that builds alpha from fractal-energy style filters on open, high, low, and close. Shaded fil
This indicator plots a double relative strength index in a separate pane. It computes RSI from the selected source and length, then calculates RSI of that RSI and combines them as twice the first RSI minus the second. A persistent state turns long above the lo
The Confluence indicator combines Bollinger Bands, RSI and MACD to generate signals on the price chart. It plots the upper Bollinger Band in green, lower Bollinger Band in red, the middle basis in blue, the RSI value and the MACD line with signal. A confluence
Capital41 Confluence Core plots an EMA or SMA on the price chart and combines its direction with RSI, Williams %R, and a liquidity-sweep check into long and short confluence signals. Signal strictness is Strict, Standard, or Loose, which changes how far the os
This indicator calculates and plots the Moving Average Convergence Divergence (MACD) line, signal line, and histogram in a separate pane. It tracks trend direction and momentum shifts by calculating the difference between fast and slow exponential moving avera
Cerebr Centauri Strategy is a multi-indicator trading system for Pine Script v4 that combines Moving Averages (SMA, EMA, LSMA, WMA), Stochastic Oscillator, RSI, and MACD across both current and higher timeframes. It evaluates trend conditions and oscillator st
This strategy is a multi-strategy backtesting engine that draws entries and exits on the price chart. The user picks one approach, including Connors RSI-2, z-score mean reversion, EMA and MACD momentum, Bollinger squeeze, VWAP reversion, Supertrend, Ichimoku,
This intraday strategy executes trades using dual EMA crossovers and RSI mean-reversion near VWAP. Designed primarily for 5-minute index futures charts like ES and MES, it offers momentum entries on fast and slow EMA crosses confirmed by VWAP, as well as count
This strategy trades momentum breakouts by combining an Exponential Moving Average with the Relative Strength Index. It enters a long position when the closing price is above the EMA and the RSI crosses above the breakout threshold. It enters a short position
This indicator tracks multi-timeframe momentum and trend direction across M1, M15, H1, and H4 horizons. It plots four 14-period RSI curves in a separate pane alongside 30, 50, and 70 reference levels. Directional bias values are calculated by comparing price t
This long-only strategy identifies mean-reversion dip opportunities within established uptrends on daily charts. It opens a position when price is trading above a simple moving average and the Relative Strength Index (RSI) crosses back above a specified overso
This strategy identifies breakout trades using a 7-period RSI combined with price extreme lookbacks. A long entry triggers when the RSI rises above 70 and price reaches a new lookback high, provided price remains above an optional EMA trend filter and passes a
This indicator calculates the Commodity Channel Index from a user-selected source and length and plots it in a separate pane. Dashed lines mark plus 100 and minus 100, a middle line sits at zero, and the area between the outer bands is filled. A smoothing line
This indicator plots five exponential moving averages directly on the price chart alongside calculated MACD signals. It generates buy or sell signals when an EMA cross and a MACD cross align within three bars under established multi-EMA trend conditions. The s
The Divergence Screener by Trendoscope identifies regular and hidden bullish and bearish divergences between price action and technical oscillators in a separate pane. It supports multiple oscillators including RSI, CCI, CMO, and COG, as well as custom externa
The Ultimate Trading System is an integrated indicator that combines multiple analysis methodologies—including Pi Cycle Top, SPX/Gold ratio, Elliott Wave, and multi-source market signals—into a composite oscillator scored from 0 to 100. Plotted in a separate p
This price-chart strategy is built around RSI divergence using a configurable RSI length and source plus left and right pivot lookbacks. Separate toggles control regular and hidden bullish and bearish divergence plots, and an RSI level is available as a take-p
DFO 3 plots a directional flow oscillator in a separate pane. It averages five normalized components: a composite RSI momentum index, a cumulative volume delta built from one-minute volume, a price position over a 100-bar range, an EMA-versus-SMA trend spread,
Calculates and plots the relative strength lines for major currencies including EUR, USD, JPY, GBP, CHF, AUD, CAD, and NZD in a separate pane. It evaluates cross-rate movement using data from major Forex brokers like OANDA or FOREXCOM. Users can smooth the str
MasterTrader V1 is an indicator that plots two exponential moving averages (fast length 9, slow length 21) and RSI (length 14) on the close price chart. It generates long entry signals when the fast EMA crosses above the slow EMA, RSI stays between 30 and 70,
This script calculates short and medium-period Rank Correlation Index (RCI) values to identify potential reversal entry signals directly on the price chart. It checks whether the short-term RCI crosses oversold or overbought threshold levels and hooks back, co
This indicator calculates and plots multi-timeframe Money Flow Index (MFI) values in a separate pane. It features two distinct MFI lines: a fast MFI based on the current or custom timeframe, and a slow MFI using a higher timeframe or automatic step-up timefram
Strategy Examples is a Pine Script strategy template demonstrating multiple classic technical trading approaches directly on the price chart. It incorporates a moving average crossover system using SMA or EMA, an RSI mean reversion model operating on overbough
This strategy trades gold on the price chart using stochastic, RSI and three EMAs, with ATR for distance filters and stops. Confirm and optional scalp legs enter long or short when M15 overbought or oversold levels, rejection wicks, Fibonacci zones and a no-ch
Lakshmi v1 Institutional Flow Engine indicator calculates a Magic Line using ATR(14) multiplied by golden ratio 1.618 anchored to daily midpoint close. It plots demand and supply zones derived from volume profile bins and fair value gaps on 4H and daily charts
Alpy Vix is a strategy that computes the Wave Trend oscillator from HLC3 using EMA and SMA, the Williams VIX Fix formula, VWAP levels, and Bollinger Bands on WVF. It generates signals on WT crosses and WVF conditions like long_VWMA or close strength versus pri
This indicator serves as a grid range plugin for the Grid Bot framework by calculating an RSI-based channel. Plotted in a separate pane, it computes smoothed RSI levels, overbought and oversold thresholds, and channel width constraints using custom multi-timef
This indicator converts a smoothed stochastic oscillator back into price levels. It calculates a reverse stochastic from close, high, and low using configurable K length, D length, and smoothing, then maps fixed scale points, including bull and bear control zo
Box Scalper v4 is a strategy that plots buy and sell signals on the price chart using ADX trend filters, QQE momentum oscillator, and BOX channels. It signals entries based on crossovers and zone conditions, with trailing stop loss and take profit targets. Par
The Elder Force Index indicator calculates efi as the EMA of price change times volume with a configurable length. It then plots the difference between efi and its 9-period SMA as colored column bars in a separate pane, with positive values colored up and nega
This indicator plots sell signals directly on the price chart using shape plots and text labels. It triggers a sell alert when four conditions coincide: a bullish candle with at least a five percent price increase, volume at least five times greater than the p
This indicator calculates five RSI series from the chart close: a short RSI smoothed by a simple moving average, plus RSI lengths of 14, 30, 70, and 120. It stores those readings in arrays and offers toggles for price-bar colors that mark trend, crossovers, cr
This indicator combines the Schaff Trend Cycle (STC) oscillator with Andrew Abraham's Trend Trader indicator in a separate pane. It calculates the STC oscillator using fast and slow moving averages combined with double stochastic smoothing, plotting a colored
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.