Smart Money Dashboard plots key Smart Money Concepts on the price chart, including Order Blocks with mitigation tracking, Fair Value Gaps, and Equal Highs or Lows sweeps. It analyzes Cumulative Volume Delta for divergence and combines multi-timeframe structure
This indicator segments recent price bars into customizable groups and plots visual ruler boxes, numbering, and trendlines directly on the price chart. It calculates geometric trend angles across block segments and can render composite candles representing agg
This indicator calculates the Ulcer Index as a measure of downside volatility. It tracks the highest source value over the chosen lookback, converts the percentage drawdown from that high into a squared average, and takes the square root. The value plots as a
The strategy monitors the lower timeframe close crossing above the previous daily high obtained via request.security on the daily chart. It enters a long position of one unit upon detection of this cross-up condition and closes the position when the close fall
This strategy tests order fill recalculation behavior across an eight-bar cycle. It enters long positions using a market order at phase zero and a limit order below the close at phase four. When an open position is detected upon order fill, it immediately subm
A separate-pane momentum indicator that combines fast and slow RSI, smoothed momentum, an ATR trend band and a memory of past similar setups to score each bar. A weighted confidence and rank are built from similarity, momentum agreement, trend alignment, volat
The Tn Sovereign BB Breakout v6 strategy identifies volatility squeezes on the price chart by checking when Bollinger Bands lie inside Keltner Channels. It enters long positions on crossover above the upper BB band when a volume audit passes, and shorts on cro
This indicator calculates John Ehlers' two-pole Highpass Filter (HPF) to isolate cyclic noise from market data. By subtracting the highpass filter output from the input price series, it removes high-frequency fluctuations and plots the smooth underlying trend
This indicator calculates the Schaff Trend Cycle oscillator using custom exponential moving averages with deterministic warm-up logic. It computes a MACD line from user-defined fast and slow lengths, passes it through a double stochastic calculation over a spe
This indicator plots a four-layer Smart Money Concepts framework directly on the price chart. It maps external and internal market structure points (HH, HL, LH, LL), projects structural expectation zones for upcoming swing levels, detects Break of Structure (B
This indicator segments recent price bars into defined groups and visual boxes to serve as a visual chart ruler. It includes automated trend detection with configurable angle thresholds to plot uptrend, downtrend, and range segments directly on the price chart
This indicator plots a Variable Index Dynamic Average on the price chart. It smooths the selected source with an exponential factor that scales by a volatility index, the ratio of a five-bar standard deviation to the standard deviation over the chosen period,
The script is a Pine Script strategy that fetches the RSI(14) value from the 60-minute timeframe via request.security and signals long entries on crossovers above 50 while closing longs on crossunders below 50. It maintains a single fixed position of 1 unit wi
S_close_variants is a Pine Script v6 strategy that tests different close calls in the strategy library. It enters long positions at specific phases of a 30-bar cycle and uses close, close with comment, close with fixed qty, close with qty percent, close all, a
A trend flip indicator on the price chart with BUY and SELL labels. It builds a zero-lag trail from ATR and an optional volume-weighted source, then lets a flip through only when several gates pass: choppiness, baseline slope, volatility expansion, efficiency
This strategy draws on the price chart and trades a fast and slow Commodity Channel Index against an exponential moving average regime. It enters long when the fast CCI crosses above the lower extreme, the slow CCI is already above that level, and price is abo
Calculates the dominant cycle period of a price series using John Ehlers' Hilbert Transform algorithm, cross-checked against the TA-Lib implementation. It applies weighted price smoothing, FIR detrending, in-phase and quadrature component processing, and a hom
Calculates the linear regression slope for a selected price source over a configurable rolling lookback window. It tracks running sums using ring buffers to determine the rate of price change per bar. Configurable settings include the lookback period and price
This indicator plots a double-smoothed Supertrend baseline on the price chart, combining a Supertrend midline with WMA and EMA smoothing to show trend direction. Direction uses an ATR-scaled baseline slope with hysteresis, while percentile-ranked slope magnitu
This multi-timeframe indicator calculates Stochastic oscillator directional bias across three user-defined timeframes. It compares %K and %D to determine whether momentum is bullish or bearish on each timeframe. When all three timeframes align in the same dire
The VAMA indicator calculates a volatility-adjusted moving average whose length dynamically changes according to market volatility measured by ATR. It multiplies a base length by the ratio of long-term ATR to short-term ATR to obtain an effective length for a
A test strategy from a reference corpus that requests 60-minute volume and its 20-bar average from a lower-timeframe chart, with lookahead off. It enters one long unit when hourly volume is more than twice its average and closes the position when that conditio
This strategy is a deterministic test fixture that repeats a 48-bar cycle based on bar index. It opens fixed-size long entries at set phases and attaches limit and stop exits that reserve quantity, split size by percent, apply to later entries when no entry id
A trend flip indicator on the price chart, where BUY exits a short and enters long and SELL does the reverse. It uses an ATR structure trail and requires a breakout of a prior swing, so minor pullbacks do not produce signals. Presets cover scalp, gold and fore
This strategy adapts the Chandelier Exit indicator to build a trend-following system with added audit filters. It calculates trailing stop levels using ATR and highest highs or lowest lows to determine directional shifts. Entries are filtered through a long-te
This indicator computes the InPhase and Quadrature components of the Hilbert Transform Phasor using Ehlers' FIR filter algorithm. It processes the input source (default HLC3) through smoothing, detrender, and phase shift steps to generate the components. Plots
This indicator calculates the Spearman rank correlation coefficient between two series: a selected price source from the active chart and a price source from a secondary ticker symbol. Over a customizable lookback period, it ranks the values within a sliding w
Smooth Trend Radar Strategy calculates a double-smoothed Supertrend baseline using WMA and EMA to identify trend direction and sideway regimes. It plots baseline rejection signals on flips, trend slope filters, and statistical overextension highlights with can
This Pine Script strategy implements the Supertrend Elite Trend System for crypto markets. It combines signals from ten indicators including Supertrend, ALMA smoothing, CTI correlation, STC trend catcher, Gunxo sniper, DEMA with DMI, MM percentile, and DMI loo
This indicator calculates and plots a cumulative volume accumulation line in a separate pane. For each bar, it computes the bar midpoint between high and low, subtracts the midpoint from the close price, and multiplies the difference by the bar volume before a
This strategy analyzes closing prices from three simultaneous multi-timeframe security feeds: 60-minute, 240-minute, and daily. It identifies confluence when all three closes are rising (allUp) or falling (allDown) from the prior bar. When allUp and no long po
S_margin is a strategy designed to test margin rules, leverage calculations, and liquidation price tracking in Pine Script v6. Operating on a repeating 40-bar cycle, it enters a long position sizing at 300% equity on phase 0, exits on phase 18, enters a short
A strategy that takes trades from a confirmed trend and regime engine using ZLEMA, a slow baseline, HMA, ADX, choppiness, efficiency, RSI and gap or shock filters. Each trade gets a drawn box, a latched initial stop loss, three partial take profit brackets and
This strategy identifies pivot-based Darvas Box levels on the price chart and trades re-entries following box sweeps. A long position arms when the price dips below the lower boundary and triggers when it closes back inside, provided the price is above a highe
This indicator calculates John Ehlers' Hilbert Transform sine wave from a chosen price source, defaulting to hlc3. It smooths price, estimates the dominant cycle with a homodyne discriminator, clamps that period between 6 and 50 bars, and extracts phase with a
This indicator applies a square root transform to a user-selected price series and plots the result in a separate pane. The function returns na when the source is negative and raises a runtime error if the source is na. The only input chooses the series, defau
This indicator plots a Stochastic RSI in a separate pane on a 0–100 scale. It computes RSI of the source, then a stochastic of that RSI, and smooths the K and D lines with a selectable average including SMA, EMA, and JMA-style options. It marks midline and K/D
Swing Trade Strategy evaluates market conditions by aggregating directional signals across ten trend and momentum indicators, including an Arnaud Legoux Moving Average, Relative Momentum Index, Double Exponential Moving Average, Directional Movement Index, and
Volume Force (VF) is an indicator that calculates the force of volume behind price movements. It measures price change multiplied by volume and smooths the result using an EMA-style formula with adjustable smoothing period. The script plots the VF line on a se
A test strategy from a reference corpus that calls a user-defined MACD histogram function on 60-minute, 4-hour and daily data with lookahead off. It goes long when all three histograms are positive and short when all three are negative, closing the opposite po
S_pending_entries is a strategy that places different types of pending buy and sell orders including limit, stop, and stop-limit orders at specific phases in a 68-bar cycle. It calculates reference price levels around the current close and plots them along wit
An overlay always-in flip indicator where a buy closes a short and opens a long, and a sell does the reverse, committed only on confirmed bars. It rebuilds an earlier trail design with an ATR trail, slope and separation checks, range hysteresis, a strict early
This strategy plots Donchian upper and lower channels along with the midpoint on the price chart. It generates long signals on a price crossover above the upper Donchian band when volume exceeds a moving average multiple if the filter is enabled, and short sig
This indicator implements John Ehlers' Hilbert Transform Trend vs Cycle Mode algorithm cross-checked against TA-Lib standards. It analyzes dominant cycle periods, phase changes, and sine wave components from a price input to determine whether the market is tre
Calculates and plots the square root mathematical transformation of a chosen price or series input in a separate pane. This non-linear mapping compresses larger values, helping to stabilize variance across price data. The calculation includes built-in safety c
Structural Wave Field is a market structure indicator that evaluates structural flow, internal wave energy, and structural integrity across multiple time horizons. It combines momentum, velocity, and acceleration with wave segmentation and Elliott-context sequ
This indicator plots volume as columns in a separate pane and marks unusually quiet bars. It labels a bullish bar S when its volume is lower than both of the previous two bars, and a bearish bar D under the same volume condition. Users choose the analysis time
This indicator calculates a volume oscillator in a separate pane. It builds short and long simple moving averages of volume with circular buffers, then plots the percentage difference of the short average relative to the long average. A further moving average
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.