This strategy plots a daily VWAP, a 90-period simple moving average from the one-hour chart, and a 50-period EMA plus a 90-period SMA from the 15-minute chart on the price chart. It enters long when VWAP crosses above the one-hour average, or while VWAP remain
This indicator highlights up to three customizable market trading sessions, such as London, New York, and Tokyo, directly on the price chart using colored boxes and labels. Users can adjust time zones, session hours, colors, border styling, and fill transparen
Confluence is an overlay indicator that calculates metrics across three classic tools: Bollinger Bands, the Relative Strength Index (RSI), and the Moving Average Convergence Divergence (MACD). It plots the upper, lower, and basis lines of the Bollinger Bands d
WebhookMessageLibrary is a helper library designed to construct structured JSON payload messages for automated trading integrations like TradersPost. It defines custom exported types and constants for trade actions, market sentiments, quantities, limit prices,
Edge 71 plots prior-window extremes on the price chart and marks breakout entries. It takes the highest high over a long lookback and the lowest low over a short lookback, both excluding the current bar. A green arrow appears when the bar high exceeds that pri
This indicator plots ATR-based stop-loss and take-profit levels on the price chart around a simple moving average of the bar midpoint. It calculates ATR and tracks the highest one-bar ATR over a lookback, then flags a surge when that high rises. Distances come
This indicator overlays multiple simple moving averages and VWAP directly on the price chart to identify directional pullback and breakout setups. It calculates synthetic Heikin-Ashi values to gauge candle touches across moving averages and requests five-minut
This strategy evaluates EMA momentum crossovers filtered by an RSI oscillator. It enters a long position when a fast EMA crosses above a slow EMA while RSI remains above 40. Conversely, it enters a short position when the fast EMA crosses below the slow EMA wh
SMC Order Block + FVG is an intraday strategy combining market structure breaks, order blocks, and fair value gaps. It identifies breaks of structure using pivot points, isolates order blocks following strong ATR-based impulses, and tracks fair value gaps. Lon
This strategy demonstrates fixed-fraction position sizing based on a set percentage of account equity at risk. It calculates trade quantity dynamically using an Average True Range (ATR) stop distance. Long entries trigger when price crosses above a 50-period s
This indicator combines the Moving Average Convergence Divergence (MACD) and Stochastic RSI into a single separate pane display. It calculates the standard MACD line, signal line, and histogram alongside Stochastic RSI %K and %D oscillator curves. Extreme over
Improvisando [Alorse] is a price-chart strategy that plots three exponential moving averages and a TTM Squeeze-style oscillator. It opens a long when price is above all three averages and the oscillator is rising while still below zero. Shorts use the opposite
This indicator plots an interactive ATR-based trailing stop loss on the price chart. Traders click to set the starting point, with the stop loss trailing dynamically based on price action. It triggers on wick or close breaches of the ATR bands and displays fil
Dip Finder is a multi-indicator oscillator and screening tool designed to identify market bottoms and potential reversal points. It calculates a WaveTrend oscillator with customizable overbought and oversold levels, combined with Awesome and Acceleration Oscil
Calculates Fair Value Gaps (FVGs) by comparing price action across three bars and plots their magnitude in a separate pane. Upward and downward gaps are displayed as colored bars, with smaller, insignificant gaps rendered transparent based on settings. In addi
Doji Marker identifies and highlights Doji candlestick patterns on the price chart based on a user-defined body-to-range ratio. When the absolute distance between the open and close prices is less than or equal to a specified fraction of the total bar range, t
Snag - Swing Trade Long Term V3 is an overlay indicator designed to track long-term trends using three Weighted Moving Averages (13, 48, and 200 periods). It plots the WMAs directly on the price chart and evaluates crossovers between price and moving averages,
This overlay strategy classifies trend from a higher-timeframe Heikin Ashi close and an exponential moving average of that close. When the confirmed price is above the average it enters long and closes any short; when price is below it enters short and closes
This overlay indicator plots a 200-period simple moving average labeled EMA-1, a narrow Bollinger band set with a 2.0 multiplier, and a wider band set with a 3.0 multiplier, filling the gaps between the two upper and lower lines on the price chart. It recolors
This indicator plots multi-length ZigZag swing structures, detected order blocks, and retracement levels directly on the price chart. It computes up to four separate ZigZag lengths to track price swings across multiple horizons with color coding for bullish, b
This indicator plots five exponential moving averages on the price chart and combines EMA 3 and 13 crosses with a fast MACD to mark long and short entry signals. A main signal requires the two crosses to occur within three bars and the averages to be stacked,
This Pine Script v5 library exports detectYinYangCrown, which builds a standard MACD from close using caller-supplied fast, slow, and signal lengths. It tracks histogram color and a small state machine: a green histogram that rises to a peak, then declines, th
The 7 in 1 indicator plots multiple customizable moving averages directly on the price chart to reduce indicator clutter. Traders can toggle each moving average on or off, selecting between Simple Moving Average (SMA) and Exponential Moving Average (EMA) types
This Pine Script indicator estimates and tracks memory usage for variables, arrays, and series in Pine Script scripts. It calculates total memory usage and breaks it down by type using type-based estimates. The script tracks changes over bars, detects potentia
BTMM Enhanced Foundation is a Pine Script utility library designed for Beat The Market Maker (BTMM) system calculations. It provides core helper functions for multi-session detection across Asian, London, and New York trading sessions, three-day market cycle a
NagAstra draws a Gaussian-kernel smoothed estimate of the selected source on the price chart. With repainting smoothing enabled, it rebuilds line segments on the latest bar and marks slope reversals with triangle labels. Disabling that option plots only the en
Calculates a Relative Strength Index oscillator and detects regular and hidden bullish or bearish divergences using pivot points. It displays in a separate pane below the main chart, highlighting divergence occurrences between price movement and the RSI oscill
This indicator calculates and plots a custom Exponential Moving Average (EMA) directly on the main price chart. It uses an initial Simple Moving Average over a user-defined period to seed the exponential calculation, applying standard alpha weighting to smooth
This strategy plots long and short markers on the price chart. It builds a composite index from RSI change and a short RSI average, then requires that index, a one-minute cumulative volume delta, and a relative volatility index to agree. EMA, SMA, and VWAP rel
The Currency Strength Chart calculates and plots the relative strength of major fiat currencies, including EUR, USD, JPY, GBP, CHF, AUD, CAD, and NZD, in a separate chart pane. It evaluates cross-pair exchange rates using configurable data sources like price,
GBPJPY Ver7 Phase1 - Environment Recognition is a multi-timeframe trend and momentum analysis indicator designed for price charts. It evaluates overall trend direction using a 4-hour 50 EMA and calculates MACD divergences on 1-hour charts using ZigZag pivot hi
An overlay technical indicator designed for gold trading that evaluates price action using a multi-factor scoring model. It integrates Stochastic, RSI, three exponential moving averages, Fibonacci levels, and automated support and resistance zones. The script
Q-Trend is a trend-following indicator that calculates a dynamic trend line using price channels and an ATR volatility offset. It plots a colored trend line directly on the price chart, switching between bullish and bearish modes when price breaches the upper
This strategy calculates a rolling volume-weighted average price and Chris Moody's Williams Vix Fix to detect market bottoms and oversold volatility spikes. It plots in a separate pane and colors chart bars based on filtered exhaustion criteria and price actio
This strategy plots a fast and a slow simple moving average on the price chart and enters long when the fast average crosses above the slow average, or short on a cross below. Longs also require ADX above a threshold, RSI below 65, ATR above a minimum, and a b
Swing Structure - Clean BOS identifies market structure by plotting swing high and low points, Break of Structure (BOS) lines, and Order Blocks directly on the price chart. It features an optional displacement filter requiring breakout candles to exceed an ave
This strategy enters long when the close breaks above the prior lookback high and volume exceeds its simple moving average, but only if a VIX regime score is at least three. The score counts whether the VIX to three-month VIX ratio and the VIX level sit below
This strategy draws on the price chart and combines a momentum zigzag, a custom QQE built from RSI, ADX directional strength, an SSL filter, and a coefficient-of-variation weighted average. Box period, deviation, and threshold inputs set the box filter, while
This strategy overlays SuperTrend, a QQE MOD oscillator, and an A-V2 moving average on the price chart. SuperTrend uses an ATR period and factor to plot a trend line and flags flips between up and down trends. QQE MOD smooths RSI, builds fast ATR-style bands,
The My Fib Pivots indicator plots daily pivot points on the price chart along with Fibonacci retracement levels from 0.236 to 2.0. It displays the last period's pivot, latest classic pivot range (CPR), retired CPR, and rolling pivots. Users can toggle visibili
Dual MA Crossover with Time Filter calculates a short simple moving average and a long simple moving average, plotting both on the main price chart. It identifies bullish crossovers and bearish crossunders to display Buy and Sell labels on the chart. A user-de
Custom Session OHL calculates and plots the open, high, and low price levels established during a user-specified time session. It tracks the session opening price along with the highest and lowest prices reached during that window, plotting them directly on th
Breakout Indicator plots high and low threshold levels for a chosen timeframe, such as daily, directly on the price chart. When price closes above the high or below the low, the indicator displays a breakout shape and marks ATR-based stop loss and take profit
Mc War v3 is a price-chart indicator that finds swing highs and lows over a user-set lookback and draws upper and lower order-block zones as boxes. It limits how many bearish and bullish blocks stay visible and can use candle bodies instead of wicks for zone e
This strategy enters long positions when the fast SMA of 10 periods crosses above the slow SMA of 30 periods. It calculates the trailing stop price as the position average price multiplied by one minus the trailing stop percentage divided by 100. The strategy
Jens Rabe Academy - Indicator 1 combines multiple trend and market condition tools directly on the main price chart. It calculates exponential moving averages (10, 21) and simple moving averages (30, 40, 50, 150, 200), identifies distribution days (D-Days) bas
This overlay indicator draws higher-timeframe candles as boxes on the price chart, with a selectable timeframe, candle thickness, wicks, history, vertical divisions, and optional fill for negative candles. It can plot pivot levels, including an optional centra
This indicator calculates and plots up to four independent ZigZag lines on the price chart simultaneously using customizable length periods. It identifies high and low pivot points across multiple time horizons to display market structure and trend swings. Use
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.