OPEN-SOURCE SCRIPT
Trend-following MTF EMA Entries [CocoChoco]

**MTF EMA Entries [CocoChoco]** is a multi-timeframe trend-following indicator designed to identify high-probability entry points using EMA alignment and trend strength confirmation.
The script evaluates price relative to a configurable EMA (default 20) across three timeframes: a lower “execution” TF and two higher TFs.
A directional bias is established when price is above/below the EMA *and* the EMA slope confirms momentum (rising for longs, falling for shorts).
Trade signals are generated only when all three timeframes are fully aligned in the same direction.
To filter out weak or ranging conditions, an ADX-based strength filter (default threshold: 18) is applied on the execution timeframe, requiring increasing trend strength before allowing entries.
**Entries**
* Long: All timeframes bullish (price > EMA + rising EMA) + ADX confirmation
* Short: All timeframes bearish (price < EMA + falling EMA) + ADX confirmation
* Signals trigger once per move (no repeated entries)
**Exits**
* Triggered on price crossing back through the EMA on the execution timeframe
**Features**
* Optional EMA overlay
* Clean entry/exit markers
* Real-time dashboard showing trend alignment across timeframes
* Alert conditions for bullish and bearish entries
Best suited for traders seeking structured, trend-aligned entries with built-in momentum confirmation.
The script evaluates price relative to a configurable EMA (default 20) across three timeframes: a lower “execution” TF and two higher TFs.
A directional bias is established when price is above/below the EMA *and* the EMA slope confirms momentum (rising for longs, falling for shorts).
Trade signals are generated only when all three timeframes are fully aligned in the same direction.
To filter out weak or ranging conditions, an ADX-based strength filter (default threshold: 18) is applied on the execution timeframe, requiring increasing trend strength before allowing entries.
**Entries**
* Long: All timeframes bullish (price > EMA + rising EMA) + ADX confirmation
* Short: All timeframes bearish (price < EMA + falling EMA) + ADX confirmation
* Signals trigger once per move (no repeated entries)
**Exits**
* Triggered on price crossing back through the EMA on the execution timeframe
**Features**
* Optional EMA overlay
* Clean entry/exit markers
* Real-time dashboard showing trend alignment across timeframes
* Alert conditions for bullish and bearish entries
Best suited for traders seeking structured, trend-aligned entries with built-in momentum confirmation.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.