Hello,
I would like to see all the assets that meet the following requirements (daily timeframe)
Stoch RSI 14 needs to be above 70
The SMA5, SMA10, EMA20 need to be green (going up)
The current price candle needs to cross over the SMA20
Daily average volume above 1 million
Price needs to be above 10
Thanks
gr Marco
There you go:
TimeFrame(Daily)
lengthRSI = 14 //RSI period
lengthStoch = 14 //Stochastic period
myRSI = RSI[lengthRSI](close)
MinRSI = lowest[lengthStoch](myrsi)
MaxRSI = highest[lengthStoch](myrsi)
StochRSI = ((myRSI-MinRSI) / (MaxRSI-MinRSI))*100
Sma5 = average[5,0](close)
Sma10 = average[10,0](close)
Sma20 = average[20,0](close)
VolSMA = average[100,0](volume)
c1 = StochRSI > 70
c2 = Sma5 > Sma5[1]
c3 = Sma10 > Sma10[1]
c4 = Sma20 > Sma20[1]
c5 = close CROSSES OVER Sma20
c6 = Volsma > 1000000
c7 = close > 10
Cond = c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7
SCREENER[Cond]
I tested it on a daily chart, selecting ALL the available indices and markets. Only 3-4 signals were returned, due to strict conditions, which you can modify whenever you need to.
Hi Roberto,
I see a little mistake. I miss the EMA20. Line 15 should be the EMA20.
gr Marco
My fault, I misread that line.
There you go:
TimeFrame(Daily)
lengthRSI = 14 //RSI period
lengthStoch = 14 //Stochastic period
myRSI = RSI[lengthRSI](close)
MinRSI = lowest[lengthStoch](myrsi)
MaxRSI = highest[lengthStoch](myrsi)
StochRSI = ((myRSI-MinRSI) / (MaxRSI-MinRSI))*100
Sma5 = average[5,0](close)
Sma10 = average[10,0](close)
Sma20 = average[20,0](close)
Ema20 = average[20,1](close)
VolSMA = average[100,0](volume)
c1 = StochRSI > 70
c2 = Sma5 > Sma5[1]
c3 = Sma10 > Sma10[1]
c4 = Ema20 > Ema20[1]
c5 = close CROSSES OVER Sma20
c6 = Volsma > 1000000
c7 = close > 10
Cond = c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7
SCREENER[Cond]
Hi Roberto,
What do i need to add to only see assets that have a bolinger bandwidth (20,2) of at least 0.10?
gr Marco
I added line 20:
TimeFrame(Daily)
lengthRSI = 14 //RSI period
lengthStoch = 14 //Stochastic period
myRSI = RSI[lengthRSI](close)
MinRSI = lowest[lengthStoch](myrsi)
MaxRSI = highest[lengthStoch](myrsi)
StochRSI = ((myRSI-MinRSI) / (MaxRSI-MinRSI))*100
Sma5 = average[5,0](close)
Sma10 = average[10,0](close)
Sma20 = average[20,0](close)
Ema20 = average[20,1](close)
VolSMA = average[100,0](volume)
c1 = StochRSI > 70
c2 = Sma5 > Sma5[1]
c3 = Sma10 > Sma10[1]
c4 = Ema20 > Ema20[1]
c5 = close CROSSES OVER Sma20
c6 = Volsma > 1000000
c7 = close > 10
c8 = BollingerBandWidth[20](close) >= 0.1
Cond = c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7 AND C8
SCREENER[Cond]