Daily averages and stoch
Forums › ProRealTime English forum › ProScreener support › Daily averages and stoch
- This topic has 19 replies, 2 voices, and was last updated 1 year ago by JC_Bywan.
-
-
06/07/2023 at 4:49 PM #215772Hi,Can you help me with following.I would like to see on a daily timeframe all the assets that meet the following requirements:
- The SMA3, SMA6, SMA9 and EMA20 are ALL green (positive) on the current day candle
- At least one of the above SMA’s was red (negative) yesterday
- The stoch RSI14 should be above 80 on the current candle OR it should be greater than 50 and increased by at least 25 compared to yesterday
- The average daily volume over last 7 days has to be above 1 million
- The price needs to be above 10 usd
- The bolinger bandwidth (20 2) needs to be above 0.1
Thanksgr Marco06/07/2023 at 6:55 PM #215777Hello,
To be tested:
123456789101112131415161718192021sma3 = Average[3](close)sma6 = Average[6](close)sma9 = Average[9](close)ema20= ExponentialAverage[20](close)myRSI = RSI[14](close)MinRSI = lowest[14](myrsi)MaxRSI = highest[14](myrsi)StochRSI = (myRSI-MinRSI)/(MaxRSI-MinRSI)StochRSIK = average[3](StochRSI)*100c1 = sma3>=sma3[1] and sma6>=sma6[1] and sma9>=sma9[1] and ema20>=ema20[1]c2 = sma3[1]<sma3[2] or sma6[1]<sma6[2] or sma9[1]<sma9[2]c3 = StochRSIK>80 or (StochRSIK>50 and (StochRSIK-StochRSIK[1])>25)c4 = Average[7](volume)>1000000c5 = close>10c6 = BollingerBandWidth[20](close)>0.1condition = c1 AND c2 AND c3 AND c4 AND c5 AND c6SCREENER[condition]06/08/2023 at 6:09 AM #215812I forgot to add I took a smoothing of 3 for your stoch rsi as you only specified a length of 14. If you want a smoothing of 5 for example, it needs to be applied in line 10 as replacement of the [3]:
StochRSIK = average[5](StochRSI)*100
06/08/2023 at 7:48 AM #21581506/10/2023 at 4:53 PM #215954Hi JC,
Could you change the code so it fits the following:
Hi,
Can you help me with following.I would like to see on a daily timeframe all the assets that meet the following requirements:The SMA3, SMA6 and EMA20 are ALL green (positive) on the current day candle
At least one of the above SMA’s was red (negative) yesterday
The stoch RSI14 should have increased by at least 25 compared to yesterday
The average daily volume over last 7 days has to be above 1 million
The price needs to be above 10 usd
The bolinger bandwidth (20 2) needs to be above 0.1
Thanks for all the great work you are doing. If i can place a great review for you somewhere i am happy to do it.gr Marco
06/11/2023 at 5:36 PM #215972Hi, thanks,
OK, so in summary if I have spotted all the differences: getting rid of sma9 (impact c1 and c2), and a more simple stoch rsi14 condition (impact c3). It would give the following:
1234567891011121314151617181920sma3 = Average[3](close)sma6 = Average[6](close)ema20= ExponentialAverage[20](close)myRSI = RSI[14](close)MinRSI = lowest[14](myrsi)MaxRSI = highest[14](myrsi)StochRSI = (myRSI-MinRSI)/(MaxRSI-MinRSI)StochRSIK = average[3](StochRSI)*100c1 = sma3>=sma3[1] and sma6>=sma6[1] and ema20>=ema20[1]c2 = sma3[1]<sma3[2] or sma6[1]<sma6[2]c3 = StochRSIK-StochRSIK[1])>25c4 = Average[7](volume)>1000000c5 = close>10c6 = BollingerBandWidth[20](close)>0.1condition = c1 AND c2 AND c3 AND c4 AND c5 AND c6SCREENER[condition]06/12/2023 at 3:14 PM #21600606/12/2023 at 3:26 PM #21600806/12/2023 at 4:14 PM #21601306/12/2023 at 4:55 PM #21601706/12/2023 at 5:11 PM #21601906/12/2023 at 7:59 PM #21602506/12/2023 at 8:57 PM #216032If your PRT account is free, with only daily or above TF, your screener is not “real time”, today’s data is only available from next session’s open, so usually when someone is asking for a screener on daily timeframe and a stock seems to not match in scrrener behaviour observed on today’s chart, first thing to check is the account type: free with a one session delay for screener results, or real-time.
06/13/2023 at 1:06 PM #21611306/13/2023 at 1:34 PM #216114 -
AuthorPosts
Find exclusive trading pro-tools on