4a956261b5c44aa7911b4c6c91c58a

Minushands Day Trading Signal Study

//@version=2
//
//
study(title="Minushands Day Trading Signal Study", shorttitle="MH Trading Study", overlay=true)
n1 = input(6, "Channel Length")
n2 = input(9, "Average Length")
sma1 = input(7, "SMA Length")
obLevel1 = input(60, "Over Bought Level 1")
obLevel2 = input(53, "Over Bought Level 2")
osLevel1 = input(-60, "Over Sold Level 1")
osLevel2 = input(-53, "Over Sold Level 2")


r=input(9, title="Period", type=integer, minval=1)
b=ema(close,r)
buy_g=close<b
sell_g=close>b

ap = hlc3
esa = ema(ap, n1)
d = ema(abs(ap - esa), n1)
ci = (ap - esa) / (0.015 * d)
tci = ema(ci, n2)

wt1 = tci
wt2 = sma(wt1,sma1)

plotshape(crossover(wt1,wt2) and buy_g, style = shape.arrowup, location = location.belowbar, color = #001372, text = "Buy", size = size.normal)
plotshape(crossunder(wt1,wt2) and sell_g, style = shape.arrowdown, location = location.abovebar, color = #CC0000, text = "Sell", size = size.normal)
alertcondition(crossover(wt1,wt2) and buy_g, title='Buy', message='Buy Alert')
alertcondition(crossunder(wt1,wt2) and sell_g, title='Sell', message='Sell Alert')
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?