Indicator · Pine Script v6 · On the chart

USI Flip + REV-BUY

by skipp-dev

This overlay indicator combines a six-line zero-lag RSI stack with EMA trend filters and smart-money structure checks.

View on GitHub

Repaints

GitHub stars1on the repository
Pine versionv6current
Lines of code464
Settings40inputs
LicenceNone stated
Last update2 days ago26 Oct 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 indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

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

USI Flip + REV-BUY marks USI flip long and short signals when the RSI lines stack, optional volume and bar-close filters pass, and optional stack or slow-trend confirmation is enabled. It also plots PRE-BUY proximity warnings, confirmed pullback-to-EMA bounce buys, and REV-BUY labels after a recent change of character. ATR distances set approach and touch tolerances. USI signals are not limited to closed bars by default.

Details

Published by

skipp-dev on GitHub

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Oscillators & momentum, Moving averages, SMC / ICT / price action, Volume

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

  • Signals can change on the live bar or after it closes (repainting)

Settings

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

SettingTypeDefaultVariable
USI PresetstringFast (7/6/4/3/2/1)usiPreset
USI Length (L0 — slowest / Blue)int13usiLen0_c
Length 1 of USI (L1 / Green)int11usiLen1_c
Length 2 of USI (L2 / Yellow)int7usiLen2_c
Length 3 of USI (L3 / Orange)int5usiLen3_c
Length 4 of USI (L4)int4usiLen4_c
Length 5 of USI (L5 — fastest / Red)int2usiLen5_c
USI Bar Close OnlyboolfalseusiBarCloseOnly
USI Volume FilterbooltrueusiUseVolFilter
USI Min Volume Ratiofloat1.4usiMinVolRatio
USI Volume SMA Lengthint20usiVolSmaLen
USI Marginfloat1.0margin
Show all 40 settings
SettingTypeDefaultVariable
Relaxed Flip (visual cycle)boolfalseuseFlipCycle
Flip Cycle Lookback (bars)int3flipCycleBars
Require strong stack confirmationboolfalseuseStrongStack
Require slow trend confirmationboolfalseuseSlowTrendFilter
EMA Fastint21emaFastLen
EMA Slowint55emaSlowLen
Swing Leftint2swingL
Swing Rightint1swingR
Breakout SourcestringWickbreakoutSource
Structure LogicstringSMC+SweepstructureLogic
ChoCH ModestringPing+VerifychochMode
REV-BUY: ChoCH recency barsint5revRecencyBars
ATR Lengthint14atrLen
PRE-BUY proximity ATRfloat0.25preWarnDistATR
BUY touch tolerance ATRfloat0.12touchTolATR
REV Volume FilterbooltruerevUseVolFilter
REV Volume SMA Lengthint20revVolLen
REV Volume Multiplierfloat1.2revVolMult
REV RSI FilterbooltruerevUseRsiFilter
RSI Lengthint14revRsiLen
BUY / PRE-BUY min RSIint52revRsiBuyMin
REV-BUY min RSIint48revRsiRevMin
REV-BUY: require bullish liquidity sweepbooltrueuseSweepFilterForRev
REV signals only on confirmed barboolfalserevBarCloseOnly
Show USI BUYbooltrueshowUsiBuy
Show USI SHORTbooltrueshowUsiShort
Show PRE-BUYbooltrueshowPreBuy
Show BUYbooltrueshowBuy
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

6 stars

Capital41 Confluence Core plots an EMA or SMA on the price chart and combines its direction with RSI, Williams %R, and a liquidity-sweep check into long and short confluence signals. Signal strictness is Strict, Standard, or Loose, which changes how far the os

Indicator v6 Oscillators & momentumMoving averages
Updated 8 weeks ago · MIT GitHub repository of Capital41 Confluence Core

LiqSpikeBounceLong Feb2026

by agutinbaigo28
147 stars

LiqSpikeBounceLong Feb2026 is an indicator designed to identify long bounce entries following high-volume liquidation cascades in bearish market contexts. It checks if price is below an exponential moving average, then detects large single-bar drops exceeding

Indicator v5 Volatility & bandsVolume
Updated 6 weeks ago · MIT GitHub repository of LiqSpikeBounceLong Feb2026

Signal Strategy 15m

by tripolskypetr
72 stars

This indicator generates trend-following trade signals on the price chart by combining moving average crossovers with multi-factor filters. It triggers entry alerts when fast and slow EMAs cross in the direction of a baseline trend EMA, confirmed by non-extrem

Indicator v5 TrendMoving averages
Updated 3 days ago · MIT GitHub repository of Signal Strategy 15m
46 stars

This overlay indicator plots a SuperTrend using a 10-period ATR with a multiplier of 3, drawing up and down stop lines and a faint trend fill on the price chart. It compares a 9-period EMA with an 18-period EMA and a 12/26/9 MACD against its signal, and it req

Indicator v5 TrendOscillators & momentum
Updated 3 years ago · None stated GitHub repository of SuperTrend + MACD + EMA

Bte Acc

by f-cksociety
11 stars

Bte Acc is a chart indicator form of the PineCoders Backtesting and Trading Engine. It seeks an entry trigger from a main or alternate entry method, then checks trade direction, filters, date range, ATR readiness, and remaining capital before filling on the ne

Indicator v5 TrendOscillators & momentum Repaints
Updated 4 years ago · MPL-2.0 GitHub repository of Bte Acc

More indicators

Trade Your Charts With a Regulated Broker

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

Compare brokers