Calculates and plots a three-tiered moving average framework consisting of Fast, Base, and Anchor curves directly on the price chart. It evaluates moving average slopes, curvature, separation, and price extension to categorize market conditions into states suc
Assistant is an overlay indicator that marks candles with small or missing upper and lower wicks, using a threshold relative to body size. It plots three-candle and five-candle swing fractals as triangles two bars back, and fires alerts when a bullish or beari
This intraday strategy executes trades on the Nikkei 225 index based on exponential moving average crossovers restricted to Tokyo Stock Exchange trading hours (09:00 to 15:30 JST). Long and short positions are taken on fast and slow EMA crossovers during activ
The Rolling VWAP indicator calculates and overlays a rolling volume-weighted average price directly on the price chart. Unlike anchored or daily reset VWAPs, it calculates volume-weighted price over a continuous rolling time window defined by days, hours, and
The HMA sweete indicator computes multiple variants of the Hull Moving Average including standard HMA THMA EHMA and custom z- versions with added momentum. Users can select the source series MA type length multiplier and history bars for up to three MAs. It pl
This strategy implements the classic Turtle Trading breakout rules on the price chart. It enters positions when price breaks above or below highest high or lowest low channel levels. Position size is dynamically calculated using ATR volatility so that one ATR
This long-only strategy identifies trading opportunities using anchored VWAP reclaims, retests, and breakouts. It calculates VWAP with standard deviation bands alongside zero-lag EMA slope filters to verify market trend alignment. Entries trigger either from a
This strategy calculates three simple moving averages with lengths 10, 20 and 50. It identifies a bull stack when the shortest exceeds the middle which exceeds the longest, and a bear stack in the opposite direction. A var-bool latch tracks prior states to sup
This script is an indicator written in Pine Script version 6. It declares an indicator named P_err_unclosed_paren and plots the close price using the plot function. The plot draws in a separate pane. There are no input settings. The script is incomplete with a
An overlay indicator for the New York morning window that looks for qualified structure breaks on a 5-minute chart. Direction is filtered by a one-hour bias built from swing structure and EMAs. A break must clear swing, channel or session-extreme levels and pa
DEPV2 DEBUG S17 is a debug indicator for a multi-method crypto trading signal tool. It supports 20 major cryptocurrency symbols from Binance such as BTCUSDT, ETHUSDT, SOLUSDT, and others. Four signal classes are available: TREND based on price levels, MOMENTUM
The indicator plots volume power zones on the price chart using lower timeframe data. It divides recent candles into multiple zones and computes a weighted probability of strong or weak buy or sell signals. The probability combines momentum strength, accelerat
A small price-chart indicator that plots a fast and a slow exponential moving average, defaulting to 6 and 20 periods, and fills the space between them with a cloud. The cloud is green while the fast average is above the slow one and red otherwise, so a colour
TN Compression Expansion V6 identifies volatility contraction and trades subsequent breakouts. It compares the Average True Range against its simple moving average to pinpoint compression phases where ATR drops below a specified ratio threshold. When price bre
Teaching script showing user-defined methods in Pine. A method keeps an array of the latest 50 closes by adding a new value and removing the oldest, and the script plots the array's average in a separate pane, which acts as a 50-bar simple average. It also not
This indicator computes moving average and RSI bias signals across the current timeframe and four higher timeframes. It sums biases from the MA and RSI to derive an overall bullish or bearish signal. The results appear in a configurable table that displays eac
The Chande Forecast Oscillator plots the percentage difference between the selected source and a linear-regression forecast of that source. It fits slope and intercept over the chosen period using incremental sums, then expresses the forecast error as a percen
This indicator calculates a Gaussian-weighted moving average of a chosen price source and plots it on the price chart. It builds a finite impulse response window, weights past bars with a normalized Gaussian bell, and returns the weighted mean. Period sets the
This strategy plots on the price chart and trades Donchian breakouts in long or short directions. It sizes each unit from a risk percentage of price and an ATR-based initial stop, then adds units at a fixed ATR step up to a maximum. An ATR trail can exit, and
This indicator classifies market state into bull, bear, or neutral regimes using three moving averages and ATR-based stop bands plotted directly on the price chart. It evaluates alignment across customizable MA types (SMA, EMA, DEMA, TEMA, or JMA) and filters
Average True Range V2 calculates market volatility using customizable moving average smoothing methods, including RMA, SMA, EMA, and WMA. Drawn in a separate pane, it offers options to wait for bar confirmation before updating values and can invert the ATR sca
This strategy calculates fast and slow exponential moving averages, the Relative Strength Index, and the Average True Range directly on the price chart. It enters long positions when the fast EMA crosses above the slow EMA with RSI above the minimum threshold
This indicator identifies ABC wave patterns using a recursive Zigzag algorithm on the price chart. It projects entry, target, and stop loss levels based on customizable Fibonacci ratios and Zigzag depth settings. Users can adjust trade conditions, calculation
The HMACCI indicator calculates multiple Hull Moving Averages with variants including Hma, Thma, Ehma and Rmahma. It plots colored line signals on the price chart based on source close, lengths, multipliers, offsets and history bars. Users adjust MA types, len
The Volatility Breakout (Larry Williams) strategy generates signals based on price movements relative to yesterday's range. Long entries occur when price surpasses the close by a user-defined multiple of the range, while short entries use a lower multiple. A t
This indicator detects long-only trading setups centered on volume-weighted average price (VWAP) reclaim sequences. It calculates VWAP with standard deviation bands, tracking slope and price bias through an exponential moving average. Signals trigger on either
A strategy based on MACD with adjustable fast, slow and signal lengths and a selectable source. Despite its name, entries come from the MACD line crossing the signal line: long on a cross up, short on a cross down, reversing the position. The histogram, MACD l
This test indicator is designed to verify parser error handling for undeclared identifiers in Pine Script v6. It attempts to plot an uninitialized variable name on a separate chart pane, serving as a syntax validation fixture for Pine Script backtesting engine
A strategy that trades continuation after a second directional flip, intended for a 15-minute chart. Bias must agree between confirmed one-hour and four-hour structure. Lower-timeframe states are rebuilt relative to the bar open, the setup is frozen once the s
This Pine Script indicator scans multiple Binance cryptocurrency symbols including BTCUSDT, ETHUSDT, and others. It computes signals across four method classes: trend, momentum, volatility, and volume. Different signal modes include single-method, simultaneous
This indicator divides price ranges over a customizable lookback window into horizontal power zones directly on the main chart. It evaluates buying and selling volume distribution across each partitioned zone, highlighting strong and weak pressure zones using
A momentum consensus indicator drawn on the price chart. It scores RSI, rate of change, MACD, Bollinger position, MFI and smoothed OBV against a percentile lookback and issues buy and sell signals when the consensus passes a threshold, 0.618 by default. Option
A dollar-cost-averaging grid strategy. It opens a base order sized as a percent of equity and adds up to a set number of safety orders at widening price deviations, each scaled larger. A second mode uses Bollinger Band width from a higher timeframe, 4 hours by
Plots a simple moving average on the price chart with adjustable length, source and offset. An optional second smoothing line can be added to the result using SMA, EMA, SMMA, WMA or VWMA, or SMA with Bollinger Bands whose width follows a multiplier. The defaul
This indicator calculates the Relative Strength Index (RSI) across four user-selected timeframes and plots the results in a separate pane. It identifies regular bullish and bearish divergences between price pivot points and the primary timeframe RSI value. Add
The Chande Kroll Stop calculates volatility-based adaptive trailing stops for long and short positions. It determines an initial volatility envelope by subtracting or adding a scaled Average True Range from the highest high or lowest low over a set lookback pe
This indicator plots a Hamming-window finite impulse response moving average of a chosen price source on the price chart. It weights recent bars with the Hamming cosine window, renormalizes by the sum of weights, and uses only bars available during warm-up so
This strategy trades Donchian breakouts on the price chart and tries to avoid choppy conditions. It can enter long or short when price breaks the entry channel and optional ADX, efficiency-ratio, and trend-strength filters pass. It exits on the shorter Donchia
Market Exhaustion combines the Money Flow Index (MFI) and Stochastic RSI to pinpoint overbought and oversold conditions. It offers customizable oscillator modes including MFI, Commodity Channel Index (CCI), or a composite blend. The indicator calculates standa
This indicator treats price action, RSI, or moving average relationships as binary Bernoulli trials to estimate trend probability and Shannon entropy over a rolling sample window. It calculates the proportion of bullish outcomes and measures market uncertainty
This strategy draws on the price chart and identifies mean-reversion opportunities around daily volume-weighted average price (VWAP) bands. It enters long positions when the price crosses above the lower band while the Relative Strength Index indicates oversol
This indicator plots an adaptive trend channel and market profile directly on the price chart. It calculates linear regression channels either automatically or using a fixed bar period, with support for logarithmic scaling. The script divides the channel into
The Holt-Winters Moving Average (HWMA) indicator applies a triple exponential smoothing algorithm to track price trends by filtering noise while maintaining responsiveness. It computes level, velocity, and acceleration components from a chosen price source ove
Volatility Regime Lab ranks the current ATR against its own recent history and labels the market Quiet, Normal, or Wild. It shades the price-chart background by that regime. On the last bar it shows a table of how often each regime occurred, the average N-bar
This overlay indicator plots an anchored VWAP and marks reclaim setups on the price chart. It can signal a simple VWAP cross or a reclaim, retest, and breakout of a rolling pullback high or low, filtered by trade direction and optional matching VWAP slope. A p
A minimal strategy using MACD with fixed 12, 26 and 9 settings. It enters long when the MACD line crosses above the signal line and short when it crosses below, reversing the position each time. It has no inputs, no stop loss and no take profit. The script is
P_err_undefined_namespace_function is a Pine Script v6 syntax test fixture created for compiler and parser validation. The script attempts to call and plot an undefined function within the built-in technical analysis namespace. It is designed to verify proper
A strategy that trades around an anchored VWAP with standard-deviation bands. The VWAP can reset each session, week, month, quarter or year, with two adjustable band multipliers. A volume spike filter, a time-of-day filter with an optional lunch-hour exclusion
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.