Indicator · Pine Script v6 · On the chart

V8 Fast v2 R-Based Rounded Bottom/Top

by snoozie-v

A second version of a four-hour rounded bottom and top pattern indicator.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code717
Settings22inputs
LicenceNone stated
Last update7 months ago13 Mar 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

A sharp drop or pump followed by a slow recovery or decline, filtered by a daily EMA, creates a long or short setup. Risk is expressed in R multiples with an ATR-based stop, staged targets at one, two and three R, a ratcheting stop and a trailing runner. It plots the daily EMA, shows entry and exit labels, a dashboard and a regime read-out.

Details

Published by

snoozie-v on GitHub

Draws

On the price chart

Markets

Crypto

Timeframes

H4 and above

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

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

SettingTypeDefaultVariable
Drop/Pump Window (4H bars)int120drop_window
Min Drop/Pump %float13.0min_drop_pct
Rise/Decline Window (4H bars)int75rise_window
Min Directional Bars Ratiofloat0.25min_up_bars_ratio
Max Single Up Bar %float10.0max_single_up
Max Single Down Bar %float-5.0max_single_down
Min Total Move %float3.5min_rise_pct
Daily EMA Periodint6daily_ema_len
ATR Periodint14atr_period
Fixed Stop ATR Mult (= 1R)float3.0atr_fixed_mult
Runner Trail ATR Multfloat3.9atr_trailing_mult
Fallback Trailing %float6.0trailing_pct_fb
Show all 22 settings
SettingTypeDefaultVariable
Fallback Fixed Stop %float4.0fixed_stop_pct_fb
Risk Per Trade %float3.0risk_pct
Enable Long Entriesbooltrueenable_longs
Enable Short Entriesbooltrueenable_shorts
Show R-Target Linesbooltrueshow_r_lines
Show Entry Labelsbooltrueshow_trade_labels
Show Exit Labelsbooltrueshow_exit_labels
Show Dynamic Stop Linebooltrueshow_stop_line
Show Drop/Pump Labelsbooltrueshow_drop_labels
Account Equity ($)float10000account_equity
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

TylerG FVG BB Reversal

by TradersPost
228 stars

This indicator identifies mean-reversion setups by combining Bollinger Bands with Fair Value Gaps (FVGs). It tracks FVGs that print outside the upper or lower Bollinger Bands and counts them toward an alert threshold. Signals trigger upon gap mitigation (by to

Indicator v6 SMC / ICT / price actionVolatility & bands
Updated 3 months ago · None stated GitHub repository of TylerG FVG BB Reversal
46 stars

Leptokurtic Directional Bias is an overlay indicator that measures kurtosis on a chosen source and marks directional bias on the price chart. The source can be a moving average, ATR, volume, close, or a Bollinger-band trend stop. Bias mode switches among RSI m

Indicator v5 Volatility & bandsMean reversion
Updated 8 weeks ago · None stated GitHub repository of Leptokurtic Directional Bias

Commodity Heat Reversal plots score-based mean-reversion reversal markers on the price chart for commodity futures, aimed at the four-hour timeframe. It builds separate long and short heat scores from ATR distance to a mean moving average, ATR expansion, RSI e

Indicator v6 Mean reversionVolatility & bands
Updated 3 days ago · MIT GitHub repository of Commodity Heat Reversal [WavesUnchained]
4 stars

This indicator plots directional trade signals, ATR-based target and stop-loss boxes, and SuperSmoother reversal bands directly on the price chart. It evaluates market conditions across selectable technical strategies, displaying confidence scores alongside an

Indicator v6 Screeners & dashboardsTrend Repaints
Updated 2 days ago · None stated GitHub repository of Elton's Predictions Decision Engine
3 stars

This overlay indicator recreates short-setup conditions and audits their later outcomes on the price chart. It scores optional percent-surge, RSI overbought rollover, Bollinger exhaustion, volume spike, and EMA trend filters, then marks BASE or STRONG signals

Indicator v6 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Hedge Short Setup Outcome Auditor

More Mean reversion scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers