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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.