This strategy executes trend-following trades based on Supertrend reversals filtered by exponential moving averages. Long trades enter when the Supertrend turns bullish while the close is above the 50 and 200 EMAs. Short trades enter when the Supertrend turns
This indicator is a simple demonstration of Pine Script type casting from official TradingView documentation. It defines a length variable as a float, explicitly casts it to an integer, and uses it to compute a 10-period Simple Moving Average of the closing pr
This indicator plots an exponential moving average and marks momentum-based trade sessions on the price chart. It treats RSI between 45 and 55 as chop and shades the background when momentum is present. Long and short labels appear when MACD crosses its signal
This strategy plots three exponential moving averages on the price chart and trades when they stack in order. It opens a long when the fast average rises above the middle and the middle rises above the slow, the close is above an optional regime average, and v
This strategy combines the Price Moving Average Ratio Percentile (PMARP) with Madrid Moving Average Ribbon concepts to identify overextended price conditions and trend shifts. It calculates PMAR or PMARP across selectable moving average types and a lookback wi
This strategy overlays two exponential moving averages and ATR-based price targets directly on the price chart while calculating the Relative Vigor Index internally. It enters long positions when the RVI line crosses above its signal line during an established
The Smoothed Moving Average indicator calculates and plots a smoothed moving average directly on the price chart. It initializes using a simple moving average over the user-defined length and recursively updates using previous average values to reduce noise an
This overlay strategy tracks the high and low of a user-defined London session and plots the previous session levels as support and resistance. It flags a break beyond a level when price closes past an ATR buffer, then waits a set number of bars for a retest w
Tn Sovereign VIOP Session v6 is an intraday session-filtered trend-following strategy. It generates buy and sell signals based on fast and slow Exponential Moving Average (EMA) crossovers strictly within specified session hours. Trade risk is managed using ATR
A higher-timeframe trend ladder drawn on the price chart. For the 30 minute, 1 hour and 4 hour timeframes it compares a fast simple moving average with a slow exponential one. Optional filters require a rising or falling slope, cascading agreement between the
Gann High-Low Activator plots a trend line on the price chart from simple moving averages of highs and lows. Close above the high average sets a bullish trend and the line follows the low average; close below the low average sets a bearish trend and the line f
This overlay indicator generates buy and sell signal labels on the price chart by combining MACD crossovers with an RSI threshold filter, a 21-period EMA trend filter, and a volume multiplier condition. When a valid signal triggers, it calculates and plots sug
Mirror Oscillator Pro is a custom momentum indicator displayed in a separate pane. It projects mirrored price calculations using recent pivot highs, pivot lows, and a selectable baseline anchor such as Golden Cloud, ATR, Bollinger Bands, or Ichimoku. An RSI ca
This strategy pairs the Vortex Indicator with an exponential moving average trend filter to execute trend-following trades. It initiates a long entry when VI+ crosses above VI- while price trades above the 200 EMA, and a short entry when VI- crosses above VI+
Trailering A004 is an automated trading strategy designed to optimize entry and exit points while minimizing stop loss and maximizing take profit. It calculates signals using high and low closing moving averages and supports strict long or short filtering. The
M&M Trading is an overlay indicator that combines momentum calculations with moving averages and a visual dashboard. It calculates a modified Chande Momentum Oscillator with adjustable multipliers to identify bullish and bearish momentum triggers, optionally c
This indicator calculates the geometric mean of a user-selected source over a lookback window and plots the result on the price chart. It sums the natural logs of positive values, then exponentiates their average. Missing and non-positive values are skipped, a
Trailering B001 is an automated trading strategy designed to generate trade alerts and integrate with Zignaly copy-trading platforms. It utilizes custom moving average bounds (Curie High and Low closing MAs) to gauge price excursions and trigger long or short
MA Trend Percent Target Strategy is a trend-following overlay strategy that executes trades based on price crossovers with a moving average. It supports multiple moving average types, including SMA, EMA, WMA, VWMA, and HMA. Trades enter when price crosses abov
10PreBuyer is a dip-buying strategy that submits limit orders below recent price action using a discounted Hull Moving Average (HMA). It calculates the highest HMA value of high prices over a selected period, multiplied by a percentage discount factor, and pla
This indicator calculates standard MACD line, signal line, and histogram values while evaluating swing high and swing low pivot points on price and MACD to detect divergence. It compares recent pivot levels to identify higher highs, lower lows, and trend state
How To Set Time Ranges is a strategy template designed to demonstrate date and time filtering for backtesting. It calculates fast and slow simple moving averages to trigger long entries on bullish crossovers and close positions on bearish crossunders. Trades a
The strategy calculates the Stochastic oscillator using specified K and D periods, then detects bullish and bearish divergences between price pivots and the D line. Bullish signals occur when price forms lower lows while Stochastic forms higher lows within the
This strategy evaluates price excursion using Curie closing moving averages on the price chart to trigger trades and manage positions. It supports both long and short positions with configurable strategy date ranges and strict mode conditions. Built as an auto
The MACD Signals indicator plots dual Exponential Moving Averages (EMAs) and generates buy and sell signals directly on the price chart based on MACD crossovers filtered by trend context. Users can configure independent EMA and MACD parameter settings for long
A short price-chart indicator that plots a 20 and a 50 period EMA and waits for a pullback after each crossover. After the 20 crosses above the 50, it looks for price to touch the 50 and then prints a buy triangle on the next green-closing candle. After a down
This indicator calculates a finite impulse response filter using Hann window coefficients and plots the smoothed series on the price chart. It weights the selected source with a raised-cosine window over the chosen length and divides by the sum of the weights.
Trailering D002 is an execution strategy template designed for automated crypto trading on price charts. It evaluates High and Low Curie moving average closing lines to identify potential entry conditions across customizable time windows. The strategy manages
This strategy combines a Simple Moving Average (SMA) and the Relative Strength Index (RSI) to generate long trading signals. It enters a long position when price closes above the SMA filter while RSI drops below the oversold threshold. The strategy exits the p
MACD Signals overlays buy and sell labels on the price chart by combining MACD crossovers with RSI conditions. A buy signal is generated when a bullish MACD crossover occurs within a user-defined bar limit after the RSI dips below an oversold threshold, while
A simple moving average crossover indicator drawn on the price chart. It plots an 11-period and a 51-period exponential moving average. A BUY label appears when the fast line crosses above the slow line on a bullish candle, and a SELL label appears when it cro
TN Triple Confirmation Sovereign v6 is a trend-following strategy that combines a 200-period Exponential Moving Average, Supertrend, and Zero-Lag MACD. Long positions enter when price trades above the 200 EMA, Supertrend is bullish, and the Zero-Lag MACD cross
255 EMA Strategy combines an exponential moving average with Average True Range bands and standard MACD crossovers to generate entry signals. Drawn directly on the price chart, it plots the central 255 EMA along with upper and lower volatility envelopes. Trade
This indicator scores price using moving averages, oscillators, or both, then maps the result to buy, sell, and neutral ratings. It compares several simple and exponential averages, a Hull average, a volume-weighted average, and Ichimoku lines with price, and
Trailering E002 is a trading strategy that uses moving average closing lines to optimize entries, take profit levels, and stop loss execution. Applied directly on the main price chart, it tracks price excursion to refine trades and includes date filtering for
MACD Signals with Alert System combines multiple technical indicators into a unified signal and alert generator overlaid on the price chart. It calculates a Hull Moving Average, MACD histogram, three Exponential Moving Averages, Slow Stochastic, and Time Segme
This indicator plots an enhanced version of the traditional Ichimoku Kinkō Hyō on the main price chart. It calculates adaptive Tenkan-Sen and Kijun-Sen lines using dynamic lookback periods adjusted by volume, ATR volatility, and Chikou trend filters. Users can
This overlay strategy audits trend alignment with ADX, directional movement, and three exponential moving averages. A bull stack needs the fast average above the medium and the medium above the slow; a bear stack reverses that order. The audit awards a point f
A multi-indicator consensus strategy that computes combined rating signals from various moving averages and technical oscillators, including RSI, Stochastic, MACD, CCI, ADX, and Ichimoku Cloud. Depending on user configuration, trades are triggered by overall c
Trailering F008 is a reversal strategy and execution template designed to send automated trade signals to Zignaly copy-trading platforms. It generates entry conditions using custom moving average envelopes known as Curie closing lines, aiming to optimize posit
This indicator overlays a Hull Moving Average and three Exponential Moving Averages on the price chart while monitoring signals from MACD, Stochastic Oscillator, and Time Segmented Volume. It tracks trend direction changes, MACD histogram color shifts from bri
The Ichimoku Oscillator indicator calculates conversion line, base line, leading span, and lagging span using specified periods. It plots these values in a separate pane along with an optional EMA overlay. Main settings allow customization of line lengths, ATR
A strategy on the price chart that builds a four-point audit score from a higher-timeframe EMA, fast versus slow moving average, volume against its average, and bar movement against ATR. When the score reaches a minimum, it logs a message and moves through enu
This strategy identifies trend-following entries using a triple exponential moving average alignment and ATR-based exits on the main price chart. Long signals trigger when the fast EMA is above the medium EMA and medium is above slow, accompanied by a close ab
Trailering G010 is a Pine Script v5 strategy that draws on the price chart. It uses Curie closing lines from simple moving averages of an ohlc4 source, with separate high and low lengths, to run long-only and short-only logic at the same time, including an opt
This strategy combines MACD histogram crossovers with a dual moving average cloud to generate long and short trading signals directly on the price chart. It evaluates histogram crossings relative to zero while filtering entries using overall MACD positioning a
This strategy calculates a Volume-Weighted Moving Average Convergence Divergence (VWMA MACD) and its histogram average to generate trade signals in a separate pane. It enters long positions when the MACD histogram crosses above its simple moving average and sh
This Pine Script strategy calculates three RSI indicators with periods 50, 75 and 100 on the chosen source. It computes multiple simple and exponential moving averages on the fast RSI and assigns colors based on changes relative to the slow RSI. Long entries t
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.