This indicator calculates a custom RSI oscillator enhanced with machine learning using the K-nearest neighbors algorithm. It combines the standard RSI with KNN predictions for improved signal generation. The script applies smoothing using ALMA and Kalman filte
This overlay indicator builds a geometric grid of parallel price levels from powers of a small phi-style ratio. The grid expansion input widens or tightens that spacing. On historical and confirmed bars it counts touches, bullish and bearish closes, volume, an
An overlay always-in flip indicator where a buy closes a short and enters long, and a sell does the reverse. It uses a zero-lag EMA trail sized by ATR, smoothed price, an ADX regime read with trending and sideways thresholds, RSI and Stochastic RSI checks, and
Detects opening drive moves on the price chart by combining displacement, swing structure and return-to-level checks into named bull and bear signals. Inputs set sensitivity, swing length, the displacement deviation length and multiplier, and return percentage
This indicator plots a Volatility Stop on the price chart. It trails a stop from the running high or low of the source, offset by the average true range times a multiplier, and flips the trail when the source crosses the stop. An uptrend colors the stop one wa
Trailering S002 is a long-only automated strategy template built for Zignaly webhook execution. It evaluates historical price stats and maximum excursion to trigger long trades, dynamically adjusting capital allocation based on active signal conditions. The sc
This indicator identifies Smart Money Concepts (SMC) structure directly on the price chart. It detects and plots internal and swing market structures, including Break of Structure (BOS) and Change of Character (CHoCH). The script highlights order blocks, stron
This indicator calculates the Money Flow Index (MFI) and detects regular and hidden divergences between price action and the MFI oscillator in a separate pane. It identifies high and low pivot points using a configurable lookback length and evaluates trade con
This indicator applies a k-Nearest Neighbors machine learning algorithm to calculate price predictions and direction on the main chart. It analyzes sequences of historical price data points to locate similar patterns and averages nearest neighbor matches. User
This overlay indicator anchors to the close of a user-chosen time and draws one hundred horizontal lines, fifty above and fifty below that price. Spacing uses the golden ratio scaled by a step multiplier. After the anchor, it counts how often each line is touc
An overlay indicator that uses a wide SuperTrend-style trail with a zero-lag bias to print always-in buy and sell flips while ignoring small moves. Settings set the trail factor, price smoothing, minimum bars between flips, a break buffer and a minimum adverse
Overlay indicator for detecting extreme opening-drive anomalies, drawing swing-based zones and many combined markers. Version three adds a conditional gate requiring a relative volume, Grand Slam, unified combo, all-time high volume, HCT or large displacement
Volty Expan Close Strategy is a volatility expansion breakout strategy that enters long or short positions when price exceeds the closing price by a specified ATR multiple. It calculates an ATR-based volatility threshold using a simple moving average of true r
This automated trading strategy operates in a separate pane and is designed to integrate with Zignaly copy-trading and profit-sharing webhooks. It focuses on long positions, adjusting position size based on the number of triggered sub-strategy consensus condit
This Smart Money Concepts indicator highlights market structure and institutional levels on the main price chart. It detects internal and swing structure breaks (BOS) and character changes (CHoCH), along with strong or weak high and low points. The script iden
The MFI Divergences Lower v2 indicator calculates the Money Flow Index (MFI) and plots it in a separate pane along with overbought, oversold, and middle threshold lines. It identifies regular and hidden bullish or bearish divergences by comparing price swing p
This indicator assists with trade planning and position risk management by projecting trade parameters directly onto the price chart. It draws an interactive entry box defined by time and price boundaries, up to five take-profit levels with percentage allocati
The Parallel Price Universe Oscillator calculates detrended price movements relative to two derived moving averages weighted by fast and slow Fibonacci ratios. It extracts smoothed angular slopes using arctangent functions, aggregates them into a unified momen
An overlay indicator that prints buy and sell flips from an adaptive SuperTrend-style trail whose factor widens in chop and tightens in strong trends, based on ADX. A flip needs enough bars since the last one, a break buffer and a minimum adverse move, plus a
Detects opening drive moves on the price chart by combining displacement, swing structure and return-to-level checks into named bull and bear signals. Inputs set sensitivity, swing length, the displacement deviation length and multiplier, and return percentage
This indicator plots a volume oscillator in a separate pane. It calculates exponential moving averages of volume over short and long lengths, then expresses their difference as a percentage of the longer average. A horizontal zero line marks when the short ave
Trailering U002 is an automated strategy designed to connect TradingView signals directly to the Zignaly copy-trading platform. It executes long positions guided by historical statistical advice and price excursion calculations, adjusting position sizing accor
The indicator plots Smart Money Concepts market structure directly on the price chart. It detects real-time internal and swing structure breakouts, including Break of Structure and Change of Character, along with strong and weak high or low levels. It identifi
MicroQuant Momentum is a momentum oscillator indicator that calculates the True Strength Index fast and slow components. It plots the TSI Fast, TSI Slow, and their difference histogram in a separate pane. Buy and sell signals trigger on crossovers of the fast
This overlay indicator enables manual identification and analysis of harmonic patterns on the price chart using interactive point selection. Users select five anchor points (X, A, B, C, and D) directly on the chart via interactive input prompts. The script eva
Parallel Universe Price Forecast is an indicator that detrends price using moving averages to extract slopes and angles from two universes weighted by fast and slow factors. It normalizes the combined angle into a symmetrical oscillator and projects the price
An overlay indicator that prints always-in buy and sell flips from a volume-weighted, pre-smoothed ATR trail that widens when ADX signals chop. An auto mode scales the multiplier, bar spacing, travel distance and higher timeframe to the chart timeframe. Flips
Detects opening drive moves on the price chart by combining displacement, swing structure and return-to-level checks into named bull and bear signals. Inputs set sensitivity, swing length, the displacement deviation length and multiplier, and return percentage
This indicator plots a volume-weighted average price on the price chart. It accumulates the selected source, defaulting to the average of high, low, and close, against volume and resets when the chosen anchor begins. Anchors include session, week, month, quart
Trailering V005 is an automated trading strategy template designed for integration with the Zignaly platform. It calculates position sizing and entry conditions based on price excursion and historical statistical metrics, adjusting exposure depending on trigge
SMC Scalping State Engine v2.2.1 is a Pine Script v5 strategy that plots Smart Money Concepts elements on the XAUUSD price chart. It uses a state transition system to detect market structure breaks, order blocks, fair value gaps, key levels and EMA alignments
MicroQuant Trend is a Supertrend-based indicator that calculates dynamic bands using EMA of high and low prices adjusted by ATR. It plots green circles for uptrend direction and red for downtrend. Background colors change to green or red when the trend flips.
Market Sessions by Leviathan highlights key global trading sessions including Tokyo, London, New York, and Sydney directly on the main price chart. It renders customizable colored boxes for each session based on UTC times. Additional visual features include se
The indicator combines pivot high and low points with multi-period slope and momentum analysis to identify market trends and range conditions. It calculates short- and medium-term price slopes, EMA slopes, and price acceleration against a statistical Z-Score t
An overlay indicator that plots a wide ATR-based structure trail and prints buy and sell flips, with an optional early reverse path using a fast zero-lag line and RSI overbought and oversold levels. Anti-noise settings set minimum bars between flips, travel di
Tick-chart-safe overlay indicator for detecting extreme opening-drive anomalies, drawing swing-based zones and many combined markers. Version three adds a conditional gate requiring a relative volume, Grand Slam, unified combo, all-time high volume, HCT or lar
This indicator plots a volume-weighted moving average of a chosen price source on the price chart. It uses TradingView's built-in volume-weighted moving average, so bars with higher volume pull the average more than quieter bars. Length sets the lookback, Sour
Trailucering A002 is a Pine Script strategy template designed for automated crypto trading via Zignaly webhook alerts. It identifies market breakout opportunities and executes trades directly on the main price chart. Position exits are managed using customizab
Time-Filtered MTF CRT Detector identifies multi-timeframe Candle Range Theory (CRT) patterns based on specific time-filtered H4 candles such as 1AM, 5AM, or 9AM models. It plots horizontal high and low range lines directly on the main price chart, complete wit
MicroQuant Trend Strat is a trend-following strategy overlaid on the price chart that utilizes a modified Supertrend calculation built with EMA bands and Average True Range volatility bounds. It opens long positions when the trend direction turns bullish and s
This indicator overlays volume profiles and session ranges directly onto the price chart for specified periods, including Tokyo, London, New York, Daily, Weekly, Monthly, Quarterly, and Yearly sessions. It calculates and plots Point of Control (POC), Value Are
The PPUO Forecast Signals indicator derives a Parallel Universe Oscillator from detrended price series using slow and fast moving averages of varying lengths. It extracts smoothed angles from the detrended values, weights and aggregates them into a universe me
An overlay indicator that tries to show only larger reversals through a very wide ATR trail. A main buy or sell requires a trail break with confirmation closes, a swing high or low break, minimum travel from the last flip, and a minimum pullback from the leg p
Overlay indicator that marks combination signals on the price chart. Groups include PBJ or PB with F2, E3 and cluster patterns, sequential combos, back-to-back day combos, Heavy Weapon with any bullish or bearish signal, GZ1 and high-volume mega combos, first-
This indicator plots the standard Vortex Indicator lines in a separate pane to identify trend direction and momentum. It calculates positive trend movement and negative trend movement relative to the true range over a user-defined length. The script outputs tw
Traiversal A001 is a breakout reversal strategy designed primarily for cryptocurrency trading. It identifies reversal entry opportunities three candles following a breakout and closes positions when a breakout in the opposite direction occurs. The script inclu
Calculates and plots horizontal support and resistance levels based on weekly Wednesday price action and daily midnight opening candles. It accounts for Daylight Saving Time adjustments to capture monthly Wednesday high, low, and open levels along with daily U
This strategy executes trades based on a modified Supertrend indicator combining exponential moving averages, price channels, and ATR bands. It enters long positions when the trend direction turns bullish and short positions when it turns bearish, filtered by
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.