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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.