Tutoriales March 30, 2026
🛡️ Tutorial #4: Supertrend Multi-Timeframe
Seguridad ante todo. Operá a favor de la tendencia mayor usando la potencia del Supertrend automatizado.
ED
Emmanuel Dearmas
DearmasTrader Team
🛡️ Seguridad: El Supertrend es excelente para seguir tendencias. Automatizarlo te asegura no salirte tarde.
//@version=6
strategy("DMT - Supertrend Hunter", overlay=true)
token = input.string("TOKEN_DMT", "DMT Token")
[st, dir] = ta.supertrend(3, 10)
if (dir < 0) // Alcista
strategy.entry("Long", strategy.long, alert_message='{"action": "OPEN", "direction": "LONG", "pair": "' + syminfo.ticker + '", "token": "' + token + '"}')
if (dir > 0) // Bajista
strategy.entry("Short", strategy.short, alert_message='{"action": "OPEN", "direction": "SHORT", "pair": "' + syminfo.ticker + '", "token": "' + token + '"}')