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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。