OPEN-SOURCE SCRIPT
MARSdx BTCUSD Strategy

🔍 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.
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità . Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilitĂ
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità . Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilitĂ
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.