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.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.