OPEN-SOURCE SCRIPT

Mongoose Oscillator Lab — Pro v4 (weighted RSI/Stoch/MFI, div.

81
Description (short)

Weighted composite oscillator that blends RSI, Stoch%K, and MFI into a single –100…+100 line with zero-center area fill, signal line, momentum histogram, BB-inside-Keltner squeeze, optional bull/bear divergence, MTF confirmation and a compact value/weight dashboard.

How to use

Trade in the direction of the regime strip; use green/red dots to time entries.

Prefer divergences that agree with the regime and (optionally) a higher-TF gate.

In compression (yellow dots), wait for squeeze release.

Method

Each input (RSI/Stoch/MFI) is normalized (0–100), blended by weights, then mapped to –100…+100.

Signals use EMA smoothing + band thresholds (±60 default).

Divergence is pivot-based (L/R = 5/5 by default).

Squeeze = BB width < Keltner width on 20 bars.

Suggested defaults

Lengths: RSI 14, Stoch 14, MFI 14, Smooth 9, Signal 18, MomZ 20

Weights: 1 / 1 / 1 (set any to 0 to exclude)

Bands: ±60 (tight) or ±70/80 (stricter)

MTF Gate: blank (off) or W to require osc > 0 for longs, < 0 for shorts

Notes
Indicator only (no orders). Educational use; not financial advice.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.