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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.