yongyuth.rootwararit

yuthavithi volatility based force trade scalper strategy

5929 visitas
983
5929 6
I have converted my volatility based force scalper into strategy. Nice to see it is so profitable. Work best with Heikin Ashi bar.
Eliminar de Scripts favoritos. Añadir a Scripts favoritos.
//@version=2
strategy("yuthavithi volatility based force trade scalper strategy", overlay=true)

fast = input(3, minval= 1, title="Fast")
slow = input(20, minval = 1, title = "Slow")
atrFast = input(20, minval = 1, title = "ATR Fast")
atrSlow = input(50, minval = 1, title = "ATR Slow")

len = input(20, minval=1, title="Length")
multiplier = input(2, minval=1, title="multiplier")
src = input(close, title="Source")
bbMid = sma(src, len)
plot(bbMid, color=blue)

atrFastVal = atr(atrFast)
atrSlowVal = atr(atrSlow)
stdOut = stdev(close, len)
bbUpper = bbMid + stdOut * multiplier
bbLower = bbMid - stdOut * multiplier
plot(bbUpper, color = (atrFastVal > atrSlowVal ? red : silver))
plot(bbLower, color = (atrFastVal > atrSlowVal ? red : silver))


force = volume * (close -  nz(close[1]))
xforce = cum(force)
xforceFast = ema(xforce, fast)
xforceSlow = ema(xforce, slow)

bearish = ((xforceFast < xforceSlow) and (atrFastVal > atrSlowVal)) and ((xforceFast[1] > xforceSlow[1]) or (atrFastVal[1] < atrSlowVal[1])) and (close < open)
bullish = ((xforceFast > xforceSlow) and (atrFastVal > atrSlowVal)) and ((xforceFast[1] < xforceSlow[1]) or (atrFastVal[1] < atrSlowVal[1])) and (close > open)


if (bullish)
    strategy.entry("Buy", strategy.long)

if (bearish)
    strategy.entry("Sell", strategy.short)
backtest does not work on haiken hashi always repaint
Responder
Looks like a very nice indicator for scalping or hourly, especially when used with Squeeze momentum and Trend bars, thanks
Responder
This strategy does not work. The code often indicates a buy and sell on heiken ashi chart that is not realistic as price has already move on. I'd estimate that 30% of trade initiations are not realistic. The actual PF is far lower and is negative for me based on real world trading.
Responder
Hi there, seems very interesting indicator, but on my screen the actual BUY and SELL arrows do not display on the chart ?
Responder
Same problem here, i can't see buy and sell arrows
Responder
This indicator does not work without volume.
Responder
Inicio Analizador de acciones Analizador de Forex Crypto Screener Calendario económico Cómo funciona Funcionalidades del gráfico Precios Normas Moderadores Soluciones broker y sitio web Widgets Soluciones de gráficos Conseguir ayuda Solicitud de funcionalidad Blog y noticias Preguntas frecuentes Wiki Twitter
Perfil Opciones de configuración del perfil Cuenta y facturación Conseguir ayuda Ideas publicadas Seguidores Siguiendo Mensajes privados Chat Cerrar sesión