GEDE4 INSTRUCTION MANUAL

Momentum · Volatility · Volume Intelligence · Pine Script v6
HOME · LASIRÈN TERMINAL · ⬇ DOWNLOAD GEDE4.pine
⚜ WHAT THIS GUIDE GETS YOU
⚜ Who is GEDE4? GEDE4 is a confluence engine. It weighs 6 momentum oscillators, 3 volatility regimes, 4 volume signals, multi-timeframe trend, and on-bar pattern context, then collapses all of it into one score between −8 and +8. When the score crosses your threshold, GEDE4 marks an entry, draws the stop, sizes the position, and — if wired up — fires a webhook to the Lasirèn bridge for paper or live execution.

⚜ TABLE OF CONTENTS

  1. Installing GEDE4 in TradingView
  2. Anatomy of the Indicator
  3. Reading the Live Chart
  4. Reading the Intelligence Panel
  5. Every Input Explained
  6. The Confluence Score
  7. Trade Signal Anatomy
  8. Setting Up Alerts & Webhooks
  9. Webhook JSON Payload
  10. Tuning by Timeframe
  11. Troubleshooting & FAQ
  12. Glossary
1

Installing GEDE4 in TradingView

GEDE4 is a single-file Pine v6 indicator. You can paste it into any TradingView account — free or paid. Webhook delivery (the alert() calls that fire to the Lasirèn bridge) requires TradingView's Premium plan; the on-chart panel, signals, and email/push alerts work on every tier.

1

DOWNLOAD GEDE4.pine

Grab the script from this site: cryptolwa.io/GEDE4.pine. It's about 650 lines of Pine v6. You can also open the Lasirèn terminal and use the ⚰ GEDE4 tab's COPY TO CLIPBOARD button.

2

OPEN THE PINE EDITOR

Sign into tradingview.com. Open any chart. At the very bottom of the chart window, find the Pine Editor tab and click it to expand.

Pine Editor Strategy Tester Trading Panel
Bottom toolbar · click "Pine Editor" to open the script panel
3

PASTE GEDE4 AND COMPILE

In the Pine Editor, select ALL existing default code and replace it with the entire contents of GEDE4.pine. Then click Save (give it a name like GEDE4 · MVV) and click Add to chart.

Pine Editor · untitled.pine Save Add to chart 1//@version=6 2indicator( 3 title = "GEDE4 — Momentum·Volatility·Volume Intelligence" 4 shorttitle = "GEDE4·MVV" 5 overlay = true 6) 7 8// SECTION 0 — INPUT GROUPS 9i_riskPct = input.float(1.5, "Risk per Trade (%)", ...) click to load on chart
Paste · Save · Add to chart
TIPIf you see Saving requires a name, name it something memorable like GEDE4 · Confluence. You can rename later.
4

VERIFY IT COMPILED

After clicking Add to chart, the chart should show: a translucent Bollinger Band, a Keltner channel, a VWAP line, and the GEDE4 INTELLIGENCE panel in the top-right of the chart. If the Pine Editor's lower console shows any red errors, copy them to clipboard and ping us — the v6 source is meant to compile clean.

5

SAVE THE LAYOUT

Top-right corner of TradingView, click the cloud iconSave as… and give it a name like GEDE4 · BTC 1H. Now every time you reopen this chart, GEDE4 loads with all your inputs preserved.

2

Anatomy of the Indicator

GEDE4 paints in two places: on the chart (overlays + signal markers) and in the Intelligence Panel (a 28-row data table in the top-right). Both are driven by the same underlying calculations — the panel is a readable summary of what the indicator is "thinking" at the most recent bar.

LONG 0.618 0.500 ⚡ GEDE4 INTELLIGENCE 1H · cryptolwa.io MOMENTUM VALUE SIGNAL RSI(14)26.4OVERSOLD ▲ MACD0.041CROSS UP ▲ STOCH %K18.2CROSS UP ▲ CCI(20)-89.4 Williams %R-84.1OVERSOLD ▲ ROC(12)1.205ACCEL ▲ MOM SCORE+4 / ±6🔥 STRONG BULL VOLATILITY BB Width2.34%🟣 SQUEEZE ATR(14)412.5Pctile: 32% BB SqueezeON (12)QUIET VOLUME OBV vs SMAABOVEACCUMULATE ▲ MFI(14)22.4OVERSOLD ▲ VWAP↑ abovePRICE ABOVE ▲ VOL SCORE+3 / ±4💪 STRONG FLOW 🎯 GEDE4 SIGNAL DECISION🟢 GO LONG LONG Score6 / 8 ✅ BB upper BB lower Keltner upper Keltner lower VWAP
An annotated GEDE4 chart — Bollinger + Keltner + VWAP + signal arrow + Intelligence Panel
3

Reading the Live Chart

The chart is layered. Each layer means something specific. Once you can name every glyph, you can read the indicator at a glance — most of the time you will not need to consult the panel.

GlyphWhat it isWhat it means
━ teal bandBollinger Band (upper / lower)20-period mean ± 2σ. Tight bands = compression; wide bands = expansion. Touches at the edges hint at reversal.
┄ amber dashesKeltner ChannelEMA ± 1.5×ATR. When BB sits INSIDE Keltner you are in a squeeze — a coiled spring.
⚡ yellow tintSqueeze backgroundThe background flashes yellow when a squeeze just released. Volatility expansion is starting.
⏵ purple tintSqueeze activeCurrently in a BB-inside-Keltner squeeze. Wait for release.
━ yellow lineVWAPVolume-weighted average price for the session. Below = bearish bias, Above = bullish bias.
┄ gold dashesAuto-Fibonacci0.382, 0.500, 0.618 of the recent 100-bar swing. Confluence zones for entries.
▲ green arrowLONG signalConfluence threshold met (default ≥ 4 of 8) AND not already in qualifying state last bar.
▼ red arrowSHORT signalSame logic, opposite side.
◆ yellow diamondSqueeze releaseVolatility breakout candidate. Combine with momentum direction.
● teal circleBullish divergencePrice made a lower low but RSI or OBV made a higher low. Classic reversal cue.
● orange circleBearish divergencePrice higher high, momentum/OBV lower high. Classic top cue.
▲ small greenPivot Low10-bar local low confirmed (looks 10 forward + 10 back, hence drawn slightly delayed).
▼ small redPivot High10-bar local high confirmed.
▮ green BGSupport zone backgroundPrice within 0.5% of a pivot support level.
▮ red BGResistance zone backgroundPrice within 0.5% of a pivot resistance level.
HOW TO READ A SIGNAL IN ONE PASS Look for THREE things in this order: 1) a green or red arrow at the candle, 2) the Intelligence Panel DECISION cell matches the arrow, and 3) the trade label that prints next to the candle shows you the exact entry / stop / T1 / T2 / T3 / position size. If those three things agree, you've read the signal correctly.

The big label that appears next to the candle on a fresh signal looks like this:

🟢 GEDE4 LONG
Entry : 67410.50
Stop  : 67100.20
T1    : 68030.10
T2    : 68340.40
T3    : 68961.00
Size  : 0.4823 units
Risk$ : $150.00
Score : 6/8
Vol   : NORMAL

That label is the trade in plain English. Entry is the close at signal time; Stop is ATR below the candle low (or above the high for shorts); T1/T2/T3 are R:R multiples driven by your Min R:R input; Size is calculated to risk exactly your Risk per Trade % of your Account Size.

4

Reading the Intelligence Panel

The Intelligence Panel is the right-hand table that updates on every bar. Its 28 rows are grouped into four colored sub-headers: MOMENTUM (navy), VOLATILITY (purple), VOLUME (teal), and GEDE4 SIGNAL (maroon).

MOMENTUM SECTION

RowWhat you seeHow to read it
RSI(14)Number + OVERSOLD ▲ / OVERBOUGHT ▼ / NEUTRALBelow 30 = oversold (potential long), above 70 = overbought (potential short).
MACDHistogram value + CROSS UP ▲ / CROSS DN ▼ / HIST ▲ / HIST ▼Cross up/down is a fresh signal; HIST ▲ means histogram is rising (momentum building).
STOCH %KNumber + CROSS UP ▲ below 20 or CROSS DN ▼ above 80Fast-moving oscillator; cross at extremes is high-probability reversal.
CCI(20)Number + EXTREME LOW ▲ / EXTREME HIGH ▼Past −100 or +100 means trend is unusually stretched; combine with divergences.
Williams %RNumber + OVERSOLD ▲ below −80, OVERBOUGHT ▼ above −20Mirror of RSI on a different scale; double-confirms the RSI read.
ROC(12)Number + ACCEL ▲ / DECEL ▼ / FLATRate of change. ACCEL means price is moving faster in current direction.
MOM SCORE+4 / ±6 with 🔥 STRONG BULL / 🧊 STRONG BEAR / MILD / MIXEDComposite of the six oscillators above. The single number that summarizes momentum.

VOLATILITY SECTION

RowWhat you seeHow to read it
BB WidthPercent + 🟣 SQUEEZE / EXPANSION / NORMALWidth relative to recent average. Squeeze = compression before a move.
ATR(14)Number + percentile (0–100)Average True Range. The number is "expected candle size"; percentile tells you if volatility is unusual.
BB SqueezeON (12 bars) / OFF + regime labelBars in current squeeze. 8+ bars = coiled spring; releases tend to be powerful.

VOLUME SECTION

RowWhat you seeHow to read it
OBV vs SMAABOVE / BELOW + ACCUMULATE / DISTRIBUTEOn-Balance Volume above its moving average means smart money is accumulating.
MFI(14)Number + OVERSOLD ▲ / OVERBOUGHT ▼Money Flow Index is volume-weighted RSI; better than RSI for spot reversals.
VWAPValue + PRICE ABOVE / PRICE BELOWSession VWAP is the institutional fair-value line. Reclaim above = bullish.
CVD ProxyNET BUYING / NET SELLING + VOL SPIKE / LOW VOL / NORMALGEDE4's cumulative-delta approximation. NET BUYING + VOL SPIKE = aggressive bid.
VOL SCORE+3 / ±4 with 💪 STRONG FLOW / ⚠ WEAK FLOW / MODERATEComposite of the four volume signals. Single number for volume regime.

SIGNAL SECTION

RowWhat you seeHow to read it
HTF BiasBULL / BEAR / NEUTRAL + timeframeDaily 20/50/200 EMA alignment. NEVER trade against a strong HTF bias.
LONG Score6 / 8 + ✅ ENTRY VALID / ⏳ WATCHINGHow many of the 8 long checks are currently passing.
SHORT Score2 / 8 + ✅ ENTRY VALID / ⏳ WATCHINGSame for short side. Both sides are computed in parallel.
DECISION🟢 GO LONG / 🔴 GO SHORT / ⚪ STANDBYThe final call. R:R is validated; size is computed; if it's GO, trust it.
Entry / Stop / T1Exact prices for current signalMirror of the on-chart label. Use these to set your manual orders.
Position SizeUnits to buy/sell + Risk $Pre-calculated using your Account Size + Risk % so you never over-bet.
→ LasirènCapital ribbonCosmetic — reminds you the signal is destined for the Lasirèn bridge if wired.
DivergencesRSI Bull / OBV Bull / RSI Bear / OBV Bear / None detectedLive tally of every divergence GEDE4 is currently seeing.
5

Every Input Explained

Right-click the GEDE4 indicator name on the chart → Settings. You'll see seven tabs, one per input group. Defaults are tuned for 1H crypto; tighter timeframes need slightly smaller windows.

⚖ RISK MANAGEMENT

Risk per Trade (%)Default 1.5%. The percentage of your account you're willing to lose on a single trade. Drives position size. Industry-standard is 1–2%.
Min R:R RatioDefault 2.0. Reward must be at least this multiple of risk before GEDE4 takes the trade. Drives T1 location.
Max Portfolio Heat (%)Default 8%. The maximum total open risk across all positions. Currently informational; bridge enforces.
Portfolio DD Stop (%)Default 15%. Bridge stops trading if account drawdown hits this. Informational here.
Account Size (USD)Your reference capital for size calculations. Set to your real number — labels use it to compute units.

🚀 MOMENTUM

RSI Length / OB / OS14 / 70 / 30. Standard. Crypto can be jumpier — 12 / 75 / 25 works on 5m, 14 / 70 / 30 on 1H.
MACD Fast / Slow / Signal12 / 26 / 9. The classic. Don't change unless you know why.
Stoch %K / %D / Smooth14 / 3 / 3. Smooth Stochastic. %K crossing %D below 20 is high-quality bottom; above 80 is high-quality top.
CCI Length20. Marks extreme stretches.
ROC Length12. Rate of change; how fast price is moving relative to 12 bars ago.
Williams %R Length14. Inverted-scale oscillator; mirrors RSI.

⚡ VOLATILITY ENGINE

BB Length / Std Dev20 / 2.0. The textbook Bollinger setting.
ATR Length14. Drives stop distance + squeeze + percentile.
ATR Stop Multiplier2.0. Stop sits 2× ATR away from candle high/low. Loosen to 2.5 for noisy assets, tighten to 1.5 for tight ranges.
Keltner Length / Mult20 / 1.5. Standard Keltner setup. BB inside Keltner = squeeze.

📊 VOLUME INTELLIGENCE

MFI Length14. Money Flow Index = volume-weighted RSI.
OBV Smooth Length5. SMA period for the OBV trend filter.
VWAP SourceHLC3 by default. Switch to close if your asset has very wide wicks.
Volume Avg Length20. Baseline for spike detection.
Volume Spike Threshold1.5× baseline. Tighter (2.0) for high-noise assets; looser (1.3) for slow alts.

📍 SUPPORT & RESISTANCE

Pivot Detection Length10. How many bars left + right to confirm a pivot. Bigger = fewer but cleaner pivots.
Show Auto-FibonacciTrue. Draws the 0.382 / 0.500 / 0.618 lines on the recent swing.
Show Daily Pivot PointsTrue. Plots S/R triangles on confirmed daily pivots.
Fibonacci Swing Lookback100. How many bars back GEDE4 scans for the swing high/low.

🎯 SIGNAL FILTER

Min Confluence Score (1–8)4 by default. How many of the 8 confluence checks must agree to fire. 5 = stricter / fewer trades / higher win rate; 3 = looser / more trades / more noise.
Show Trade LabelsThe big multi-line label next to fresh signals. Turn off if it's cluttering the chart.
Show Intelligence PanelThe 28-row data table. Keep on — that's the indicator's whole point.
Higher Timeframe (Trend Bias)D by default. Set to W when trading 1H crypto for slower-moving bias filtering.
Enable AlertsMaster toggle. When false, no alertcondition or alert() fires.
6

The Confluence Score

This is the heart of GEDE4. For every bar, GEDE4 runs eight independent checks for the long side and the same eight for the short side. Each passing check is worth +1. The total is the confluence score, range 0–8.

#Check nameLONG passes when…SHORT passes when…
1HTF BiasDaily 20 > 50 > 200 EMA and price above 20Daily 20 < 50 < 200 EMA and price below 20
2Momentum ScoreMOM SCORE ≥ +2MOM SCORE ≤ −2
3Volume ScoreVOL SCORE ≥ +1VOL SCORE ≤ −1
4Value AreaPrice touched BB lower, OR at a Fib level, OR at pivot supportPrice touched BB upper, OR at a Fib level, OR at pivot resistance
5Volatility CatalystSqueeze just released, OR coiled (8+ bars) + ROC risingSqueeze just released, OR coiled + ROC falling
6Volume ConfirmationVolume spike (1.5× avg) on a green candleVolume spike on a red candle
7Divergence BonusRSI bullish div OR OBV bullish divRSI bearish div OR OBV bearish div
8VWAP StructureVWAP just reclaimed (close crossed above)VWAP just rejected (close crossed below)

A signal fires on the bar that the score first crosses the Min Confluence threshold. If your threshold is 4 and the score goes from 3 to 5, GEDE4 marks a signal. The next bar, if the score is still ≥ 4, GEDE4 does not fire a fresh signal — it only fires once on the transition.

WHY NOT JUST USE 8/8? Because 8/8 is rare. It's a high-conviction setup but you'll miss 90% of profitable trades waiting for it. 4–5 is the sweet spot for crypto on 1H. Higher timeframes (4H+) can afford 5–6.
7

Trade Signal Anatomy

A LONG signal is composed of five computed values that print together as the trade label. Here is the math.

// On the bar where score crosses threshold:
long_stop  = bar_low - (ATR × ATR_Stop_Multiplier)   // e.g. low − 2×ATR
long_risk  = close - long_stop                       // dollars per unit
long_t1    = close + long_risk × Min_RR              // R:R 1:2
long_t2    = close + long_risk × (Min_RR + 1)        // R:R 1:3
long_t3    = close + long_risk × (Min_RR + 3)        // R:R 1:5
long_size  = (Account_Size × Risk_per_Trade%) / long_risk

// Trade only proceeds if T1 > current price (sanity check)
long_rr_valid = long_signal and long_t1 > close

Short side is the mirror — stop is above the bar high, targets are below close.

USE T1, T2, T3 AS LADDERED EXITS A clean strategy is: take 40% off at T1 (locks in 1:2), 40% at T2 (now risk-free at 1:3), let the last 20% run to T3 (1:5). This is what GEDE4's defaults are tuned to produce.
8

Setting Up Alerts & Webhooks

GEDE4 emits two kinds of alerts: alertcondition (clickable in the TV alert dialog) and alert() (dynamic, with full JSON payload — fires automatically). The alert() variant is what you wire to the Lasirèn bridge.

1

RIGHT-CLICK CHART → ADD ALERT (or ALT+A)

In the alert dialog, set Condition to GEDE4 · MVV. Pick from the dropdown — the options include Any alert() function call (recommended for webhooks) and the named conditions like GEDE4 Long Entry.

2

FOR PAPER/CHAT-ONLY USE

Select a named condition (e.g. GEDE4 Long Entry). Set Actions to Send email or Show pop-up. Click Create. You're done — no webhook needed.

3

FOR LASIRÈN BRIDGE EXECUTION (Premium plan required)

Select Any alert() function call as the condition. In Notifications, check Webhook URL and paste your Lasirèn bridge endpoint:

https://your-bridge.onrender.com/signal
   ── or ──
https://www.cryptolwa.io/api/lasiren/control   // Pages function proxy

Leave the Message field empty — the alert() calls in GEDE4 supply the full JSON body. Set Expiration to Open-ended. Click Create.

WHY PREMIUM? TradingView's free / Pro / Pro+ plans cannot send webhooks. Webhooks require Premium ($59.95/mo as of writing). Paper-trading and on-chart signals work on every tier.
4

VERIFY IT'S FIRING

Open your Lasirèn bridge logs (Render dashboard / Fly logs). When GEDE4 next prints a signal, you'll see a POST /signal entry with the agent name GEDE4 and a structured JSON body. If you see 401, your LASIREN_HMAC_SECRET env var doesn't match between TradingView and the bridge — fix and redeploy.

9

Webhook JSON Payload

The Lasirèn bridge receives three message shapes from GEDE4. Each is a single JSON object with the fields below.

🟢 LONG ENTRY

{
  "agent": "GEDE4",
  "action": "long",
  "symbol": "COINBASE:BTCUSD",
  "entry":  67410.50,
  "stop":   67100.20,
  "tp1":    68030.10,
  "score":  6,
  "vol":    "NORMAL",
  "htf":    "BULL",
  "tf":     "60",
  "time":   "1715420400"
}

🔴 SHORT ENTRY

{
  "agent": "GEDE4",
  "action": "short",
  "symbol": "COINBASE:ETHUSD",
  "entry":  3041.20,
  "stop":   3082.50,
  "tp1":    2958.60,
  "score":  5,
  "vol":    "ELEVATED",
  "htf":    "BEAR",
  "tf":     "60",
  "time":   "1715420400"
}

⚡ SQUEEZE RELEASE

{
  "agent": "GEDE4",
  "action": "squeeze_release",
  "symbol": "BYBIT:SUIUSDT",
  "bars":   18,
  "vol":    "QUIET",
  "mom":    3,
  "time":   "1715420400"
}

The Lasirèn bridge validates the HMAC signature header, cross-checks with GEDE2 (gas + simulation) and GEDE3 (pattern), then routes to BRIGITTE for execution (paper or live).

10

Tuning by Timeframe

Default settings are tuned for the 1-hour crypto chart. Use these adjusted values for other timeframes:

TFMin ConfluenceHTF BiasATR Stop MultNotes
5m51H1.5Very noisy. Tighten everything. Avoid news windows.
15m54H1.8Good for intraday swings. Standard crypto sweet spot.
1H (default)4D2.0The default. Best signal-to-noise for crypto.
4H5D2.0Slower, cleaner. Allow looser threshold for swing trades.
1D5W2.5Position trades. Weekly bias filter. Wider stops.
11

Common Errors

The five issues users hit most often — and the exact fix.

SymptomFix
Script won't compileRe-download GEDE4.pine — paste often drops trailing characters. The Pine Editor console names the failing line.
No signals appearingLower Min Confluence Score from 4 to 3. Confirm Show Trade Labels is on. Wait — a 1H signal can take hours.
Too many signals (noise)Raise Min Confluence Score to 5. Switch HTF Bias to Weekly. Increase ATR Stop Multiplier.
Webhook 401 / UnauthorizedLASIREN_HMAC_SECRET in TradingView and on the bridge must be identical. Re-paste both.
Webhook 404 / 405Bridge URL is wrong. Verify it's up: curl https://your-bridge.onrender.com/health.
12

Glossary

ATRAverage True Range. Measures volatility — how big a typical candle is.
BB / Bollinger Bands20-period mean ± 2 standard deviations. Statistical envelope around price.
ConfluenceMultiple independent signals agreeing simultaneously. GEDE4's edge.
CVDCumulative Volume Delta. Running tally of buy volume minus sell volume.
DivergencePrice and an oscillator move in opposite directions. Classic reversal cue.
Fibonacci0.236 / 0.382 / 0.500 / 0.618 / 0.786 of a swing. Magnet levels.
HTFHigher Timeframe. Used for bias filtering — never trade against it.
Keltner ChannelEMA ± multiple of ATR. Used with BB to detect squeezes.
MACDMoving Average Convergence Divergence. Trend-following momentum indicator.
MFIMoney Flow Index. Volume-weighted RSI. Better for catching reversals.
OBVOn-Balance Volume. Running total of volume on green vs red candles.
PivotLocal high/low confirmed by N bars on either side.
R:RRisk-to-reward ratio. 1:2 means risking $1 to potentially make $2.
ROCRate of Change. Percent change over N bars. Measures velocity.
RSIRelative Strength Index. The classic oscillator, 0–100.
SqueezeBB sitting entirely inside Keltner. Compression before a move.
StochasticFast-moving oscillator showing position within recent range.
VWAPVolume-Weighted Average Price. Institutional fair-value line for the session.
Williams %RInverted-scale oscillator. Mirrors RSI on a −100 to 0 scale.
⚜ FINAL NOTE GEDE4 measures the present. It does not predict the future. The score tells you when conditions favor your discipline — you place the trade, you size it, you wear the outcome. Capital preservation first.
HOME · LASIRÈN TERMINAL · PORTFOLIO MANUAL · ⬇ GEDE4.pine

NOT FINANCIAL ADVICE · INFORMATION ONLY · YOUR WALLET · YOUR KEYS · YOUR CALL
© Crypto Lwa Collective · independent · member-funded · no paid promotion