This indicator tracks and plots market breadth data for major stock market indices such as the S&P 500, Nasdaq, Dow Jones, and Russell indices in a separate pane. It fetches external market breadth metrics showing the percentage of stocks trading above various
This indicator plots short and long simple moving averages directly on the price chart. It generates Buy and Sell labels when a crossover or crossunder occurs between the two moving averages. Signals are filtered to execute only within a user-defined daily UTC
The Elder Force Index indicator calculates efi as the EMA of price change times volume with a configurable length. It then plots the difference between efi and its 9-period SMA as colored column bars in a separate pane, with positive values colored up and nega
The MarketSmith Indicator enhances price action visualization by applying custom candle coloring and overlaying configurable moving averages on the main chart. Bar colors can be based either on the bar open relative to close or on the price relative to the pre
This indicator calculates the MACD oscillator using fast and slow moving averages by default, plotting the MACD line, signal line, and histogram in a separate pane. The histogram changes color based on growth or decline above or below zero to signal momentum s
Calculates the standard Moving Average Convergence Divergence oscillator, signal line, and histogram in a separate pane. Users can choose between Exponential Moving Average (EMA) and Simple Moving Average (SMA) for both the oscillator and signal line calculati
This strategy detects bullish and bearish engulfing candles, hammers, shooting stars, and morning stars from current and prior bar bodies. It enters long when a bullish pattern occurs while price is below a simple moving average, and short when a bearish patte
I_extremes plots a collection of built-in extreme, pivot, ranking and statistical series in a separate pane. It draws 20-bar highest and lowest values, pivot highs and lows, value-when and bars-since results, and flags for close crossing a 20-period simple mov
This indicator overlays two exponential moving averages (defaults 50 and 200) alongside scaled volume moving averages on the price chart. It calculates volume momentum via RMA and On-Balance Volume (OBV) compared to its EMA. The script highlights trend changes
An overlay indicator that combines a Hull-style moving average, selectable as HMA, EHMA or THMA, with pivot-based support and resistance lines and optional labels. It builds alert messages in JSON for a broker webhook, including action, price, quantity, order
This strategy identifies long and short pin bar candlestick patterns aligned with trend conditions defined by an Exponential Moving Average (EMA) and an Average True Range (ATR) filter. Long trades enter when an uptrend is active, price is near the EMA, and a
This indicator plots a 14-period relative strength index of the close and a 21-period exponential moving average of the close in a separate pane. The RSI series is drawn in purple and the EMA series in blue. There are no user inputs, so both lengths stay fixed
This strategy template provides a modular foundation for building TradingView v6 backtests. It uses a placeholder Exponential Moving Average crossover signal combined with customizable filters for higher-timeframe trend alignment, volatility regime thresholds,
A strategy that draws a triple Hull moving average cloud and up to five TRAMA adaptive average clouds on the price chart, each with its own length, delay and timeframe. Only the Hull and first TRAMA clouds are on by default. It includes ATR-based position sizi
A price-chart indicator that stacks a 21, 50 and 200 EMA ribbon with a Supertrend line and an ATR-based volatility stop. On-balance volume trend and a volatility-percentile regime feed a scoring step, and a multi-timeframe heatmap table shows the combined read
This long-only trend strategy trades only while price is above a 200-period SMA that is also rising. It enters when price crosses back above a 20-period EMA after a pullback within that uptrend, and exits on an ATR-based chandelier trailing stop that ratchets
An indicator that combines Heikin-Ashi candle recognition, doji detection and four smoothed moving averages with lengths of 21, 50, 100 and 200. It can show entry signals, trade levels, background colours and a statistics table, with a risk-to-reward ratio and
The MRM Scanner is a multi-symbol technical analysis tool that scans a user-defined watchlist of up to 20 stock symbols. It calculates a cloud from 144 and 169 EMAs along with Fibonacci retracement levels based on swing highs and lows over a configurable lookb
EMA Channel Reversal is a strategy that plots a 200-period EMA channel built from highs, closes and lows, plus fast and slow momentum EMAs with an optional glow. Entries follow a tracked sequence of breakout, momentum confirmation and pullback, with an alterna
The If Wrapped Subexpression Condition strategy is an exponential moving average crossover trading model. It calculates an 8-period fast EMA and a 21-period slow EMA from closing prices. The strategy executes a long entry when the fast EMA crosses above the sl
This overlay plots a four-length exponential moving average ribbon and classifies trend on the price chart. It marks strong bullish when the 21-period average is above the 50 and 200 with a positive short slope, strong bearish when that stack is reversed, and
This long-only strategy combines 9, 21, and 200 EMAs with a Daily 50 EMA macro trend filter. It enters trades when the fast EMA crosses above the slow EMA while MACD is positive, price is above trend EMAs, and ADX confirms sufficient trend strength. Exits are
High Margin Pro is a long-only chart strategy. It plots a 50-period EMA, a 200-period EMA, and a 60-minute 200-period EMA. A long entry requires the fast EMA above the slow EMA, price above the higher-timeframe EMA and within one ATR below the fast EMA, an RSI
A long-only strategy that reads Bitcoin daily closes through request.security and compares them with a 30-day simple moving average widened by a slippage percentage. It buys when Bitcoin falls below the lower offset line and closes the position when Bitcoin ri
BTC ATH Golden Cycle is a Bitcoin-focused strategy script that plots time-based halving cycles, supply and demand zones, a ZigZag indicator, a Rainbow ribbon, and an Ichimoku Cloud directly on the main price chart. The script models historical and projected BT
This strategy executes trades based on dual Simple Moving Average (SMA) crossovers while managing risk through a dynamic trailing stop. It enters a long position when the fast SMA crosses above the slow SMA, and a short position when the fast SMA crosses below
The Multi-Symbol Dashboard indicator overlays a customizable panel on the price chart to monitor up to six cryptocurrency symbols at once. It displays RSI, MACD histogram, EMA values, percentage price change and volume data fetched via request.security for sym
This long-only strategy calculates fast and slow moving averages to generate trend-following trade signals. It enters a long position when the fast moving average crosses above the slow moving average, and closes the trade when a bearish crossover occurs. Movi
This strategy plots on the price chart and uses daily EMA crossovers to generate signals for opening long positions in crypto trading. It activates between user-defined start and end dates and enters long trades when the fast EMA exceeds the slow EMA with bar
This strategy calculates the TOTAL MTPI using a combination of multiple indicators including Trend Sniper, EMA, MAMA, Kijun Sen, Supertrend and others to determine the overall direction of the cryptocurrency market cap index. It signals long entries when the c
This strategy uses two simple moving averages, 10 and 20 periods by default. It enters long when the fast average crosses above the slow one and enters short on the opposite cross. Each trade is paired with an ATR-based stop loss and take profit, using separat
A simple long-only strategy for the price chart built on two simple moving averages. It buys when the fast average crosses above the slow one and closes the position when the fast crosses back below. A stop loss and a take profit, entered as numeric inputs, ar
This indicator detects a selectable set of candlestick patterns and plots them on the price chart. Fast and slow simple moving averages provide a trend context for pattern interpretation. Users can turn individual formations on or off, including doji variants,
This indicator compiles multiple technical components starting with the UCS Stochastic Momentum Index into a composite indicator framework. It calculates range baselines and nested exponential moving averages to evaluate momentum across multiple smoothed stage
This Pine v5 strategy compares a 20-period EMA with a 50-period SMA. It enters long when the EMA is above the SMA and short when below, and also contains a second set of pullback entries and crossover-based closes. The code mixes two overlapping rule sets, so
This indicator plots daily Bitcoin hash-rate short and long simple moving averages in a separate pane. It marks capitulation when the short average crosses under the long average, miner capitulation while it stays below, recovery while the short average rises,
This indicator plots four customizable moving averages directly on the main price chart using default lengths of 3, 8, 21, and 50 periods. It fills the space between adjacent averages in green or maroon depending on trend alignment. Additionally, it computes B
This strategy calculates dynamic support and resistance levels using pivot highs and lows alongside a custom smoothed trend filter and a 3-period EMA. It identifies entry opportunities when price breaks out relative to the trend filter and short-term EMA cross
This indicator plots Ichimoku Cloud elements on the price chart, including Tenkan-sen, Kijun-sen, Senkou Span A and B lines with optional Chikou Span. It signals trend changes via Tenkan-sen and Kijun-sen crosses and places arrows at Kijun-sen direction shifts
This educational indicator calculates 20-period and 60-period Simple Moving Averages (SMA) directly on the price chart. It detects bullish golden crosses and bearish death crosses between the two averages, marking occurrences with chart labels below or above b
This indicator trains a single-neuron artificial neural network (perceptron) on each bar to classify price movement and plot an adaptive moving average on the main chart. It evaluates historical sample data to iteratively adjust weights using a step activation
This strategy overlays moving averages on the price chart to generate long and short trade signals compatible with 3Commas bot automation. It sets stop losses relative to recent swing pivots buffered by an ATR multiplier, while exits are handled by a risk-to-r
This overlay strategy combines a machine-learning distance model with a MACD oscillator to open trades on the price chart. It compares recent history using cosine similarity or Euclidean and Lorentzian distance, then filters direction with selectable moving-av
The Adaptive Price Zone indicator calculates volatility bands around a double-smoothed exponential moving average baseline directly on the price chart. It calculates internal smoothing factors using the square root of the user-specified period, double-smoothin
Moon Dev SMA Ribbon 20/40 calculates two simple moving averages (default 20 and 40 periods) and overlays them directly on the price chart. The space between the moving averages is filled with a dynamic gradient that adapts in color and transparency based on tr
This strategy evaluates simple moving averages and the Relative Strength Index to generate trading signals. It calculates a 10-period SMA, a 30-period SMA, and a 14-period RSI. Long positions are entered when the fast SMA crosses above the slow SMA while RSI i
This strategy combines an EMA ribbon with MACD confirmation and plots in a separate pane. It enters when ribbon alignment, optional MACD zero or signal crosses, volume, smart-money, and multi-timeframe filters agree, then exits with percentage stop loss and ta
This strategy trades EUR/USD on the price chart using a fast and slow exponential moving average crossover filtered by RSI. It enters long when the fast EMA crosses above the slow EMA while RSI is above 50 and below the overbought level, and enters short on th
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.