Mix1 : Ema Cross + Trend Channel [Gu5]

Based on Trend Channel
Ema-crossover is added
Crossing alerts, only on trend

Basado en mi anterior indicador, Trend Channel
Se agrega Cruce de Medias Moviles (Ema-crossover)
Las alertas solo son en favor a la tendencia

El valor de SMA Range es arbitrario (No Backtesting). Cambia la amplitud de canal que determina cuando es rango (barras amarillas por estar muy cerca del SMA200, sin tendencia definida)

Range Multiplier adapta el indicador a distintos mercados
//Setting recommended for SMA Range
// BTCUSD = 100
// EURUSD = 1000
// SPX = 100
// ETHUSD = 10

Si te fue útil este indicador, puedes comprarme una cerveza ;)
Release Notes: Change alert indicators, by labels
Clean Code
Release Notes: Add alerts, and clean code
Release Notes: Fix Bug
Clean code
Release Notes: You can select EMA or SMA for the trend line
Added Stop Loss (%)
Added position type (Long, Short, Both)
The code was cleaned up, according to convention.
Updated to PineScript v5
license has changed

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?