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')
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?