OPEN-SOURCE SCRIPT
Updated

Trinity Extreme Rope Trend [SamRecio]

143
Original work and credit to Sam and you can find him here (tradingview.com/u/SamRecio) and his script available from tradingview.com/v/YYrxRhi9/

Why change... just some small tweaks to enhance and here is the summary of Changes vs the Original Script...

- Rope smoothing algorithm kept 100% identical (same brilliant “pull-only-when-exceeded-ATR” logic)
- Direction logic unchanged (still instantly resets on price crossing the rope)
- Old linebr + fill method completely replaced with clean box.new() consolidation zones
- Added “BR” breakout arrows (cyan triangle up for bullish break, magenta triangle down for bearish break)
- Arrows fire only on the exact breakout bar — zero repaint, zero lag
- Added subtle yellow background tint while in consolidation
- Full alertconditions + optional popup/sound on every BR break
- Auto-finalizes and cleans boxes properly, no chart clutter

Primary rule: only take trades on the BR arrow in the direction of the higher-timeframe trend.

Typical high-probability setups
- Wait for yellow rope + box → price consolidates
- BR arrow appears and candle closes outside the box → enter immediately
- Stop-loss just inside the box (opposite side)
- Target: next major liquidity pool, previous swing high/low, or 3–5R

Suggested Settings for Different Styles/Timeframes

Scalping (1 m – 5 m)
ATR Length: 10–12
ATR Multiplier: 1.0–1.3
→ tighter rope = faster signals, perfect for killing 1-minute London/NY open raids

Intraday aggression (5 m – 15 m)
ATR Length: 14 (default)
ATR Multiplier: 1.5–1.8
→ this is the sweet spot most funded traders use right now

Swing / position trading (1 H – 4 H)
ATR Length: 20–30
ATR Multiplier: 2.0–2.5
→ wider rope filters out noise, only catches the real macro moves

Daily / weekly bias filter
ATR Length: 50
ATR Multiplier: 3.0–4.0
→ use only the rope color (ignore boxes) to determine weekly bias — cyan = only longs all week, magenta = only shorts

That’s it. Drop the script, choose one of the above settings based on your style, turn on alerts, and hope you enjoy what is a wonderful script.
Release Notes
Small tweaks to the colors and also added the suggested settings for different timeframes as hints.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.