Free Support and Resistance Pine Scripts (page 27)
Open-source Pine scripts that draw levels: pivot points, automatic support and resistance, supply and demand zones, Fibonacci and previous highs and lows.
BMoon System Order Block is an overlay indicator that projects Fibonacci price levels and timing zones based on user-selected range points. It features an Auto Fib range calculator alongside an optional Smart Dynamic Engine that evaluates post-range breakout a
Pine v6 overlay indicator that builds volume order block zones from fast and slow EMA crossovers at six sensitivity tiers, from 1000 to 2500 bars. Bullish zones form around the lowest bar and bearish zones around the highest, and zones are removed when price c
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
This indicator draws gold-oriented smart money concepts on the price chart: a higher-timeframe EMA bias, swing break of structure, order blocks, fair value gaps and sweeps of the previous day high and low. A signal needs bias, a sweep, a zone touch and a displ
Pivot Breakout is an intraday strategy that identifies breakout opportunities using standard daily floor trader pivot points. It enters trades when price breaks above the calculated daily pivot, provided the prior daily close was within a defined approach dist
The SMC Market Structure Indicator tracks market structure on the price chart using Smart Money Concepts. It identifies trend points including Higher Highs, Higher Lows, Lower Highs, and Lower Lows, while flagging Break of Structure and Change of Character eve
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
An overlay toolkit for crypto charts that mixes a volume profile and value area, a daily, weekly or monthly anchored VWAP with bands, EMA trend lines, a higher-timeframe EMA bias, and an order flow proxy from lower-timeframe delta, relative volume and cumulati
Jasper Working OB Strategy is an indicator that detects bullish and bearish order blocks (OB) from fair value gaps and displacement conditions. It stores the OB zones on the chart and maintains persistent memory of touches to these zones. Reversal signals trig
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
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
This long-only strategy automates staged entries and exits based on Bitcoin all-time high drawdowns and percentage gains. It scales into positions across five configured percentage drop levels from the highest recorded price. Profit taking occurs in five parti
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
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,
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 strategy plots on the price chart and looks for confirmed pivot highs and lows using left and right lookback bars. It opens a long position when a pivot low is confirmed and a short position when a pivot high is confirmed. Position size defaults to the fu
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
A strategy-type script for the price chart that plots the high, low and midpoint of the first part of each session, using end hour and minute inputs, and marks those bars. It adds pivot-based support and resistance lines with left and right bar counts, labels
This indicator calculates a multi-timeframe moving average using Simple, Exponential, Hull, Volume Weighted, or Weighted moving average types. It computes the logarithmic distance between the asset price and the selected moving average to determine extension.
Ichimoku-combo plots a modified Ichimoku Kinko Hyo system directly on the main price chart. It calculates the conversion line, base line, lagging span, and leading spans 1 and 2 using Donchian midpoints. The script features an adjusted base line period of 21 r
This overlay indicator finds pivot highs and lows on the price chart and compares the last two highs and the last two lows. When the percentage difference between a pair is below the Equal HL threshold, it treats them as equal levels and draws a box. Left and
AI Trend is an indicator that plots pivot points, trend lines, and support and resistance levels directly on the price chart. It marks high and low pivots based on user-defined length, draws trend lines that check for violations at specified points, and identi
This indicator identifies local swing highs and swing lows to construct a Zig Zag pattern on the main price chart. It evaluates pivot points based on a customizable number of surrounding left and right bars. Using persistent variables, the script tracks previo
This overlay indicator plots option strike walls and an optional session VWAP on the price chart for SPY or ES. It spaces major strikes by the selected instrument, draws a set number of strikes on each side, and marks wall-trap and sweep events after a cooldow
This indicator plots the Commodity Channel Index in a separate pane and surrounds it with a Donchian channel whose lookback length changes with volatility. It measures volatility as a ratio of short and long ATR values, then ranks that ratio and shortens or le
This indicator marks forex trading sessions and opening ranges on the price chart. It can draw Sydney, Tokyo, Frankfurt, London, and New York session boxes or five- and fifteen-minute opening ranges, plus an optional opening channel and a day-open range. Day r
The Ichimoku Cloud indicator plots key components of the traditional Ichimoku Kinko Hyo system directly on the price chart. It calculates the Conversion Line over 9 periods and the Base Line over 26 periods using Donchian midpoints. It projects Leading Span A
Fibonacci Auto Buy/Sell Signals calculates dynamic Fibonacci retracement levels (0.236, 0.382, 0.5, 0.618) and extension levels (1.618, 2.618) based on 50-period swing highs and lows. It plots dotted retracement and extension lines directly on the price chart.
This Pine Script indicator identifies market structure pivots and plots a ZigZag line on the price chart. It calculates high and low pivot points using built-in pivot functions based on a configurable pivot strength input. When a pivot high or low is confirmed
This indicator plots the initial balance high, low, midpoint and optional Fibonacci levels for a user-defined session on the price chart. It tracks a separate break session and includes settings groups for extension lines, percentile lines and tables. Users ca
This overlay indicator builds trend ranges from a Donchian midpoint. It takes the highest high and lowest low over a user length, averages them, and holds that basis until the midpoint changes. When the basis updates, it sets a range from the close standard de
HTF Statistical Zones plots historical percentile bands around the 18:00 New York day open, plus session boxes, opening-range lines, and projected targets on the price chart. Upper and lower day zones use selectable inner and outer percentiles, with optional p
This indicator marks paper umbrella candles on the price chart. It flags a green or red pattern when the upper wick is small relative to the body side and the body thickness stays between set minimum and maximum percentages of the range. On a match it draws a
This intraday overlay establishes directional bias and high-conviction swing setups for SPY on the 15-minute timeframe. It computes a weighted confluence score combining an EMA ribbon, a 50 EMA anchor, session VWAP bands, RSI divergence, ADX, TTM Squeeze, cand
This indicator draws custom higher-timeframe period separators and opening price horizontal lines directly on the price chart. Users can select the target timeframe, such as monthly, to display vertical separator lines alongside a horizontal line marking the h
TPCharts ADR calculates average daily, weekly, monthly and yearly ranges from a simple moving average of prior high-minus-low ranges. It projects each range into high and low levels, draws those levels as lines on the price chart, and labels the pip or tick di
Auto Trendlines calculates support and resistance lines by identifying confirmed pivot highs and lows over a specified lookback window. It validates trendline candidates using ATR-based touch tolerances, touch counts, line spans, and max violation thresholds.
This indicator tracks swing highs and swing lows to generate trend-following trailing stop levels on the price chart. When the closing price breaks above the previous swing high, the system establishes a bullish state using the recent swing low as a trailing s
This indicator tracks and visualizes the initial balance range over customizable trading sessions directly on the price chart. It plots the high, low, and midpoint of the opening balance, with optional session extension levels, an anchored VWAP, and shaded hig
This indicator draws up to three named forex sessions on the price chart, defaulting to London, New York and Tokyo in a chosen timezone. Each session can show a shaded history box, dashed borders, optional Fibonacci levels and an opening range. Users set sessi
TheStrat Suite classifies real OHLC bars with Rob Smith's TheStrat method and draws labels, targets, and stop levels on the price chart. It detects inside bars, hammers, shooters, outside bars, and Failed 2 range reclaims, then shows magnitude and exhaustion t
The Linear Regression Channel indicator calculates the middle line via linear regression on a user-selected source over a configurable length. It plots upper and lower channel bands using a deviation multiplier and draws these lines directly on the price chart
This overlay strategy is framed as an ICT and smart-money confluence tool. Its settings filter trades with a higher-timeframe bias, an optional trend EMA, swing structure, equal highs and lows, order blocks, and fair value gaps. Confirmation can require a CRT
Liquidity Sweep Reversal Strategy [Lab] identifies potential price reversals following liquidity sweeps of previous high or low levels. A bullish setup occurs when price sweeps below a prior low and closes back inside, while a bearish setup occurs when price s
This indicator calculates rolling quartiles and interquartile ranges (IQR) across a customizable lookback window, plotting a statistical box plot offset to the right of the chart. It identifies the 25th, 50th (median), and 75th percentiles along with standard
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.