This strategy plots a fast and a slow exponential moving average on the price chart and shades the background by which average is higher. It enters a long position when the fast average crosses above the slow average and closes that long when the fast average
BTMM Comprehensive Risk Management is an overlay indicator that calculates position sizing, stop loss levels, and multiple take profit targets based on the Beat The Market Maker methodology. It supports various stop loss methods including ATR, EMA, Asian Range
MOTO ka AgniAstra is a price-chart overlay that smooths the selected source with a Gaussian window and draws upper and lower bands from a scaled mean absolute error. When repainting smoothing is on, it recalculates the curve across recent bars and marks band c
This strategy plots Fibonacci Bollinger Bands on the price chart. It generates buy and sell signals based on selected Fibonacci ratios (1.618, 2.618, or 4.236) combined with Bollinger Band calculations using a configurable source and length. Trades enter on ma
This indicator marks bullish and bearish engulfing candlestick patterns on the price chart. A bullish signal needs a bullish candle after a bearish candle, a high-low range that covers the previous bar, and a floored body that covers the previous body. A beari
This systematic trend-following strategy executes long trades based on Supertrend indicator flips. Entry occurs when the Supertrend direction turns bullish, provided the date range and optional benchmark filter are satisfied. The benchmark filter verifies whet
This time-based strategy trades overnight holding periods on the New York Stock Exchange, plotting execution labels directly on the price chart. It triggers a fixed long entry ten minutes before the regular session ends at 15:50 New York time. The strategy exe
This indicator plots the Relative Strength Index and Money Flow Index together in a separate pane. It calculates both oscillators using user-defined lookback lengths and price source inputs. Horizontal reference lines mark standard levels at twenty, fifty, and
This strategy overlays a linear regression channel and two moving averages on the price chart. It uses the regression deviation and optional Supertrend ATR filter to qualify direction, and can enter on a moving-average cross when that option is enabled. Long t
Calculates and plots the relative strength of eight major forex currencies in a separate pane using logarithmic price differences across currency pairs. It visually displays relative currency performance using customizable lines, histograms, or dynamic table o
Greeffer's Hedge Mode Study is an indicator that plots multiple EMAs along with Donchian channels directly on the price chart. It calculates EMAs from 8, 17 and 72 periods using higher timeframe data from 240 minutes. The script monitors price action against t
STA Breakout Companion overlays technical analysis tools for swing traders directly on price charts. It plots key moving averages, measures relative strength against a benchmark index like SPY, identifies pivot support and resistance levels, and evaluates brea
This indicator overlays XAUUSD momentum conditions on the price chart. It combines stochastic and RSI thresholds with fast, slow, and trend EMAs, Fibonacci proximity, and pivot support-resistance zones. It scores wick sweeps, reclaim, continuation, volume spik
This indicator detects and draws trendlines, zones, and neutral bands directly on the price chart. It generates long and short breakout signals when price breaches detected trendlines, displaying configurable target and stop-loss lines based on an adjustable r
Alper is a trend-following strategy based on a custom volatility stop calculation using the Average True Range. It tracks price extremes and computes a trailing stop level to determine market direction. When the price trades above the volatility stop, the scri
This strategy calculates MACD, ADX trend strength, ATR, and a rolling VWAP resetting at fixed bar intervals. It plots the VWAP line, stop loss levels, and profit targets directly on the price chart. Long positions enter when MACD crosses above its signal line
This overlay indicator marks market structure on the price chart. It finds swing highs and lows with a configurable pivot length, flags displacement candles whose body exceeds the recent average body by a set factor, and can label breaks of structure. It also
This strategy executes mean-reversion trades using Bollinger Bands combined with a fast RSI oscillator and MACD confirmation. It enters long or short positions when price reaches band extremes during oversold or overbought RSI levels, with optional MACD trend
This strategy is written for Bitcoin and draws on the price chart. It combines moving averages, an SSL channel, ADX, RSI, stochastic, and a volume oscillator with high-volume thresholds to generate buy and sell signals. Users can limit testing to a date range
This strategy overlays Bollinger Bands and Keltner Channels on the price chart alongside an internal KDJ oscillator. It identifies a volatility squeeze when Bollinger Bands contract inside the Keltner Channels. Long entries trigger after price closes below the
This indicator calculates a dual Quantitative Qualitative Estimation (QQE) momentum oscillator alongside Bollinger Bands in a separate pane. It computes smoothed Relative Strength Index values paired with Wilder-style ATR trailing bands across two independent
Multi-Indicator Trading System plots 50-period and 200-period exponential moving averages alongside buy and sell signals directly on the price chart. Signals trigger when a short-timeframe EMA crossover aligns with higher timeframe trend filters from 1-hour or
This indicator plots support and resistance zones on the price chart using Heikin Ashi data. It detects strong bullish and bearish trends by counting consecutive Heikin Ashi candles that meet specific body and wick conditions. Up to 15 support and 15 resistanc
This indicator plots a short simple moving average and a long simple moving average of the close in a separate pane. It marks a buy label and a sell label when the short average crosses above the long average and the chart time falls inside a user-defined UTC
This indicator highlights bars with unusually high trading activity by comparing current volume against a simple moving average. It triggers a detection flag when volume exceeds a user-defined multiple of the average volume and also surpasses an absolute block
Calculates higher timeframe Exponential Moving Averages, Average True Range, and optional RSI momentum filters to determine market regimes. Enters long positions during bullish regimes and allows scaling in through pyramiding as price advances by a user-define
Plots 34-period and 89-period exponential moving averages alongside Smart Money Concept order blocks directly on the price chart. It visualizes bullish and bearish order block zones as customizable boxes, identifies confluence between order blocks and fair val
Relarive Strength Index calculates the RSI oscillator using a configurable source such as close prices, a period length, and an offset value. It plots the RSI line directly on the price chart along with dotted horizontal lines marking overbought at 80 and over
Weekend Trend Trader Overlay plots a 20-bar highest close as a resistance line and a ratcheting trailing stop on the price chart. It reads a chosen index, by default NASDAQ:NDX, on the chart timeframe and compares that close with a 10-bar simple moving average
Combined Candle Counter overlays multiple technical analysis tools directly onto the price chart. It features configurable EMA and SMA moving average presets with automated toggles based on intraday, daily, or weekly timeframes. The indicator draws 52-week hig
Saty Pivot Ribbon plots a three-EMA ribbon on the price chart to show trend direction and dynamic support or resistance. Fast, pivot, and slow exponential moving averages form two colored clouds that switch between bullish and bearish colors. Optional convicti
This multi-functional indicator overlays higher timeframe (HTF) candles directly on the main chart alongside custom pivot points and an anchored Volume Profile. It calculates pivot levels from R5 to S5, Central Pivot Range (CPR), and price range forecasts whil
This indicator plots a momentum-based ZigZag on the price chart from a QQE calculation driven by a multi-timeframe RSI. It marks bullish and bearish ZigZag segments, optional divergence and convergence between price and that RSI, and an optional Supertrend lin
[CBB] MTF Penta RSI Strategy is an overlay strategy that tracks momentum across multiple time horizons using five distinct Relative Strength Index (RSI) calculations: a smoothed 4-period RSI, alongside 14, 30, 70, and 120-period RSIs. It evaluates whether thes
This overlay strategy plots a full Ichimoku set on the price chart: Tenkan, Kijun, displaced Chikou, and Senkou Spans A and B with a colored cloud. It marks a long when a confirmed Tenkan cross above Kijun occurs with price and Chikou above the lines and cloud
The script computes a Nadaraya-Watson kernel regression estimate using a rational quadratic kernel on the input source. It plots the estimate as a line on the price chart. Bullish and bearish color changes occur when the estimate crosses or reverses direction
The script implements a basic moving average crossover trading strategy directly on the price chart. It calculates a 14-period and a 28-period simple moving average (SMA) and plots them as green and red circles. It enters a long position when the fast SMA cros
LevelZ plots key session-based price levels directly on the main price chart. It calculates and displays the open, high, and low of the current regular trading hours (RTH) session, the overnight session high and low, and yesterday's RTH open, high, low, and cl
Impulse marks the start of a two-candle bullish or bearish push on the price chart when the second candle stays beyond a Fibonacci fraction of the first candle's range. It tracks each move's high and low, cancels the setup if price crosses back through the cho
Marks buy and sell signals on the price chart using a 50 and 200 EMA trend filter, an optional weekly trend confirmation, volume spikes against a moving average and RSI levels. Two buy styles can be enabled: accumulation after a bottom, and momentum breakout.
A one-minute strategy for perpetual crypto contracts that buys sharp drops. Entry needs a low RSI on three-minute candles, a price a set percentage below the hourly high, and a fall over two hours. Up to six larger buys can follow lower down a fixed ladder, an
An indicator that highlights imbalances, or fair value gaps, with yellow boxes on the price chart. It looks at three-bar sequences and draws a box where the low of one bar and the high of the bar two candles later do not overlap, in either direction. A strict
A backtest strategy for an Ethereum perpetual futures bot with two modes: a 30-minute signal confirmed on one hour, or a one-hour signal confirmed on four hours. It combines a SuperTrend with a DEMA and an optional ADX filter that blocks new entries in choppy
A forex-oriented overlay that shades up to three trading sessions, by default New York, London and Tokyo, with optional range boxes, trendlines, mean lines, session VWAP and high and low markers for each. It also contains simple price alerts for EURUSD and GBP
This indicator calculates 20-period and 50-period exponential moving averages (EMAs) to identify trend direction and crossover signals. It plots both EMA lines directly on the chart and displays visual shape markers below or above price bars whenever a bullish
A minimal overlay utility that marks one chosen date and time on the chart. When the first bar at or after the selected timestamp appears, it draws a yellow label with price, time and timestamp and sends a JSON alert once per bar close. It has a single input f
A simple example strategy for the price chart that goes long when a 9-period SMA crosses above a 21-period SMA with RSI above 50, and goes short on the opposite cross with RSI below 50. Each entry sends a JSON alert message that includes a passphrase, price, R
Shows a table on the chart that maps a macro stress reading to a capital split across three sleeves: a core equity ETF, a small-cap ETF and a short-term Treasury ETF. Stress is a rolling z-score of the VIX, a credit spread or a custom ticker, with separate ent
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.