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')
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmıştır ve özgürce kullanabilirsiniz. Bir grafikte kullanmak için favorilerinize ekleyebilirsiniz. Kaynak kodunu görüntüleyemez veya değiştiremezsiniz.
Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?