OPEN-SOURCE SCRIPT

MARSdx BTCUSD Strategy

324
🔍 Strategy Overview
The MARSdx Strategy is a hybrid trend-following and momentum-based system designed specifically for Bitcoin trading(works also on other Crypto like ETHUSD). It combines four technical indicators—SMA, EMA, RSI, and ADX—to filter high-probability long entries during strong bullish phases.

✅ Entry Conditions
Price above SMA(50) → confirms long-term bullish trend
Price above EMA(7) → confirms short-term momentum
RSI(2) > ADX(2) → confirms strong bullish pressure
Only when all three conditions are met, a long position is opened.

❌ Exit Condition
RSI(2) < ADX(2) → momentum weakens, exit position

📊 Indicators Used
SMA (Simple Moving Average) – identifies overall trend
EMA (Exponential Moving Average) – captures short-term momentum
RSI (Relative Strength Index) – gauges strength of price movement
ADX (Average Directional Index) – filters based on trend strength

⚙️ Inputs
SMA Length: Default 50
EMA Length: Default 7
RSI Length: Default 2
ADX Length: Default 2

You can tweak these parameters to suit other timeframes or crypto assets.

⚠️ This strategy only takes long trades. It does not use any stop-loss or profit target logic and should be combined with sound risk management.

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.