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')
Mã được bảo vệ
Tập lệnh này được xuất bản mã nguồn đóng và bạn có thể sử dụng một cách tự do. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ. Bạn không thể xem hoặc sửa đổi mã nguồn.
Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?