This Pine Script v6 strategy isolates and tests market structure events, specifically Break of Structure (BOS) and Change of Character (CHoCH). Using swing points calculated from configurable pivot strength settings, it tracks structural direction and triggers
This Pine Script indicator detects when the closing price crosses above a 20-period simple moving average. When a crossover occurs, it triggers an alert condition, executes a dynamic alert call with the current close price, and plots a value of 1 (and 0 otherw
An overlay indicator that finds swing pivots, with adjustable bars left and right, and turns them into supply and demand zones sized by an ATR multiple. Overlap rules stop zones of the same or opposite type from stacking. Zones can be extended, historical and
This indicator monitors up to twenty cryptocurrency perpetual pairs across four analytical categories: trend, momentum, volatility, and volume. It generates trade signals using multiple modes, including single-method execution, simultaneous confluence requirin
A price-chart indicator by MarkitTick based on Cardwell RSI ideas. It produces buy and sell signals from a fast and slow smoothed RSI crossover and from an RSI regime check combined with a moving average trend, with bull and bear RSI ranges. A minimum bar gap
This strategy couples a moving average crossover with external macroeconomic data imported via request.seed. It calculates a 20-period SMA on the fetched macro metric to identify Risk-On, Risk-Off, or Neutral market regimes. Long entries trigger when the 12 EM
Plots standard deviation, variance and mean absolute deviation of close over a chosen length in a separate pane, and overlays a simple moving average of the same length on the price chart. The length input defaults to five. It also contains hand-written versio
This overlay indicator marks confirmed pivot highs and pivot lows and draws horizontal resistance and support lines from those prices. Each line starts at the pivot bar and extends a set number of bars to the right. It keeps up to ten support lines and ten res
Decay Min-Max Channel plots a price channel whose upper and lower bounds decay toward their midpoint. Each bar it stores highs and lows in a rolling window, tracks the latest extremes, and applies exponential decay when no new high or low appears. The decay co
The script calculates the Jarque-Bera statistic of a chosen source over a rolling sample. It estimates sample mean, variance, skewness, and excess kurtosis, then plots the resulting statistic in a separate pane. Horizontal lines mark approximate chi-squared cr
This strategy enters on Donchian channel breaks and can trade long, short, or both. Position size for each unit is based on a percentage of equity divided by an initial ATR stop. A chandelier stop trails a multiple of ATR from the highest high since entry for
This overlay indicator builds a horizontal momentum profile over a chosen lookback. It splits price into rows and plots the average WaveTrend of each zone as a bar colored by direction, plus an optional MFI reference band that stays gray when real trade volume
The Game Theory EMA Strategy combines triple Exponential Moving Averages with game theory modeling to generate trade entries on price charts. It evaluates buyer and seller momentum alongside volume weighting to compute expected utility metrics and Nash equilib
This strategy trades USD/JPY on the price chart. It enters long when a fast EMA crosses above a slow EMA and short when the fast EMA crosses below, but only during the Tokyo or London sessions in GMT. Each entry places an ATR-based stop loss and take profit us
This indicator overlays a linear regression channel on the price chart and resets it when RSI crosses user-defined overbought or oversold levels. It plots an optional central regression line plus upper and lower standard-deviation bands. RSI length, threshold
This indicator calculates the Negative Volume Index and plots it as a yellow line in a separate pane. It updates the running index only on bars where volume is lower than the previous bar, multiplying the value by the ratio of the current price source to the p
This library exports constants for SMC trading intelligence. It provides market regime status, global news heat scores, bullish and bearish ticker lists, earnings calendars, and per-ticker sentiment maps. These fields support overlay companions in other script
This strategy mirrors TradingView strategy.equity by computing position quantity as equity divided by close at each potential entry bar. It signals long entries every Monday at 00:00 UTC when no position exists and flattens at the next bar open. The overlay=tr
This indicator exercises Pine Script v6 array functions and plots one combined value in a separate pane. It keeps a rolling array of the latest close prices, capped at fifty bars, then builds numeric arrays and applies sort, insert, remove, copy, reverse, conc
A strategy conversion of a supply and demand zone indicator. Zone detection, strength scoring and break detection are unchanged: pivots with set bars left and right form ATR-sized zones that can be scored and tracked as they break. A new entries section places
DEPV2 DEBUG S34 is a multi-symbol crypto signal indicator that analyzes 20 Binance pairs (BTC, ETH, SOL, and others) using trend, momentum, volatility, and volume methods. It plots signals in a separate pane based on user-selected confirmation modes such as si
An always-in trend flip indicator on the price chart. A BUY label means exit short and enter long, and SELL means the reverse. It builds an ATR trailing line and combines EMA and HMA structure with ADX and DMI, choppiness and efficiency regime checks. New sign
This strategy calculates Global Minimum Variance Portfolio (GMVP) optimal weights across three asset symbols using matrix algebra in Pine Script v6. It fetches log returns for the specified assets, computes their covariance matrix, and inverts it to rebalance
Plots the built-in Supertrend with a factor of 3 and ATR period of 10, then plots a hand-written Pine version of the same calculation so the two can be compared. Green segments mark an uptrend and red segments a downtrend. It appears in a separate pane rather
This indicator detects horizontal support and resistance zones directly on the price chart using pivot highs and lows. It clusters nearby pivot points within a customizable percentage width to track repeated price touches and recalculates the average level pri
This indicator plots the DeMarker oscillator in a separate pane. It compares the current high and low with the previous bar, keeps only positive advances and declines, and smooths those series with a simple moving average over a user-set period. The result is
This indicator calculates adaptive Jurik Volatility Bands and plots an upper band, a lower band, and a filled channel directly on the price chart. It dynamically adjusts band width according to prevailing market volatility using an adaptive volatility weightin
This strategy enters long or short breakouts when price crosses a Donchian channel and exits with a volatility-adaptive Donchian lookback that is shorter in low volatility and longer in high volatility. It sizes each unit from a percentage of equity and an ATR
This indicator calculates the velocity and acceleration for WaveTrend, StochRSI, and Money Flow Index (MFI) oscillators. By treating indicators as vector trajectories, it detects momentum exhaustion before traditional oscillator turns occur. It classifies mark
Calculates a proxy for options gamma hedging pressure by combining ATR-normalized candle range, price acceleration, and volume participation normalized by a volume moving average. The smoothed pressure metric is plotted as a color-coded histogram in a separate
This strategy generates trading signals using a dual exponential moving average cross confirmed by the Relative Strength Index. It restricts entries to specific market session hours (09:30-18:15 UTC+3) designed for Turkish VIOP index futures. Long positions en
Dynamic Swing Anchored VWAP automatically identifies swing high and low pivot points and anchors Volume-Weighted Average Price calculations to those dynamic turning points. It plots the resulting VWAP lines directly on the price chart, coloring them according
The Normalized Average True Range indicator calculates NATR as a percentage of the current close price using a true range based on the specified length. It plots the resulting value on a separate pane for easy viewing. The main input setting is the length para
This indicator displays a notice table on the chart informing the user that the SMC Regime and News script is retired and has no supported Pine data connection. It was originally intended as a bridge for external data feeds, but as Pine Script cannot directly
This strategy is a parity probe that enters long only when the chart is flat at Monday 00:00 UTC. Position size is left to Pine's percent-of-equity path at 99 percent of equity, with no explicit quantity argument. It closes the position on a later bar after th
P_syn_builtin_vars is a synthetic test indicator designed to verify engine execution of Pine Script built-in variables. It calculates cumulative sums across various built-in namespace properties, including price data, time indices, bar states, symbol informati
A strategy that looks for a one-bar sweep and engulf pattern: a bar that takes out the previous low and closes above the previous high is bullish, and the mirror case is bearish. By default the trades are inverted, so a bullish pattern opens a short and a bear
DEPV2 DEBUG S35 is a debugging indicator that calculates multi-symbol trading signals using four methods: trend, momentum, volatility, and volume. It monitors 20 different crypto pairs including BTCUSDT, ETHUSDT, and others. The script allows users to select s
A trend flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse. Version 2 makes a reversal a two-stage event: the opposite side must break the active ATR trail for consecutive closes, then show persistence, trade m
This strategy stores a rolling matrix of RSI, ATR relative to price, and rate of change, together with each bar’s close direction. It averages outcomes from historical rows inside a fixed distance and treats that score as confidence. It enters long when confid
This educational script demonstrates how to use the switch control statement in Pine Script to select between different moving average calculation types. It calculates a 10-period moving average based on user configuration, allowing selection between Exponenti
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi
Calculates the Derivative Oscillator by applying double exponential moving average (EMA) smoothing to a Relative Strength Index (RSI) baseline and subtracting a simple moving average (SMA) signal line. Plotted in a separate pane alongside a zero reference line
This indicator calculates and plots a Kaiser Window Moving Average directly on the price chart. It applies a symmetric finite impulse response filter using the Kaiser-Bessel window function, powered by a 25-term power series approximation of the modified Besse
Seykota Alt 9: Time Exit Primary executes a Donchian breakout trend-following strategy that prioritizes time-based exits over price-based trailing stops. It enters long or short on 55-bar Donchian channel breakouts, sizing positions by ATR-based risk and pyram
This indicator plots a directional volume and money flow profile directly on the price chart over a configurable lookback period. It displays total flow reference bars alongside directional delta bars to highlight buyer versus seller dominance at each price ti
GCM Volume-Price Essence is a separate-pane oscillator that weights recent price change by a short-to-longer volume ratio and a volume impact factor. It plots the smoothed difference of fast and slow exponential flows, plus optional quantum base line, dynamic
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.