Retour au Blog
Tutoriales March 30, 2026

🛠️ Estrategia Universal DMT: Automatización sin Código

La herramienta definitiva para TradingView. Configurá filtros de EMA, RSI y Volatilidad desde una sola interfaz sin programar.

ED

Emmanuel Dearmas

DearmasTrader Team

🛠️ Master Tool: Esta es la "Navaja Suiza" de DearmasTrader. Incluye múltiples indicadores que podés activar o desactivar desde los ajustes de TradingView.

🚀 ¿Qué incluye esta estrategia?

  • 3 EMAs Configurables: Filtros de tendencia a corto y largo plazo.
  • Filtro RSI: Evitá entrar en zonas de sobrecompra o sobreventa.
  • Payloads Automáticos: Envía el JSON correcto a DearmasTrader al instante.
  • Zero Code: No necesitás tocar el script, solo cambiar los valores en la interfaz.

📄 Código Pine Script V6

Copiá y pegá este código en tu editor de Pine Script en TradingView:

// © DearmasTrader - Universal Strategy
//@version=6
strategy("DMT - Universal Editable", overlay=true)

botSecret = input.string("TU_TOKEN", "DMT Bot Token")
useEMA    = input.bool(true, "Filtrar por Cruce EMA?")
emaF      = input.int(9, "EMA Rápida")
emaS      = input.int(21, "EMA Lenta")
useRSI    = input.bool(true, "Filtrar por RSI?")

valEMA_F = ta.ema(close, emaF)
valEMA_S = ta.ema(close, emaS)
valRSI   = ta.rsi(close, 14)

longCond  = ta.crossover(valEMA_F, valEMA_S) and (useRSI ? valRSI < 70 : true)
shortCond = ta.crossunder(valEMA_F, valEMA_S) and (useRSI ? valRSI > 30 : true)

longJson  = '{"action": "OPEN", "direction": "LONG", "pair": "' + syminfo.ticker + '", "token": "' + botSecret + '"}'
shortJson = '{"action": "OPEN", "direction": "SHORT", "pair": "' + syminfo.ticker + '", "token": "' + botSecret + '"}'

if (longCond)
    strategy.entry("Long", strategy.long, alert_message=longJson)
if (shortCond)
    strategy.entry("Short", strategy.short, alert_message=shortJson)
      

⚠️ Configuración de Alerta

En la caja de "Mensaje" de la alerta del indicador, borrá todo y pegá:

{{strategy.order.alert_message}}

Prêt à appliquer ce que vous avez appris ?

Essayez nos stratégies en mode Démo gratuitement.

Créer un Compte Gratuit