Hello,
I have this code:
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
bw = BollingerBandWidth[10](close)
avg20 = average[20]
c1 = close<avg20
c2 = bw>0.12
c3 = 1//bw>bw[1]
c4 = StochRSI crosses under 20
c5 = volume[1]>400000
c6 = 1
pricecondition = close>10
test = c1 and c2 and c3 and c4 and c5 and c6 and pricecondition
There is one thing missing however: The SMA20 (daily) of today needs to be lower then the SMA20 of yesterday.
Can you add this? Thanks a lot
gr Marco