This overlay strategy combines a fast and slow EMA, MACD, and RSI smoothed by an EMA. It opens a long when any one of those three crosses bullish while the other two stay aligned upward, and it opens a short on the matching bearish combination. Trades are limi
A gold-oriented overlay that prints buy and sell signals on closed bars. It combines an EMA trend stack, an RSI band, MACD and stochastic RSI triggers, an optional volume filter and a weighted confidence score that must pass a minimum. Stop loss and two take-p
Computes support and resistance zones on the chart by clustering 1h moving averages, Bollinger bands, daily pivots, volume profile levels and optionally the previous day high and low. It reads weekly, daily, 4h and 1h trend bias and moves a status through wait
A price-chart overlay that estimates how fast trading is happening and paints candles when that speed is unusually high. Because TradingView has no tick count, it approximates speed from volume or from the bar body, scaled by the timeframe and a chosen period
An ATR-based band indicator with a ratcheting SuperTrend line built from RMA of highs and lows. It shows upper and lower bands, an optional outer channel, an optional teal oscillator line, buy and sell signals when direction flips, and two take profit levels a
A Pine v5 indicator that overlays a set of reference levels on the price chart. It plots VWAP, 50 and 200 EMAs, a 24-bar high and low, the latest swing high and swing low, a volume point of control approximated from the highest-volume bar, and ATR-based stop r
An overlay that marks long and short signals by combining a Money Flow Index with k-means derived overbought and oversold levels, and an Andean oscillator crossing its signal line, both within a confirmation window. Optional trend and ATR percentage filters ca
An indicator in a separate pane that builds a 0 to 100 gauge of market risk from several other markets rather than the chart symbol: an equity ETF, the VIX, the dollar index, the 10-year yield and a high-yield credit ETF. Their returns or changes are turned in
This Pine Script indicator plots daily support and resistance levels for XAUUSD gold at 08:00 SGT on weekdays. It finds resistance by backward searching 5-minute candles until the 07:55 candle close exceeds the 07:50 high, then repeats for support when the clo
Grimmchu is a Pine Script strategy designed to trade within specified session time windows and days of the week. It combines session timing constraints with momentum filters based on a configurable relative strength index. Users can customize the active tradin
A Pine v5 indicator in a separate pane that tracks accumulation and distribution flow, using either Williams or Chaikin A/D, with a smoothing EMA, Chaikin Money Flow and ATR. It finds divergences between price pivots and flow pivots, and can show regular, hidd
A separate-pane indicator that compares the chart symbol with a domestic index and a US index using rolling log returns. It plots rolling correlations, betas against each index and an R-squared area for the domestic index, each with a toggle. The background sh
An indicator that draws unmitigated bullish and bearish fair value gaps, with a dashboard stating whether to trade long, trade short, wait or stay flat. Gaps pass filters for size, impulse versus ATR, candle body and volume, plus an EMA trend filter and a prem
Projects a distribution of possible future price moves on the price chart using a Monte Carlo style simulation of drift and returns. Settings control the number of simulations, lookback, steps into the future, outcome bins, smoothing, drift method (standard or
A separate-pane indicator for daily charts that builds a macro regime dashboard from cross-market data. It combines an economic season model, a copper-to-gold ratio check, a monetary policy pressure measure using yields and real rates, cross-market synchroniza
A second strategy version for index futures built on New York session phases, session VWAP, previous day high and low, EMAs, ATR and RSI with thresholds that tighten in low volatility. It builds a session volume profile from price and volume to find the point
A long-only Bollinger Band strategy intended for daily stock charts. It buys when the previous close was below the lower band, the current open is also below it, and no position is open. Mode S1 targets a large percentage gain on the same day and otherwise clo
A strategy version of an ATR pullback scanner. It requires a strong, rising ADX with directional indicators to set the trend direction, and an optional daily SMA 50 and 200 filter. A pullback zone is measured in ATR units from the recent swing. A toggle choose
A price-chart overlay for gold scalping that labels BUY WAIT, SELL WAIT, BUY CONFIRMED and SELL CONFIRMED states. It combines market structure from pivots, liquidity sweeps, candlestick confirmation, breakout and retest logic, an optional higher-timeframe filt
A strategy that builds chandelier style stops from the highest high and lowest low over a period minus or plus an ATR multiple. It goes long when close crosses above the short stop with price above a 200 EMA, and short when close crosses below the long stop wi
An overlay indicator built on smart money concepts, with separate switches for market structure and volumetric order blocks. It draws swing structure, sweeps and bubbles, plus order block zones with buy and sell activity and optional breakers. Settings control
A larger all-in-one overlay combining smart money structure with order flow style tools. It draws a lookback volume profile with value area high, value area low and point of control, flags cumulative volume delta divergence, absorption candles and failed break
Builds several moving averages, including EMA and Hull types, and weights them with an adaptive scheme controlled by a lambda value, a decay percentage and a robustness setting of length sets. The combined result classifies trend as long or short using positiv
This trend-following strategy combines two Exponential Moving Averages with the Relative Strength Index to identify long trade setups. It calculates a 50-period fast EMA, a 200-period slow EMA, and a 14-period RSI. A long position is triggered when the fast EM
This indicator plots bullish and bearish order-block boxes on the price chart. It marks the prior candle when the current bar engulfs it and volume exceeds a twenty-bar average times a multiplier, then stores the zone in a matrix. Volume threshold and box colo
Marks change of character events on the price chart, using swing pivots found with a leg-detection routine. It tracks a swing structure level with a default length of 50 and a shorter internal level with a default length of 5. Each can be switched on or off an
Plots annualised historical volatility using a choice of estimators, including close-to-close, Parkinson, Garman-Klass, Rogers-Satchell, Yang-Zhang, exponentially weighted and absolute-deviation methods. Inputs set the model, length, annualisation factor, a pe
This multi-timeframe strategy identifies trading opportunities by combining higher-timeframe market structure shifts with optimal trade entry Fibonacci levels and lower-timeframe confirmations. It calculates swing pivots on higher timeframes to determine bias,
Fibonacci Pullback Strategy is a trend-following system that identifies retracements within established trends. It calculates dynamic Fibonacci levels (38.2%, 50.0%, and 61.8%) based on recent swing highs and lows over a specified lookback period. Trades are f
A volume price analysis indicator in a separate pane. It tests each bar for patterns such as buying and selling climaxes, up-thrusts, down-thrusts, no-demand and no-supply bars, using volume against its average and bar range against average spread. The bullish
This indicator overlays a weighted ensemble of three models on the price chart. It compares the current bar with historical bars using RSI, volume ratio, price change and range position, then blends that KNN vote with a linear-regression projection and an EMA-
A Pine v5 strategy that trades pin bar candles on the price chart. A pin bar needs a long wick relative to its body and range, a small opposite wick, and an optional required wick side. Optional confirmation uses band, momentum and EMA crossover settings and a
This strategy calculates the RSI indicator to detect mean reversion in AU stocks. It enters long positions when RSI falls below the oversold level with no current position and closes positions when RSI rises above the overbought level. Position size uses a fix
A price-chart overlay that draws a static set of options gamma levels for MES (Micro E-mini S&P 500 futures, scaled from SPY options) expiring in thirty days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot da
Calculates Chaikin Money Flow, which measures buying and selling pressure from where each close sits in its range, weighted by volume over a set length. The default is twenty bars. It plots in a separate pane around a zero line, with colour by sign and an opti
This indicator combines RSI and MACD to mark confirmation signals on the price chart. A buy circle appears when RSI is below 50 and rising while the MACD histogram is positive and the MACD line is above its signal line. A sell circle appears when RSI is above
Institutional Order Flow is a price-chart overlay that marks order blocks, fair value gaps, liquidity sweeps, and market structure. Bullish and bearish order-block boxes require a strong candle, volume above a multiple of a 20-bar average, and a later rally or
Calculates trend channels based on a Simple Moving Average (SMA) and Average True Range (ATR) envelope. When price crosses outside the volatility envelope, the indicator identifies trend changes and draws dynamic mid, top, and bottom channel lines directly on
The Smart Money Concepts indicator plots order blocks, fair value gaps, break of structure, and liquidity zones directly on the price chart. It identifies bullish order blocks as strong up-candles following down moves and bearish order blocks as strong down-ca
This indicator projects future price trajectory directly on the price chart by searching historical price movements for matching patterns. It compares a recent reference window against historical evaluation segments using correlation to identify the most simil
The Donchian Breakout Strategy is a Turtle-style breakout system that plots Donchian channels on the price chart. It generates long entries when the close price crosses above the upper channel and short entries when crossing below the lower channel. Exits are
This indicator identifies high and low pivot points on the price chart using user-defined left and right bars around each bar. It connects pivot points with wave lines, plots PH and PL marks, and labels the latest P1 to P8 patterns. A table shows pivot details
An intraday strategy that builds a range from the first fifteen minutes after a configurable start time, then trades breakouts of that range until a set end time. Targets use a risk-to-reward ratio setting, and position size is a small percentage of equity. Th
This strategy trades three-candle reversal patterns, called 123, PFR and engulfing, together with a 9, 40 and 80 EMA trend stack. Entries can occur when price crosses the fast EMA without crossing the slower ones, or when it crosses all of them. Optional volum
This script is a template for improving Pine Script indicators and strategies. It provides a structured framework with sections for documenting original code, listing improvements, adding or modifying input parameters, performing calculations, modifying plot s
A minimal overlay that watches a 20-period EMA and prints a green STRONGBUY label below the bar each time the close crosses above it. It has no inputs, no exit logic and no filters, so every upward cross of the average produces a label, including during sidewa
A session overlay that marks up to four trading sessions, by default New York, London, Tokyo and Sydney, with shaded range boxes. For each session it can also show a trendline, a mean line, a session VWAP and maximum and minimum markers. Session names, times a
MarketAnalysis is a helper library for Pine Script developers that provides modular functions to compute Fibonacci price levels. It offers calculations for both bullish and bearish Fibonacci retracements using low and high price points. Additionally, it calcul
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.