Strategy · Pine Script v5 · On the chart

Intraday Reversal Predictor (Order-Safe)

by knectardev

Intraday Reversal Predictor (Order-Safe) is an overlay strategy designed for regular trading hours reversal setups.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code118
Settings9inputs
LicenceNone stated
Last update9 months ago14 Jan 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Intraday Reversal Predictor (Order-Safe) calculates daily-anchored VWAP standard deviation bands, RSI, and fast/slow EMAs. A composite scoring model aggregates band touches, momentum exhaustion, moving average orientation, and candle direction into long and short signals. When the minimum score threshold is reached outside of a user-defined bar cooldown, the strategy executes reversal entries. Users can adjust band multipliers, RSI boundaries, cooldown duration, wick-touch rules, and regular trading hour filters.

Details

Published by

knectardev on GitHub

Type

Strategy, Pine Script v5

Draws

On the price chart

Category

Mean reversion, Sessions & time, Oscillators & momentum, Moving averages

Markets

Stocks, Indices

Timeframes

M15-H1

Risk Notes

  • The strategy enters trades without a stop loss

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
VWAP Band Multiplier (σ)float1.5bandMult
RSI Lengthint14rsiLen
RSI Overboughtint70rsiOB
RSI Oversoldint35rsiOS
Min Conditions to Trade (1-4)int3minScore
Cooldown Bars Between Entriesint10cooldownBars
Use Wicks for Band TouchbooltrueuseWicksForExtreme
Trade RTH Only (0930-1600 NY)booltrueuseRTH
Max Labels (safety cap)int300maxLabels
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

4 stars

This intraday strategy executes trades using dual EMA crossovers and RSI mean-reversion near VWAP. Designed primarily for 5-minute index futures charts like ES and MES, it offers momentum entries on fast and slow EMA crosses confirmed by VWAP, as well as count

Strategy v6 Moving averagesOscillators & momentum
Updated yesterday · None stated GitHub repository of Ultimate Combo v2 (Relaxed)
330 stars

This mean-reversion strategy combines multi-timeframe exponential moving averages, Bollinger Bands, and the Relative Strength Index. It generates long and optional short trade signals when price interacts with the Bollinger Bands alongside RSI threshold confir

Strategy v5 Mean reversionMoving averages
Updated 2 months ago · None stated GitHub repository of MEMA + BB + RSI [Alorse]

This strategy draws on the price chart and combines Stochastic RSI, the Money Flow Index, and an exponential moving average to open long or short trades. Longs use the lower oscillator thresholds and shorts use the upper ones, with direction limited to longs,

Strategy v5 Oscillators & momentumMoving averages Repaints
Updated 2 years ago · GPL-3.0 GitHub repository of 3 Indicator Strategy (StochRSI, MFI & EMA) With Safety Orders
53 stars

This strategy implements Larry Connors' 2-period RSI mean-reversion algorithm overlaid on the price chart. It filters trades using a long-term Simple Moving Average (SMA), entering long positions when the price trades above the SMA and the short-term RSI drops

Strategy v6 Oscillators & momentumMean reversion
Updated 2 months ago · MPL-2.0 GitHub repository of Larry Connors 2-Period RSI Strategy

FVG RSI Strategy (Optimized)

by skywalker0803r
42 stars

This strategy plots on the price chart and trades fair value gaps filtered by RSI and two EMAs. It opens a long when a bullish gap, a rising candle, RSI below the oversold level, and price under both EMAs align, and a short on the opposite conditions. Each tra

Strategy v5 SMC / ICT / price actionOscillators & momentum
Updated 2 months ago · None stated GitHub repository of FVG RSI Strategy (Optimized)

More strategys

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers