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')
סקריפט מוגן
סקריפט זה פורסם במקור סגור ותוכל להשתמש בו באופן חופשי. אתה יכול להגדירו כמועדף כדי להשתמש בו בגרף. אינך יכול להציג או לשנות את קוד המקור שלו.
כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?