OPEN-SOURCE SCRIPT
magic wand STSM

🔮 Magic Wand STSM | Multi-Timeframe ATR SuperTrend Strategy
This strategy is designed for backtesting purposes only. It includes:
- ATR-based SuperTrend trend detection
- Multi-timeframe confirmation (1H and 30min logic)
- EMA and SMA filters to avoid trading against major trends
- Dynamic lot sizing based on risk % and user-defined equity
- Daily and monthly performance tracking (win/loss filtering)
- Risk management via optional trading halts after poor performance
- Session-based and time-based filters to avoid low-liquidity periods
🔎 Visual performance tracking with summary tables for wins, losses, and net profit.
**Important:**
This strategy does **not place real trades** and is only intended for backtesting and educational use.
Performance metrics are historical and do **not guarantee future results**.
Please use responsibly and adjust to your risk tolerance.
✅ Compliant with TradingView’s policies.
This strategy is designed for backtesting purposes only. It includes:
- ATR-based SuperTrend trend detection
- Multi-timeframe confirmation (1H and 30min logic)
- EMA and SMA filters to avoid trading against major trends
- Dynamic lot sizing based on risk % and user-defined equity
- Daily and monthly performance tracking (win/loss filtering)
- Risk management via optional trading halts after poor performance
- Session-based and time-based filters to avoid low-liquidity periods
🔎 Visual performance tracking with summary tables for wins, losses, and net profit.
**Important:**
This strategy does **not place real trades** and is only intended for backtesting and educational use.
Performance metrics are historical and do **not guarantee future results**.
Please use responsibly and adjust to your risk tolerance.
✅ Compliant with TradingView’s policies.
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.