An indicator on the price chart that draws a ribbon of fifteen EMAs of the high, from 9 to 51 bars, coloured by whether the close is above each one when the energy option is on. A Supertrend variant based on a Keltner-style channel range, scaled by a sensitivi
An experimental strategy that buys a fixed BTC size once a day at 00:45 exchange time within a start and end date window, building a dollar-cost-averaged long. When price is below the average cost, it adds a short hedge sized to match the open long. A selector
This indicator calculates the MACD histogram from the fast and slow exponential moving averages. It plots the MACD line, signal line, and a histogram divergence column on a separate pane. The histogram divergence uses green columns for positive changes and red
This educational script demonstrates how to evaluate bar states in Pine Script v5. It retrieves the status of the current price bar using the built-in barstate.isconfirmed variable to check if a bar has officially closed. When the bar state is confirmed, it pl
The Fisher Standardize Index indicator calculates a standardized price between the lowest and highest values over a user-specified period, then applies the Fisher transformation formula to produce an oscillator value. It plots the resulting fisher_trans in a s
A smoothed moving average drawn on the price chart, a renamed copy of the SAMA script. Prices are clamped inside a narrow standard deviation channel around a short weighted average, then passed through two weighted moving averages, one with an adjustable lengt
This overlay indicator looks for price retracing toward an ICT order block defined from the highest high and lowest low over a set candle period. It marks bullish and bearish touches, with an optional vertical offset that widens the touch zone around the first
Supertrend + RSI Strategy [Alose] combines the classic Supertrend indicator with the Relative Strength Index (RSI) to enter and exit positions on the price chart. Long trades open when the Supertrend is bullish and RSI crosses above 50, while short trades requ
The script defines two functions for Box-Cox array transformations in Pine Script v5. The regular function applies the transformation to stabilize variance using the provided lambda parameter, while the inverse function reverses the process. It demonstrates th
This overlay strategy is built for ES futures on the one-minute chart. It plots a volume-weighted moving average of price opens and standard-deviation bands at Fibonacci ratios, plus a second longer volume-weighted average from a higher-timeframe open. Call an
This strategy calculates momentum signals using MACD crossovers filtered by EMA trend filters and an optional RSI indicator. It enters long and short positions directly on the price chart using customizable percentage-based stop loss and take profit targets. T
An educational indicator from TradingView documentation that demonstrates how to render custom price bars using the plotbar function. It evaluates whether the close is greater than or equal to the open on each bar to determine a bullish or bearish status. Bars
This indicator tracks smart money market structure directly on the price chart. It calculates dual-period swing highs and swing lows to detect Changes of Character (CHoCH), Breaks of Structure (BOS), inducements, and liquidity sweeps. When structural levels ar
This indicator calculates dynamic upper and lower trendlines from pivot highs and pivot lows across a specified bar length. Trendline slopes are derived using ATR, standard deviation, or linear regression methods. It plots trendlines and breakout signal labels
This indicator plots a modified Ichimoku set on the price chart. It builds Tenkan, Kijun, Chikou, and both Senkou lines from a ten-bar average of the open rather than the usual high-low midpoint, then fills the cloud between Senkou A and Senkou B. A green tria
This strategy trades on the price chart from the current bar versus the prior close. It enters long when the bar closes above its open and that open is above the previous close, and enters short when the bar closes below its open and that open is below the pre
This indicator calculates the current bar's high-minus-low range in points, excluding overnight gaps. It then computes a simple moving average of that range over a user-set length and the ratio of the current range to that average. The length input defaults to
Supply and Demand Visible Range identifies supply, demand, and equilibrium zones across the visible chart range. It accumulates high, low, and volume data starting from the leftmost visible bar, optionally requesting lower timeframe intrabar data for finer res
This strategy tracks an opening session time range to establish directional bias and triggers pullback trades using Stochastic RSI. Once price breaks out of the initial range, it establishes a directional bias and enters when the Stochastic RSI crosses over in
Divergenced G003 is a strategy that identifies momentum divergences based on Squeeze Momentum Indicator color transitions to trigger long and short entries. Trades are exited using Curie closing moving average lines or configurable percentage-based stop loss,
This strategy calculates the Ultimate Oscillator in a separate pane from buying pressure and true range over fast, medium, and slow lengths, combined with a four-two-one weighting. It enters long when the oscillator crosses above the oversold level while remai
Calculates individual Relative Strength Index (RSI) values for price open, high, low, and close to render RSI as candlesticks in a separate pane. Users can toggle between candlestick and line displays. It includes customizable overbought and oversold threshold
This overlay indicator builds a Market Profile on the price chart from time-price opportunity letters. It marks the point of control, a value area at a configurable percent, single prints, session VWAP, and the initial balance, and can extend those levels. Use
This indicator identifies dynamic support and resistance levels using pivot highs and lows. It plots resistance and support lines directly on the price chart once pivot points are confirmed. Additionally, it calculates a volume oscillator using 9-period and 26
This indicator plots ICT Silver Bullet setups on the price chart. It marks New York and London session windows, fair value gaps, and optional swing highs and lows. Signals use fair value gap or market structure shift execution, with wick or close breakout dete
Indicatorv5SMC / ICT / price actionSessions & time
Calculates the Relative Strength Index (RSI) and automatically detects regular and hidden bullish and bearish divergences against price movements. It identifies pivot highs and lows in both price and RSI across a configurable lookback window, drawing lines and
This indicator plots multiple exponential moving averages on weekly and monthly timeframes, including 14-period weekly EMA, 8-period monthly EMA, and 14-period monthly EMA. It also displays a Kijun line derived from the midpoint of high and low over 20 periods
Snagprofit WMA MA combines multi-timeframe Weighted Moving Averages (1M, 5M, 15M, and 1H) with a Simple Moving Average filter to assess trend momentum across different time horizons. It plots shape signals directly on the price chart when candle breakouts alig
P-EMA21 plots a 21-period exponential moving average and two smoothed moving averages, defaulting to lengths 21 and 55, on the price chart. It places long and short labels when the EMA crosses either smoothed average. Source, lengths, and a percentage threshol
This indicator overlays five Fibonacci-based exponential moving averages (3, 13, 34, 55, and 144) directly on the price chart, drawing inspiration from Guppy Multiple Moving Averages and Granville rules. It triggers buy signals when the EMAs are stacked in com
Candle Body Wick Alerts identifies candles with minimal or missing wicks based on comparisons between open, high, low, and close values. It checks if the price distance between key levels (such as open and low or high and close) falls within a set tolerance th
The River Strategy with SuperScalper plots custom Bollinger Bands to form a price channel on the main chart overlay. It identifies breakout conditions when price bars clear the channel boundaries to generate entry, stop loss, and multi-tier take profit levels.
This indicator plots a Traders Dynamic Index in a separate pane and scans it for regular and hidden divergences. It builds the index from a smoothed RSI, a signal line, and a longer baseline, then compares price and oscillator pivots over a lookback. Users can
This indicator identifies Tweezer Top and Tweezer Bottom candlestick reversal patterns directly on the price chart. It checks for matching bar highs or lows across consecutive candles while filtering out doji or weak candles based on user-defined threshold per
This indicator computes standard deviation as a proxy for entropy and plots three smoothed, normalized oscillator lines in a separate pane. It calculates fast, medium, and slow simple moving averages of price dispersion, then normalizes each using a Z-score sc
This strategy generates directional trade setups for gold using a blend of triple exponential moving averages, RSI, Stochastic oscillators, and Fibonacci retracement zones. Entries execute under confirmed or scalp modes filtered by M15 trigger levels, wick rej
Smart Money Breakouts strategy is a price-chart overlay strategy that detects breakouts using volume-adjusted swing highs and lows. It calculates candle wicks or bodies, applies ATR-based adjustment for targets, and supports limit-order entries with coefficien
Points is a Pine Script v5 library that stores paired x and y coordinates as two synchronized arrays. It creates empty or sized integer and float arrays, checks that both arrays share the same length, and raises a runtime error when they diverge or when an ind
This strategy identifies pin bar candlestick patterns, specifically hammer and shooting star candles, to trigger trade entries. It detects candle shapes based on a customizable Fibonacci threshold. Signals can be filtered using minimum and maximum ATR candle s
HTF Candles & Pivots projects higher timeframe candle bodies, wicks, and pivot levels directly onto the price chart. It visualizes open-close ranges, high-low ranges, time divisions, and pivot calculations such as Central Pivot Range across automated or manual
A large chart overlay that builds standard deviation bands from relationships between a bar's open, high, low and close, using three timeframes chosen from preset trading horizon profiles or set manually. Visibility toggles control each band pair. The script a
A price-chart overlay that draws Fibonacci-style levels from the first five-minute candle of each day, and separately from the first red five-minute candle. Levels at 0, 0.44, 0.5, 0.56 and 1 of the candle range are drawn as lines, with an optional shaded band
This strategy compares Bollinger Bands and Keltner Channel to detect volatility regimes. It plots the bands and their difference along with the RSI of the difference on the price chart. Entries and exits occur on transitions in the volatility state, controlled
An overlay indicator that captures the high and low of an opening range starting at a configurable hour and minute, then computes the range average and extension levels from it. A 9 and 21 EMA pair is plotted with triangle markers on crossovers. Toggles show o
A strategy that shades a chosen trading session on the price chart and looks for candles whose low sits above the high from two bars back, or whose high sits below the low from two bars back. Entry is placed at the midpoint of the gap, the stop at the signal c
Classifies the market into five regimes using fuzzy-logic scores built from log returns. It estimates a Hurst-like exponent from a variance ratio and measures skewness over a window whose length adapts: the more random the market looks, the shorter the window.
This indicator tracks intraday key levels, premarket ranges, and opening range boundaries on index instruments like XSP. To compensate for missing premarket data on index charts, it streams and scales MES futures data to compute sentiment thresholds and target
A New York session strategy built on the initial balance, the price range of the first hour after the 09:30 Eastern open. It tracks the high and low of that opening window, draws a box, computes an anchored session VWAP and, once the range has formed, scans a
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.