This strategy enters long positions when price trades above a higher-timeframe exponential moving average and momentum conditions are clear. It avoids new entries during volatility caution periods, which trigger when pullbacks exceed specified Average True Ran
This strategy calculates the built-in Supertrend indicator using customizable ATR length and factor multiplier parameters, plotting the trend lines and colored fills directly on the price chart. It executes a long order when the Supertrend direction flips to b
This trend-following strategy plots an 8-period WMA on close prices, a 10-period WMA on open prices, a 100-period Hull Moving Average, and a VWAP EMA overlay on the price chart. It enters long when the fast WMA crosses above the slow WMA while above the HMA fi
Mini-Project is a multi-indicator trading strategy that overlays technical indicators directly on the price chart. It provides modular components including Linear Regression, the Relative Strength Index (RSI), MACD, Parabolic SAR, and Supertrend. Users can tog
This Pine Script v5 strategy calculates ATR-based trailing stops for crypto trading on the price chart. It defines a long stop as the highest close minus ATR times multiplier and a short stop as the lowest close plus ATR times multiplier. The script dynamicall
This strategy plots a Supertrend line on the price chart and colors it green in an up direction and red in a down direction. It also marks direction changes with arrows below the bar. Entries come from a separate moving-average rule: a long when the 14-period
This strategy identifies trend changes using fractals from a higher timeframe and the current chart timeframe. It opens buy or sell orders on breaks of lower-timeframe fractals aligned with the higher-timeframe trend. Normal trading mode exits on trend reversa
This strategy identifies overbought conditions in uptrends for long entries. It calculates RSI with 14 periods, 50 and 200 period SMAs, ALMA smoothed close, and Stochastics with customizable K D and smooth periods. Entries occur when RSI exceeds 70 price excee
A strategy version of the killzone sweep idea. In the Asia, London, New York AM and PM windows it waits for the previous killzone's high or low to be swept and reclaimed, then enters on the close with a stop just past the wick and a fixed point target for ES o
A long-only daily strategy for crypto that buys short-term dips inside an uptrend. It requires the close above a long EMA, a medium EMA above the long one, an optional Bitcoin trend filter, and a very low three-period RSI. Entry is at the next open. The stop i
A research strategy for the price chart, meant for a five-minute chart with Moscow time. It measures the price move between two time points of the same day, and if the move exceeds a threshold it opens a position at the end of the second slot, either with the
A long-only strategy that buys stocks after the daily 14-period RSI closes below an oversold level, optionally only above the 200-day average and in a bullish market regime based on an index and VIX. Trades close after a set number of days or earlier when the
A strategy template that enters long when a fast EMA crosses above a slow EMA while price is above a higher-timeframe EMA, and short on the opposite setup, optionally limited to a session window. Entries happen only on a confirmed bar with no open position. Ea
A long-or-cash strategy that holds a position only when two conditions agree: the close is above a 100-bar simple moving average and above the close from 20 bars earlier. Otherwise it stays in cash. By default it requests daily bars whatever the chart timefram
A simple strategy built to feed a server with alert data. It plots a fast and a slow EMA, 12 and 26 by default, goes long when the fast crosses above the slow, and on the opposite cross closes the long and opens a short. There is no stop loss or take profit, s
A long-only strategy that buys dips and never sells during the test. A buy needs a lower Bollinger Band touch, by default with a close below the midline, plus a MACD or Impulse MACD crossover. Position size is a percent of equity or a fixed cash amount per buy
A strategy that combines four engines into one signal: a Z-score regime classifier, a weekly midline heat score, an exhaustion detector for absorption and climax bars, and a synthesizer that weighs them using confidence thresholds. Entries and exits appear as
A backtest strategy for an Ethereum perpetual futures bot that must run on the 30-minute chart. It uses a SuperTrend on the chart timeframe together with a DEMA from a higher timeframe to set direction. Position size comes from either a fixed or percentage ris
A short-only daily strategy for E-mini S&P futures, the mirror of the long version. It enters short when the 200-period SMA is falling, the candle is bullish and the whole bar sits above the 5-period SMA, and it closes the position when price closes below the
Advanced Trade Metrics is an overlay breakout strategy that uses a 20-bar Donchian channel to generate trade signals. It opens long positions when the closing price breaches the prior 20-bar high and short positions when it drops below the 20-bar low. Position
A simple long-only strategy that buys when the RSI rises above a chosen level, 70 by default, and closes the position when the RSI crosses back below that level. The RSI length and the level are adjustable. The RSI line and the level are drawn in a separate pa
A strategy that defines a 30-minute range, waits for a breakout, then looks for a retracement into a configurable percentage band before entering on a lower-timeframe trigger. The range can be each closed 30-minute candle, the session opening range, or a matur
An earlier Pine v6 version of a day trading research strategy for crypto charts. It combines RSI, Fibonacci Bollinger Bands, trend moving average, Ichimoku, pivot support and resistance, candlestick and chart pattern modules into a weighted score. A trading se
A strategy that combines optional multi-timeframe moving average trend filters, SuperTrend, linear regression, VWMA, volume and higher-high structure checks to trigger entries on crypto spot pairs. Risk is set with a swing-low stop and a take profit at a chose
A long-only strategy for the price chart that pairs a lower timeframe with a higher one, selected by a volatility mode: 10 and 45 minutes, 15 and 75 minutes, or 30 and 120 minutes. It buys when price crosses above the 20 EMA with RSI above 52 while price is ab
A long-and-short trend strategy on the price chart that uses a fast and slow EMA pair with a momentum window to decide direction. Position size is scaled to a target annualised volatility using realised volatility, with a maximum leverage cap. Exits use an ATR
This strategy identifies bullish and bearish Pin Bar or Engulfing candlestick patterns interacting with Fibonacci levels calculated from a 1,440-bar lookback range. It enters long or short positions when a valid candlestick pattern crosses a Fibonacci level. E
A Bitcoin strategy that enters long or short when price, a fast and slow EMA and a 50-period SMA trend filter agree, RSI sits inside a set band, MACD line and histogram point the same way, and volume is near its average. Each trade gets an ATR-based stop and a
This strategy defines opening range breakouts within Asian, London and New York sessions using ATR-based width and buffer filters. It identifies potential entries on breakout after a retest followed by continuation, applying ICT-style context and SMC proxies f
A long-only strategy ported from a bot, intended for five-minute crypto charts. It buys dips when a reversal candle appears, a three-day trend gate is satisfied, and one of three paths holds: Z-score with RSI, Z-score with the lower Bollinger Band, or RSI with
A strategy that records the pre-London high and low, 06:00 to 08:00 UTC by default, and trades breakouts of that range after the London open. Targets are a multiple of the range width, trades per day are capped, and positions close at a set exit hour. Range bo
A strategy that scores long and short setups from a three-EMA trend alignment, an RSI position above or below 50 and a volume spike above its 20-bar average. A trade opens when the score reaches a confidence threshold input. Each entry has an ATR-based stop an
A second version of an index-oriented strategy that uses TRAMA adaptive moving averages with short and long lengths, a hold percentage and a hedge percentage. It can add an RSI slope filter on a chosen timeframe and an optional Turtle-style mode that adds to p
A Pine v6 backtest strategy for the New York opening range on index futures. It marks the 09:30 to 09:45 range, then looks for a break by wick or close, a return inside the range, and a close across session VWAP in the opposite direction before entering. Stop
This strategy plots the Donchian Channel bands on the price chart to identify breakouts. It enters a long position by placing a buy stop order when price breaks above the upper band during a target execution hour. The order remains open until filled or cancele
This strategy looks for pullbacks to the 21 EMA while the 21, 50 and 200 EMAs are stacked in trend order, with shorts enabled and longs switched off by default. Entries are screened by ADX, RSI range, volume against its average, candle body size, an ATR floor,
This is a synchronised build of a basket strategy that places a stop entry just beyond the close of a confirmed signal candle, for 10 lots, inside a trading session. Take profit and stop orders are armed together with the entry so same-bar touches execute corr
Gold Dominator Pro is an overlay strategy aimed at gold. It reads a higher-timeframe trend from three exponential moving averages and includes RSI, MACD, Stochastic RSI, ADX, ATR, and volume settings. Optional session, equity-curve, and maximum-drawdown guards
A Pine v5 strategy version of a candle and moving average indicator. It draws four smoothed moving averages (21, 50, 100 and 200), a trend fill against the 200 average, three line strike markers and engulfing-style candle markers, and can shade a time-zone tra
PineFlow is an ICT-based multi-timeframe strategy that identifies fair value gaps on 4H context and 15m setup timeframes to signal liquidity-driven entries on the 1m execution chart. It plots FVG zones as support and resistance levels directly on the price cha
This strategy plots on the price chart and trades long when the MACD line crosses above its signal line. It closes the long when the MACD line crosses back below the signal. Position size is the number of shares that a fixed ten thousand Indian rupees can buy
The Dollar Cross Play strategy detects price breakouts above a user-defined dollar threshold. It qualifies long entries by verifying that the previous day's close was at or below a maximum ceiling, aiming to capture fresh crosses rather than overextended moves
A Pine v6 strategy variant for 15-minute Bitcoin perpetual charts that trades RSI momentum breakouts. Entries use RSI levels with a gap, plus candle color, EMA 200, ATR and body-size filters, and an optional pullback re-entry. This version sets a tighter fixed
A crypto strategy that replicates the rules of an external trading engine on a one-hour chart with four-hour trend confirmation. A seven-point checklist scores EMA alignment, RSI, MACD and volume, and a trade needs a minimum score, with hard blocks for four-ho
A strategy version of a chart pattern detector. It builds a zigzag from pivots, finds patterns such as double and triple tops and bottoms, head and shoulders, triangles, rectangles, cup and handle, flags and wedges, and scores their quality. Trades are entered
This strategy determines directional market bias for options traders by combining a 20-period Exponential Moving Average (EMA) and a 14-period Relative Strength Index (RSI). It enters a long position when the closing price is above the 20 EMA and RSI is below
This overlay strategy trades a close and open below the lower Bollinger Band, using a period and multiplier set on the chart timeframe. An optional higher-timeframe Bollinger Band can confirm entries before orders are placed. Mode S1 exits at a percentage take
This strategy tracks the Asia, London and New York session highs and lows and draws them on the price chart. In Sweeps mode it looks for a wick beyond a finished session level that closes back inside; Breakouts mode looks for a close beyond it. Optional EMA 20
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.