OPEN-SOURCE SCRIPT

Simplified Trilean Unanimity

297
Simplified Trilean Unanimity
by chuckaschultz, inspired by a framework published by The_Peaceful_Lizard.

A confluence filter that only signals when RSI, Money Flow Index, and Supertrend all agree — eliminating the false positives that come from single-indicator trading.

How It Works
Each indicator is evaluated in three states: bullish, bearish, or neutral. The script requires all three to reach unanimous agreement before plotting a signal. No consensus = no signal. Simple.

Reading the Indicator
🟢 Green area — All three indicators confirm bullish conditions. Look for long entries.
🔴 Red area — All three indicators confirm bearish conditions. Look for short entries or exits.
⬜ Gray / flat — Mixed signals. Stay patient.

Settings
InputDefaultNotesRSI Length14StandardRSI Overbought / Oversold69 / 35Slightly tighter than default 70/30MFI Length14StandardMFI Overbought / Oversold69 / 35Matches RSI thresholdsSupertrend Factor3.0Lower = more sensitiveSupertrend ATR Period10Standard

Alerts
Three built-in alert conditions:

Bullish Unanimity — All three confirm bullish
Bearish Unanimity — All three confirm bearish
Any Unanimity — Either direction fires

Set alerts to Once Per Bar Close for best reliability.

Best Practices

Use as a confirmation layer, not a standalone entry trigger
Works on any timeframe — higher timeframes produce fewer but higher-quality signals
Unanimity is intentionally rare — that's the point


Trilean logic inspired by a framework published by The_Peaceful_Lizard. This adaptation and implementation by Chuck Schultz.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.