XAUUSD Strategy V4.17 is a Pine Script strategy that plots buy and sell signals on the gold price chart using Stochastic oscillator, RSI, EMA trend filters, Fibonacci zones, and ATR-based risk management. It supports confirm-only, confirm+scalp, or scalp-only
Plots Smart Money Concepts (SMC) elements directly on the price chart, including fractal-based market structures such as Break of Structure (BOS) and Change of Character (ChoCH). It tracks dynamic support and resistance levels, detects bullish and bearish Fair
This indicator plots a multi-timeframe MACD oscillator using customizable fast length, slow length, source, and signal smoothing. It displays the MACD line, signal line, and histogram in a separate pane, with options for trend-based coloring of lines, highligh
This indicator compares US sector ETFs with technology and utilities using price ratios that can be log-transformed. It smooths those ratios with a simple moving average and measures fast and mid-length percentage change to classify financials versus technolog
This strategy executes trades based on dual exponential moving average trend alignment, customizable Bollinger Bands, and normalized ATR volatility thresholds. It enters positions in the direction of the moving average trend and manages risk using a dynamic st
This indicator overlays trend and momentum analysis directly onto the price chart by combining a customizable moving average trend filter with dual QQE MOD calculations. It determines trend direction using selectable moving average types, including EMA, ALMA,
Failed Breakdown identifies and tracks key session support levels—including overnight lows, daily lows, and afternoon lows—and detects potential failed breakdowns against them. The indicator monitors price penetration to classify breakdowns into soft, medium,
This indicator plots a short and a long simple moving average on the price chart and marks buy and sell labels when they cross, but only inside a user-set clock window. The short and long periods and the start and end times, entered as HHMM integers, control t
This indicator calculates the Choppiness Index to gauge market consolidation versus trending conditions. When the Choppiness Index indicates high choppiness above a threshold of 50 during a defined trading session, the script plots a transparent rectangle over
This strategy identifies breakouts above or below a higher-timeframe reference level (daily by default) and executes trades with automated position sizing based on risk percentage. Entries occur when the close crosses the reference high or low for the first ti
This indicator plots candles for a selected symbol, defaulting to CBOE:VIX, in a separate pane together with a simple moving average of close and a line at 1.2 times that average. It colors the background when the symbol high is more than 20 percent above the
HTF Candles & Pivots overlays higher timeframe candle bodies and wicks directly onto the primary price chart alongside calculated pivot point levels. It visualizes open, high, low, and close levels for selected timeframes like hourly, daily, or weekly bars usi
Zig Zag Ratio Simplified plots ZigZag trend lines connecting swing highs and lows on the price chart. It calculates ratio relationships between market swings, displaying ratio labels, high and low price tags, and an optional status helper table. Main settings
This overlay indicator calculates the Commodity Channel Index from a selected source and detects crossings above an upper threshold and below a lower threshold, storing the high, low, and midpoint of those bars. It also builds two Bollinger Band sets with inde
This indicator draws a Chandelier Exit on the price chart. It sets a long stop under the highest price and a short stop above the lowest price, each offset by a multiple of ATR, then trails the active stop as price moves. Direction turns long or short when pri
Calculates and plots horizontal support and resistance levels by identifying recurring price clusters within a set historical lookback period. The indicator scans past highs and lows, grouping touches that fall within a specified tick deviation. Levels meeting
An overlay that marks reversal entries and exits for same-day index option trades on five-minute bars. Entries need a stochastic reversal cross, an EMA trend filter, a cooldown and a time window, and must pass a confluence score, a VIX stand-aside gate, an opt
An overlay that draws a SuperTrend-style trend line built from a volume-weighted moving average, selectable from SMA, EMA, WMA, RMA or VWMA types, with a fixed ATR factor. A k-nearest neighbours routine compares recent prices with the smoothed trend line to pr
GridWB4 plots a customizable price-and-time grid directly on the chart using two user-defined anchor coordinates (top-right and bottom-left). It divides the selected time and price range into up to seven side-by-side grid units with borders and diagonal slope
An overlay indicator that rebuilds opening range levels for one chosen historical date. After the selected number of opening candles from a set market open time, it draws the range high, low and average, then first, second and third resistance and support line
A Pine v5 indicator in a separate pane that labels the market state using volatility and trend alignment. It plots ATR as a percentage of price, Bollinger Band width with its 50-bar average, and a squeeze and expansion flag. A 10, 20 and 50 EMA alignment marks
An indicator in a separate pane that separates realised variance from jump-robust bipower variation over a rolling window, and shows the share of recent volatility attributed to jumps. It adds a Barndorff-Nielsen and Shephard style significance test, bar-by-ba
Overlay indicator for XAUUSD gold that draws predicted support and resistance levels at 08:00 and 19:00 SGT on the price chart along with buy and sell take-profit levels spaced by ATR multiples. It generates RSI reversal signals as triangles when the indicator
An indicator that marks gap-style candles where the low is above the high from two bars earlier (bullish) or the high is below the low from two bars earlier (bearish). It then tracks re-entry into that candle's range during up to three user-set time windows on
A Pine v5 indicator in a separate pane using Williams or Chaikin accumulation and distribution flow, a smoothing EMA, Chaikin Money Flow and ATR. It detects divergences between price and flow pivots and draws a line for the active divergence zone that fades on
Applies a fluid-dynamics analogy to price in a separate pane. A raw Reynolds-style number divides candle body size, signed by price against a moving average, by ATR. It is normalised and ranked by percentile to classify flow as laminar, turbulent, viscous or s
A strategy port of the Fractal Sweep CISD indicator. It detects a sweep of a prior candle's extreme, a return and a CISD confirmation, then enters with a stop at the sweep extreme or CISD level and a take profit at a set R:R multiple. Shallow sweep and closed-
This indicator measures Bollinger Band width as a percentage of the middle band and plots it in a separate pane. It marks a squeeze when that width equals its lowest value over 126 bars and also flags bars where the Bollinger Bands sit inside Keltner Channels
A price-chart overlay for gold that moves setups through a staged decision tree of wait, pending and confirmed states, with optional caution labels. Inputs combine pivot market structure, liquidity sweeps, candlestick patterns, breakout and retest logic and a
A strategy that looks for an inducement sweep: within the last three bars price wicks beyond the latest swing high or low found with a pivot lookback, then closes back inside. A long needs a bullish candle closing above the prior three highs, a short the mirro
This indicator records the high and low of the first hour of the US cash session, from 9:30 to 10:30 on the chart clock, then draws horizontal lines for both. It also draws dashed lines at one and a half times and dotted lines at two times the range, above the
A very small Pine v5 indicator in a separate pane that plots a 14-period Relative Strength Index of the close as a purple line, with horizontal reference lines at 70 and 30. The period is fixed in the code and there are no settings, signals, alerts or smoothin
Detects swing highs and swing lows with a pivot lookback of 21 bars by default, then labels candlestick patterns that form at those turning points, such as hammer, inverted hammer, hanging man, shooting star and engulfing candles. Labels carry short descriptio
Calculates L-moments of a rolling window of log returns or the raw source: the mean, L-scale, L-skewness and L-kurtosis. A selector chooses which moment is plotted, and the lookback sets the window size. For kurtosis it draws a reference level for a chosen the
This strategy trades moving-average crossovers only when the higher timeframe agrees. It requests the higher-timeframe close and a trend moving average, then goes long when that trend is bullish and the fast average crosses above the slow average, and short wh
This overlay indicator compares the current bar with historical patterns using a k-nearest neighbors search. It measures RSI, RSI slope, volume relative to a 20-bar average, EMA trend strength, and price position within a range, each scaled by a user weight. F
This indicator detects swing highs and lows using pivot points on the chart. It calculates Fibonacci retracement levels for each swing and optionally enables a trading strategy. The strategy sets stop loss and take profit using ATR multipliers. Main settings a
A price-chart overlay that draws a static set of options gamma levels for MNQ (Micro Nasdaq-100 futures, scaled from QQQ options) expiring in thirty days. The center line and the one and two standard deviation bands are hardcoded numbers from a snapshot dated
An overlay indicator that shades the Asia, London and New York sessions and classifies days against the seek and destroy profile. If London takes both sides of the Asian range, it labels a potential day and can show a warning table for the New York session. Af
Draws vertical separator lines on the price chart where higher-timeframe periods begin, such as each day, week or month. Up to four separators can be enabled, each with its own timeframe, lookback count, colour, line width and style. A reference setting choose
TimeFrameUtils is a Pine Script utility library providing functions for multi-timeframe data analysis. It includes helpers to convert timeframe strings into minutes and check whether a given timeframe is higher than the chart's current resolution. The library
Combined Indicators v5 Fixed merges multiple technical tools into a single price chart overlay. It identifies Smart Money Concepts structure such as Break of Structure, Change of Character, Order Blocks, Fair Value Gaps, and equal highs or lows. Additionally,
The Hybrid Overbought/Oversold Detector combines several classic technical indicators, such as Bollinger Bands %B, CCI, CMF, and CMO, into a consolidated oscillator displayed in a separate pane. It calculates aggregate momentum and volume conditions to identif
This indicator tracks and compares trend direction across the current chart timeframe and a customizable higher timeframe. It calculates fast and slow exponential moving averages on both timeframes, classifying conditions as bullish, bearish, or flat based on
This indicator marks price failure and reversal candles on the price chart. A bullish signal needs a recent downtrend and a bar with a lower low and higher high than the previous bar that closes higher, with a bearish mirror for uptrends. An option adds except
This indicator monitors and displays signals across up to five selectable symbols using an on-chart table. It evaluates price relative to the midpoints of highest highs and lowest lows over three lengths derived from a configurable base length. Bullish signals
This indicator highlights three configurable trading sessions on the price chart. It tests whether each bar falls inside a session window using that session's own time zone, then paints a translucent background: blue for the first session, yellow for the secon
TOTAL MTPI STRAT M_K is a trend-following crypto market direction strategy that overlays multiple technical indicators on the price chart. It combines custom weighted moving averages, dynamic EMA ribbons, RMTA, and Kijun Sen baselines to evaluate overall marke
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.