This strategy couples a moving average crossover with external macroeconomic data imported via request.seed. It calculates a 20-period SMA on the fetched macro metric to identify Risk-On, Risk-Off, or Neutral market regimes. Long entries trigger when the 12 EM
Recursive Moving Trend Average (RMTA) is an overlay indicator that calculates a recursively smoothed moving average line to track market direction. It computes a secondary recursive variable using an exponential smoothing factor derived from the user-selected
This script plots three moving averages on the price chart: a fast EMA or SMA with 10 periods, a slow EMA or SMA with 20 periods, and a trend EMA or SMA with 100 periods. It signals trend changes by drawing a white cross when the fast moving average crosses ab
The Automatic Moving Average strategy computes an adaptive moving average by dynamically adjusting its length based on price touches against candle wicks and bodies. It applies Exponential Moving Average smoothing to define trend direction and plots a color-co
The Game Theory EMA Strategy combines triple Exponential Moving Averages with game theory modeling to generate trade entries on price charts. It evaluates buyer and seller momentum alongside volume weighting to compute expected utility metrics and Nash equilib
This strategy plots three exponential moving averages on the price chart and opens long trades when those averages stack upward, price closes above the shortest average, and a smoothed stochastic RSI has K above D. It also requires a rising bullish candle on a
This strategy trades USD/JPY on the price chart. It enters long when a fast EMA crosses above a slow EMA and short when the fast EMA crosses below, but only during the Tokyo or London sessions in GMT. Each entry places an ATR-based stop loss and take profit us
This indicator plots a normalized Elder Force Index in a separate pane. It calculates the Elder Force Index as an EMA of the prior close price change multiplied by volume, smoothed over the input length. The result is normalized to a 0-100 scale using the high
The Regularized Exponential Moving Average (REMA) is a technical indicator that applies a regularization factor to the standard EMA formula to reduce lag and filter out market noise. It calculates a smoothed line using a specified length, price source, and reg
3 EMA/SMA + Cross Strategy is a trend-following overlay strategy that identifies entry points using fast, slow, and trend moving averages configurable as either EMA or SMA. It checks for recent crossovers between fast and slow averages while ensuring price tra
Calculates three Exponential Moving Averages (short, intermediate, long) alongside Stochastic RSI to identify short trade entries. A short position opens when the EMAs align in a downward trend, Stochastic K crosses below D, and a bearish price bar closes belo
This strategy generates trading signals using a dual exponential moving average cross confirmed by the Relative Strength Index. It restricts entries to specific market session hours (09:30-18:15 UTC+3) designed for Turkish VIOP index futures. Long positions en
This strategy generates long trade entries when a short exponential moving average crosses above a long exponential moving average. It features comprehensive position management tools including an ATR-based stop loss, a maximum percentage loss threshold, a pro
This strategy stores a rolling matrix of RSI, ATR relative to price, and rate of change, together with each bar’s close direction. It averages outcomes from historical rows inside a fixed distance and treats that score as confidence. It enters long when confid
This educational script demonstrates how to use the switch control statement in Pine Script to select between different moving average calculation types. It calculates a 10-period moving average based on user configuration, allowing selection between Exponenti
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi
Calculates the Derivative Oscillator by applying double exponential moving average (EMA) smoothing to a Relative Strength Index (RSI) baseline and subtracting a simple moving average (SMA) signal line. Plotted in a separate pane alongside a zero reference line
This indicator calculates and plots a Kaiser Window Moving Average directly on the price chart. It applies a symmetric finite impulse response filter using the Kaiser-Bessel window function, powered by a 25-term power series approximation of the modified Besse
This strategy trades Turkish VIOP BIST 30 futures on the price chart. It opens positions when a fast exponential moving average crosses a slow one, but only while chart time falls inside the 09:30 to 18:15 UTC+3 session. Stop loss and take profit distances are
This strategy executes long positions based on a fast and slow exponential moving average crossover. It manages open positions using an ATR-based stop loss, an optional maximum percentage loss floor, a percentage-based profit target, and a dedicated management
Calculates and plots a customizable moving average alongside trailing ATR bands, forming the Profit Maximizer trend-following framework. It supports multiple moving average algorithms including EMA, ZLEMA, VAR, and TSF, alongside configurable ATR multipliers.
This overlay strategy builds a smoothed price source from expanded candle and Heikin-Ashi inputs using AMA, T3, or Kaufman's adaptive moving average. The Kaufman path can adapt with a Jurik fractal dimension, and a Garman-Klass-Yang-Zhang volatility filter can
Calculates and plots the Detrended Price Oscillator in a separate pane to identify short-term price cycles. The indicator removes longer-term trends by subtracting a historical simple moving average, displaced back by half the period plus one bar, from the cur
The Kalman Filter (KF) calculates a recursive state estimation to smooth price data and reduce noise on the main chart. It continuously updates state and error covariance estimates by balancing process noise against measurement noise via the Kalman gain. Users
Ruckard AndresAristizibal Joya D003 is an automated crypto trading strategy that evaluates entry and exit signals using a combination of Trend Indicator A-V2, Supertrend, and QQE Mod, alongside customizable Curie closing moving average filters. The script exec
This indicator plots a zero-lag EMA center line with ATR bands on the price chart. It marks bullish or bearish mode after closes stay beyond a band for a set number of bars and the center line slopes that way. Confirmed buy and sell labels appear only after th
This indicator analyzes trading volume in a separate chart pane by plotting raw volume histogram bars alongside a simple moving average of volume and On-Balance Volume (OBV). It identifies unusually high volume bars where volume exceeds the moving average mult
This strategy overlays three Simple Moving Averages, one Exponential Moving Average, and a dynamic trailing swing line directly on the price chart. It determines market direction by tracking recent highest highs and lowest lows over a customizable swing period
This strategy plots period high and low breakout bands on the price chart and trades breaks of those bands. It goes long when price closes above the upper band while that band is above a simple moving average, and short on the opposite setup. Position size is
This indicator serves as a simple demonstration and test fixture for Pine Script v6 custom enum structures. It allows users to select a moving average type—Simple (SMA), Exponential (EMA), or Weighted (WMA)—from an enum drop-down menu alongside a configurable
This strategy calculates a composite rating from a TechnicalRating library using moving averages and oscillators. It plots signals directly on the price chart. The ratingSignal setting selects which components to base the signal on: MAs, Oscillators, or All. W
This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre
This long-only strategy trades intra-range mean reversion using standard or augmented Bollinger Bands overlayed on the main price chart. It triggers long entries when price dips below the lower band, provided the band spread stays within a defined threshold. E
This strategy executes trades based on price crosses over dynamic swing breakout levels filtered by a baseline moving average. It plots three simple moving averages and an exponential moving average directly on the price chart alongside buy and sell arrows. Lo
Trend #4 - ATR+EMA channel is a strategy that plots ATR bands, a blue Keltner-style channel, and a red EMA on the price chart. It generates long entries when price crosses above the blue channel and red EMA with zero position, using position sizing based on st
Plots up to five configurable moving averages directly on the price chart. Users can individually select the period and calculation type for each line from EMA, SMA, HMA, WMA, DEMA, VWMA, or VWAP. A master setting enables overriding all moving average types at
This Pine Script v6 indicator defines helper functions for value transformation and calculation. It includes double which multiplies by two, add which sums values with optional second argument, clamp which bounds a value between low and high, smooth which appl
This indicator computes conditional moving averages by calculating weighted averages of closing prices positioned above or below the main simple moving average. It dynamically adjusts the color of the main MA line between green and red based on distance ratios
This strategy plots Bollinger Bands on the price chart with adjustable length, standard deviation, and offset. It defines buy and sell zones using candle size percentage and body size thresholds. Long positions enter when the lower zone is breached without con
This overlay indicator combines a Delta-RSI oscillator with three exponential moving averages on the price chart. It fits RSI with a polynomial over a rolling window, then marks buy and sell labels when the chosen condition occurs: zero crossing, signal-line c
This indicator calculates and plots a standard Keltner Channel directly on the price chart. It generates an exponential moving average middle line alongside upper and lower bands spaced by an Average True Range multiplier. The implementation features warm-up c
This strategy uses two EMAs with a trend filter to generate crossover signals on the price chart. It applies game theory validation through Nash equilibrium detection and expected utility calculations based on RSI and volume. Trades enter on confirmed crossove
This indicator identifies price action reversal setups by combining candlestick patterns with Exponential Moving Average (EMA) trend filters. It calculates two customizable EMAs (default 10 and 20 periods) and fills the area between them to form an EMA cloud.
This indicator calculates a Pascal Weighted Moving Average using coefficients derived from Pascal's triangle as weighting factors across a finite impulse response window. It dynamically handles the warmup period from the first bar by adjusting weights to avail
This overlay indicator combines a six-line zero-lag RSI stack with EMA trend filters and smart-money structure checks. It marks USI flip long and short signals when the RSI lines stack, optional volume and bar-close filters pass, and optional stack or slow-tre
Continuous Price Curve Offset plots nine projected curve levels directly on the main price chart. The indicator measures a user-defined time range to calculate the price height and candle count, then constructs a moving average baseline. Multipliers based on g
The Spencer 15-Point Moving Average is a technical indicator that applies Spencer's 15-point smoothing algorithm to financial price data. It calculates a weighted average across 15 historical periods using predefined symmetric weights designed to smooth noise
This strategy plots a 50-period and a 200-period simple moving average on the price chart and trades their crosses. It opens a long when the fast average crosses above the slow average and closes that long on the opposite cross; shorts use the reverse crosses.
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.