P_fmt_tabs_mixed is an indicator that tracks net candle direction by maintaining a running cumulative counter. It increments the counter by one on bullish bars where the closing price exceeds the opening price, and decrements it by one on bearish bars where th
This strategy identifies trade opportunities based on candlestick wick imbalances relative to the Average True Range. It enters positions when candle wicks exceed defined thresholds and filters out doji candles using a minimum body ATR requirement. Exits are h
This indicator computes the average height of green and red candles inside a user-selected time range. Inputs define start and end timestamps that filter candle data in real time. When the range is active the script accumulates heights for green candles (where
This indicator detects the bearish Evening Doji Star candlestick pattern directly on the price chart. It checks for a three-bar pattern comprising a long bullish candle, a gapping doji body, and a long bearish candle closing below the midpoint of the first can
Calculates a Relative Strength Index with user-defined length and overbought/oversold thresholds. It identifies exhaustion setups by pairing momentum extremes with bullish and bearish engulfing candlestick patterns imported from an external library. Buy signal
This strategy identifies multiple classic candlestick patterns, including Engulfing, Harami, Morning and Evening Stars, and Three White Soldiers. It executes trades directly on the price chart when selected bullish or bearish patterns trigger. Users can toggle
This indicator highlights specific candlestick formations directly on the price chart by coloring the bars. It detects inside bars, coloring them yellow, as well as bullish outside bars in aqua and bearish outside bars in purple. Bars that do not meet these co
The Evening Star - Bearish indicator identifies and marks the three-candle Evening Star bearish reversal pattern directly on the main price chart. It detects a strong bullish candle, followed by a small-bodied gapping candle, and finishes with a strong bearish
This Pine Script indicator plots session summary bars on the price chart for Tokyo, London, and New York sessions. It tracks open, high, low, and close values for each session period defined by user inputs. At session start and end, it draws purple bars showin
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
This indicator identifies the five-candle bearish continuation pattern known as the Falling Three Methods on the main price chart. It checks for an initial long bearish candle within a downtrend, three consecutive small bullish candles contained within the fir
This indicator plots the Stochastic oscillator with %K in blue and %D in orange lines. It calculates the values using SMA on the Stoch function based on user inputs for %K length, %K smoothing, and %D smoothing. Long signals trigger on bullish engulfing candle
This Pine Script v6 indicator draws multiple objects on the price chart for testing. It creates a red dashed line from the previous low to the current low, a blue line from the previous high to the current high, and connects their endpoints. A green label show
This indicator detects a large set of classic candlestick patterns and plots colored labels on the price chart. Trend context uses a 50-period simple moving average, or the 50 and 200 averages stacked together, and can be switched off. Users filter bullish, be
This indicator identifies the bearish falling window candlestick pattern, a two-candle continuation setup where a downward price gap occurs during a downtrend. It validates the pattern when the current bar's high is strictly lower than the previous bar's low u
This indicator calculates and overlays standard Ichimoku Cloud components on the price chart, including the Conversion Line, Base Line, Lagging Span, and Leading Spans A and B. It imports an external library to detect candlestick patterns like hammers and shoo
The Complex Pattern Finder indicator scans price charts for specific sequences of bullish and bearish candlesticks encoded as binary strings. Users can enter a custom string of ones and zeros or enable an auto-generated Fibonacci sequence based on a chosen lev
This indicator scans price bars for a bearish gravestone doji on the price chart. It treats a candle as a doji when the body is small relative to the full range, then requires the lower shadow to be no larger than the body. On a match it draws a GD label above
This indicator identifies price action reversal setups by combining candlestick patterns with Exponential Moving Average (EMA) trend filters. It calculates two customizable EMAs (default 10 and 20 periods) and fills the area between them to form an EMA cloud.
This indicator detects liquidity sweeps during the Asian session and identifies reversal opportunities in the New York session. It tracks the high and low of the Asia trading range using session timestamps in UTC+3. Sweep up and down are flagged when price bre
Indicatorv5SMC / ICT / price actionSessions & time
This indicator identifies bullish Piercing Line and bearish Dark Cloud candlestick patterns directly on the price chart. It calculates the midpoint of the preceding candle and checks for directional candle closes along with opening gap conditions. To filter fa
This indicator identifies pullback reversal setups by combining dual exponential moving averages with candlestick patterns. It plots two EMAs with a shaded cloud to define trend direction. When price touches or crosses the slower EMA and closes back in trend a
This indicator marks a bullish hammer candlestick on the price chart. It looks for a small real body above the bar midpoint, a lower shadow at least twice the body, and no upper shadow. A trend filter can require price below a 50-period SMA, below both a 50-pe
Overlay indicator that classifies candles into seven families: momentum blast, range expansion, gap and go, trend accelerant, trapdoor reversal, exhaustion spike and gap and recover. Each family uses ATR multiples, body-to-range ratios and volume against its a
Exceeded Candle [Alorse] is a mean-reversion strategy that identifies candlestick engulfing patterns combined with Bollinger Bands filters. It enters a long position when a green candle surpasses the body of the previous red candle while price is below the mid
This overlay indicator marks a bearish hanging man candlestick on the price chart. It looks for a small real body sitting in the upper part of the range, a lower shadow at least twice the body, and no upper shadow, and only while an uptrend filter is active. T
This indicator plots a customized RSI line on the price chart along with buy and sell signals triggered by bullish and bearish engulfing candle patterns. It calculates RSI using a user-adjustable length and custom overbought and oversold thresholds. Signals oc
Tick-chart-safe overlay indicator that classifies candles into seven families: momentum blast, range expansion, gap and go, trend accelerant, trapdoor reversal, exhaustion spike and gap and recover. Each family uses ATR multiples, body-to-range ratios and volu
This indicator detects a bearish Harami candlestick pattern on the price chart. It requires a long bullish candle in an uptrend followed by a smaller bearish candle whose range sits inside the previous body. Trend context is optional and uses a 50-period SMA,
This indicator identifies and highlights Bullish Harami candlestick patterns on the price chart. A Bullish Harami occurs when a small-bodied green candle is completely encompassed within the body of the preceding long red candle during a downtrend. The underly
Impulse Candles identifies unusually large price bars relative to an Average True Range baseline. It measures candle body size against a user-defined ATR ratio and optionally filters for reversal setups following two consecutive candles of the opposite directi
The Ighodalo Gold CRT indicator plots candlestick range lines on the price chart using user-defined lookback periods and multiple timeframes. It calculates high, low, and midpoint lines for each enabled CRT set to identify support and resistance levels based o
This indicator identifies the bearish Harami Cross candlestick pattern on the price chart. The pattern consists of a long bullish candle followed by a Doji whose entire high-to-low range is contained within the real body of the preceding candle. Trend directio
This strategy detects an inside bar when the current high and low sit inside the previous bar. A bullish inside bar enters long and a bearish inside bar enters short, both on the price chart. The long stop is the entry bar low and the short stop is the entry b
Bar Color is a simple candle-based reversal strategy displayed directly on the price chart. It checks the relationship between the bar close and open prices. On a bullish candle, it triggers a long entry and exits any active short position. On a bearish candle
This indicator plots either a Volume Weighted Average Price (VWAP) or a Volume Weighted Moving Average (VWMA) directly on the price chart, coloring the line based on whether the close is above or below it. It generates trading signals by combining the trend fi
This indicator plots detrended candlesticks in a separate pane relative to a chosen baseline to highlight market cycles around a zero line. Users can switch the baseline mode between a moving average and high/low extremes. In moving average mode, it subtracts
This indicator imports the Zen Library and uses it to detect several candlestick reversal patterns on the price chart. It identifies bullish and bearish engulfing candles, hammers, stars, and dojis, then plots corresponding shape markers with labels. The libra
This strategy trades price action pin bar patterns aligned with moving average trend alignment on the main price chart. It defines uptrends or downtrends using a fan arrangement of three moving averages (6 EMA, 18 EMA, and 50 SMA). Entry conditions require a b
This strategy detects an inside bar when the current high is below the previous high and the current low is above the previous low. It enters long when that bar's close is above its open and short when the close is below its open. Signals are placed on the pri
Detects bullish inverted hammer candlestick patterns directly on the price chart. It identifies candles with a small real body in the lower half of the range, an upper shadow at least twice the body length, and a minimal lower shadow occurring in a downtrend.
This indicator customizes candle appearance on the price chart using plotcandle. Bullish candles appear in green with blue wicks and lime borders. Bearish candles appear in maroon with orange wicks and red borders. The script directly plots these colored candl
This indicator identifies and highlights bearish kicking candlestick patterns directly on the price chart. It searches for a two-bar formation consisting of a bullish marubozu followed by a bearish marubozu that opens with a gap down below the prior candle's l
This indicator plots 20-period and 200-period Simple Moving Averages on the main price chart while requesting multi-timeframe state data from a higher timeframe. It measures the percentage distance and slope between the two moving averages to detect narrow, pa
This indicator detects a bullish kicking candlestick pattern on the price chart. It marks a two-candle sequence in which the prior candle is a black marubozu and the current candle is a white marubozu that gaps above the prior high. A K label is drawn below th
This indicator demonstrates how to configure and separate multiple alert triggers using input toggles. It calculates a 7-period RSI to identify overbought and oversold conditions, alongside candlestick confirmations when price closes against the extreme. Signa
The Heikin Ashi Buy Sell Arrows indicator calculates custom Heikin-Ashi values on the current chart to identify potential trend reversals. A buy signal is generated when a Heikin-Ashi candle forms with no lower wick following a sell sequence, while a sell sign
This indicator plots buy and sell labels on the price chart. A buy appears when a short stochastic crosses up from below 20 while a slow MACD histogram is positive and a faster MACD histogram is negative. A sell uses the opposite stochastic and MACD alignment.
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.