Swamikan_RajaJesupatham

Trend BUY Signal

1907
Trend BUY Signal for stocks based on 10 / 30 EMA Crossover, Close above 200 EMA and Close above 3.5 percent of last 100 days' low
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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?
study("Trend BUY Signal")
ma1 = 10, ma2 = 30, ma3 = 200, lval = 100, pc = 3.5
MvgAvg1 = ema(close, ma1)
MvgAvg2 = ema(close, ma2)
MvgAvg3 = ema(close, ma3)
LowVal = lowest(lval)
pcChange = (1+(pc/100))*LowVal

signal = iff(((MvgAvg1 > MvgAvg2) and (close > MvgAvg3) and (close > pcChange)),1,0)
plot(signal)