This strategy enters a long position when the bar close is above its open. It has no inputs, no exit rules, and no stop loss or take profit. Position size is plotted in a separate pane rather than on the price chart. The script is a minimal parser fixture, so
This strategy plots a close VWAP and percentage-offset high and low VWAP bands on the price chart. It enters long when the bar opens above the high band, optionally only on a green candle, and short when the bar opens below the low band, optionally only on a r
This strategy plots dual moving average clouds and a long-term trend filter directly on the price chart alongside Heikin Ashi data. It triggers long and short entry signals using moving average alignments and pivot trendline levels, with optional filtering via
This strategy calculates double-smoothed Heikin Ashi candles and plots them directly on the price chart alongside a smoothed Relative Strength Index. It evaluates market conditions against external volatility data from an inverse symbol, generating long and sh
This indicator detects a bearish black marubozu on the price chart. It treats a candle as a match when the close is below the open, the body is longer than a 14-period exponential average of body size, and both upper and lower shadows are at most five percent
This strategy plots smoothed Heikin Ashi candlesticks directly on the price chart. It filters entries using CCI and Stochastic crossovers calculated on a separate higher timeframe. Long signals trigger on CCI crossing above 60 and Stochastic crossing above its
This indicator renders custom OHLC bars in a separate chart pane using the plotbar function. It determines the color of each bar dynamically based on price action: bars where the closing price is greater than or equal to the opening price are colored lime, whi
This indicator detects a bullish white Marubozu on the price chart. It marks a white candle whose body is longer than a 14-bar exponential moving average of body size and whose upper and lower shadows are each no larger than five percent of that body. When the
Hercules Indicator 1.7 is a multi-filter trade signal generator designed to overlay entry conditions directly on the price chart. It evaluates engulfing candle patterns alongside multiple configurable filters, including trading session windows (Sydney, Tokyo,
This indicator plots a normalized candle dynamic visualization inside a custom 500x500 Gann square grid within a separate pane. It normalizes each bar's open and close prices relative to its high-low range, storing the resulting coordinate pairs in fixed-size
Example 3 is a basic demonstration indicator written in Pine Script v4 that illustrates how to plot custom candlesticks using the plotcandle function. It calculates a modified closing price by checking whether the bar is bullish, defined as the close being gre
Signal Quality Engine [WavesUnchained] is a range-fade indicator that identifies exhaustion at range extremes and signals potential reversals. It applies an ADX and EMA slope regime gate to stand down during strong trends. Using distance, structure, and moment
Hercules Rewrite is a signal and visual trade management indicator that overlays entry setups directly on the price chart. It detects candle setups based on minimum tick movement and engulfing patterns, filtering entries through parameters like moving averages
This strategy combines Bollinger %B settings with belthold and inner-candle color toggles and sizes orders as a percentage of equity. The user sets band length, source, and deviation, plus buy, sell, overbought, and oversold levels. Exits use either a modified
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
Hercules Strategy 1.7 is a price-chart strategy that gates trades with an engulfing-candle option, a lightning tick threshold, and a choice of long, short, or both directions. It can invert signals and stop the next trade from repeating the same side. Sydney,
Bar Pattern Statistics Tool evaluates sequential candlestick formations and displays historical occurrence statistics in a separate pane. It classifies individual price bars into types such as inside bars, outside bars, up bars, down bars, and directional pin
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
Forex Majors 4H Rejection Scanner tracks seven customizable currency pairs on a four-hour timeframe and displays their bias in a table overlay on the main price chart. It checks the last two closed four-hour candles for high or low price rejections, labeling a
Hercules Strategy Rewrite is an automated backtesting strategy that generates entry signals using engulfing candlestick patterns, tick thresholds, and support or resistance level breakouts. It offers multi-layer filtering including moving average trend checks,
This indicator tracks and analyzes custom candlestick bar sequences in a separate pane. Users can define a pattern sequence of up to ten consecutive bars using specific criteria such as inside bar, outside bar, up bar, down bar, pin bar, or any bar type. The s
This indicator compares the colour pattern of the latest bars, green or red by close, with up to a thousand bars of history. It looks for earlier matches and shows what followed them in a dashboard table on the chart, listing the matched dates and bars. Lookba
This indicator retrieves Heikin Ashi candle data for the current symbol and plots the low price of the Heikin Ashi candles directly on the price chart. It uses the security function to fetch the low value from a Heikin Ashi ticker for the chart's active timefr
This strategy plots modified Bollinger Bands and an exponential moving average on the price chart. It watches for closes crossing the upper or lower band, optionally filtered by the EMA trend and extra crossover or crossunder checks. Long stops use the recent
This overlay indicator requests the low of a Heikin Ashi series built from the symbol’s regular session and plots that value on the price chart. It builds a regular-session ticker, converts it with heikinashi, then reads the low through security on the chart’s
This indicator retrieves Heikin Ashi candle data for the current symbol and timeframe using the security function. It constructs and plots custom Heikin Ashi candlesticks, coloring them green when the Heikin Ashi close is greater than or equal to the Heikin As
The Morning Doji Star Bullish indicator identifies a three-candle bullish reversal pattern consisting of a long black candle, a gapping doji, and a long white candle closing above the midpoint of the first body. It applies optional trend filtering using SMA50
This indicator overlays up to five higher-timeframe candlestick groups on the price chart. For each enabled timeframe it requests open, high, low, and close and can show up to five candles, offset by a spacing setting. The main inputs set the candle count, the
Morning Star - Bullish is a price chart indicator that automatically identifies three-candle bullish Morning Star candlestick patterns. It filters pattern occurrences using optional trend context defined by 50-period or 200-period simple moving averages. When
This indicator colors price chart candles according to trading volume relative to a simple moving average. It classifies volume into five distinct tiers ranging from low to ultra using customizable multiplier thresholds. Candles are painted directly on the mai
This indicator simulates and backtests candlestick pattern performance directly on the price chart. Utilizing an imported pattern recognition library, it calculates theoretical trade outcomes based on user-defined entry modes, stop-loss methods (ATR or pattern
The Breakeven Line Demo strategy is a Pine Script demonstration tool designed to visualize the average position price of stacked trades. It enters long positions after seven consecutive bearish candles and short positions after seven consecutive bullish candle
Draws supply and demand zones on the price chart from engulfing candle patterns. An algorithm mode setting switches between looser and strict engulfing definitions, and a threshold separates big from small candles. Other settings set the maximum number of engu
This indicator identifies candlestick patterns on the price chart by combining price action with momentum factors and trend filters. It calculates one of four selectable oscillators: Karobein Oscillator, Money Flow Index, RSI, or Stochastic, alongside trend ru
Calculates Candle Range Theory (CRT) ranges using specific one-hour or four-hour New York session candles. The indicator draws CRT range boxes directly on the price chart and plots entry signals based on Market Structure Shifts (MSS) with Fair Value Gaps (FVG)
Indicatorv5SMC / ICT / price actionSessions & time
Inside Extended tracks inside bar patterns and projects their initial breakout ranges on the price chart. When a candle body falls completely within the high-low range of the prior candle, the indicator marks the inside bar in yellow and establishes the mother
Draws supply and demand zones on the price chart from engulfing candle patterns. Algorithm modes range from looser to strict engulfing, with a threshold separating big from small candles. Settings limit how many zones and how much history are kept, with a sepa
This indicator constructs custom multi-bar candlestick visuals and high-low prediction lines directly on the price chart. It aggregates price action across flexible custom timeframe spans using line drawings rather than standard chart bars. Users can adjust th
Delta Volume Candles [LucF] plots replacement candles on the price chart and colors them from delta volume derived with lower-timeframe intrabar data. Users choose body coloring, including polarity or several volume-balance modes, optional gradients, and hollo
Draws supply and demand zones on the price chart from engulfing candle patterns. Algorithm modes range from looser to strict engulfing, with a threshold separating big from small candles. Settings limit how many zones and how much history are kept, with a sepa
This overlay indicator detects tweezer tops and bottoms and kangaroo-tail pin bars, then draws supply and demand zones from those patterns. It scores each zone, decays freshness, merges overlapping zones, and can invalidate a zone after a close-through or afte
Draws supply and demand zones on the price chart from engulfing candle patterns, with a zone invalidated after a set number of level breaches. Algorithm modes range from looser to strict engulfing, and a threshold separates big from small candles. Settings lim
Draws supply and demand zones on the price chart from engulfing candle patterns. A lookback setting decides when a zone is invalidated and a tolerance margin allows small breaches. Algorithm modes range from looser to strict engulfing, with a threshold for big
This simple documentation indicator calculates and plots the cumulative number of green candlestick bars across the chart. It identifies bars where the closing price is greater than or equal to the opening price, then increments a persistent variable on every
This indicator identifies the bearish On Neck candlestick pattern on the price chart. The pattern is a two-bar continuation setup occurring during a downtrend, where a long black (bearish) candle is followed by a small white (bullish) candle that opens below t
Draws supply and demand zones on the price chart from engulfing candle patterns, in a version labelled stable by its file name. A lookback setting decides when a zone is invalidated and a tolerance margin allows small breaches. Algorithm modes range from loose
This script checks whether the current bar closes higher than it opens, representing a bullish green candle. When a green candle occurs, the indicator assigns and plots the closing price in a separate pane; otherwise, it outputs a null value. Designed as a bas
Institutional CRT Engine v5.0 identifies institutional trading setups using Candle Range Theory (CRT) across user-selected session anchor bars in Asia, London, and New York. It plots session range boxes directly on the price chart and monitors for liquidity sw
Indicatorv5SMC / ICT / price actionSessions & time
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.