OPEN-SOURCE SCRIPT

MSTR/MTPLF Flip Strategy (with 1D Supertrend Overlay)

114
MSTR/MTPLF Flip Strategy – Z-Score + MACD + RSI + Supertrend (1D Overlay)

This script is designed for traders rotating between MicroStrategy (MSTR) and Metaplanet (MTPLF)—two Bitcoin proxy stocks—using a quantitative, multi-indicator approach.

🔍 Core Strategy:

Z-Score detects statistical mispricing between MSTR and MTPLF
RSI confirms momentum extremes (overbought/oversold)
MACD identifies trend reversals
Supertrend (1D) confirms the broader trend direction
✅ Flip Signals:

Flip to MSTR: Z-Score < -2, RSI < 30, MACD bullish crossover, and Supertrend (1D) is bullish
Flip to MTPLF: Z-Score > +2, RSI > 70, MACD bearish crossover, and Supertrend (1D) is bearish
📈 Visual Overlay:

The 1D Supertrend line is plotted directly on your current chart (e.g., 4H) for easy trend tracking.
🧠 Ideal for swing traders and pair traders looking to rotate capital between correlated assets based on both mean reversion and trend confirmation.

Customize the timeframe, sensitivity, and alerts to fit your trading style.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.