OPEN-SOURCE SCRIPT
Mickey's TrendLock

📌 Strategy Overview
The Mickey's Trendlock is a professional intraday trading system that combines long-term and short-term exponential moving averages (EMA200 & EMA20) with multiple confirmation filters to generate high-probability trade setups. It is designed for both trend-following crossovers and pullback entries, giving traders flexibility in approach.
⚙️ Core Logic
🛡️ Risk Management
📊 Features
✅ Best Suited For
⚠️ Disclaimer
This script is for educational purposes only. It does not constitute financial advice. Trading involves risk; always test thoroughly before using live capital.
The Mickey's Trendlock is a professional intraday trading system that combines long-term and short-term exponential moving averages (EMA200 & EMA20) with multiple confirmation filters to generate high-probability trade setups. It is designed for both trend-following crossovers and pullback entries, giving traders flexibility in approach.
⚙️ Core Logic
- Entry Modes:
- Cross Mode → Signals when EMA20 crosses above/below EMA200.
- Pullback Mode → Signals when price pulls back to EMA20 within the larger EMA200 trend bias.
- Cross Mode → Signals when EMA20 crosses above/below EMA200.
- Confirmations (toggle on/off):
- RSI(14) → Long only if RSI ≥ 50, Short only if RSI ≤ 50.
- VWAP Bias → Longs above VWAP, Shorts below VWAP.
- Volume Confirmation → Optional filter requiring Volume > SMA(20).
- RSI(14) → Long only if RSI ≥ 50, Short only if RSI ≤ 50.
🛡️ Risk Management
- Stop Loss Options:
ATR-based Stop with adjustable multiplier.
EMA-anchored Stop (EMA20 or EMA200). - Take Profit: Configurable Risk/Reward (R:R) ratio.
- Trailing Stop: Optional ATR-based trailing stop for dynamic protection.
📊 Features
- Customizable Risk Controls – ATR/EMA stop-loss, risk–reward targets, trailing stops.
- Clean Visuals – EMA200, EMA20, and VWAP plotted for clarity.
- Alerts – JSON-format alerts for automated broker integration.
- Entry Labels – BUY/SELL markers on chart for visual tracking.
✅ Best Suited For
- Intraday traders who prefer trend-based setups with confirmation filters.
- Traders looking for rule-based entries & exits with strict risk management.
- Users who want alert-ready signals for automated execution.
⚠️ Disclaimer
This script is for educational purposes only. It does not constitute financial advice. Trading involves risk; always test thoroughly before using live capital.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.