percent of stocks above 200 ema
Forums › ProRealTime English forum › ProScreener support › percent of stocks above 200 ema
- This topic has 16 replies, 2 voices, and was last updated 2 years ago by ullle73.
-
-
07/04/2022 at 10:52 PM #196753
could someone help me code a indicator that shows how many stocks on the NYSE that are above 200 ema? something like this:
this one shows aprox. 25% of stocks are above 50 ema.
If not possible, is it possible to do a screener? Made one but could not find how many stocks that are on all the 3 US stocks lists.
07/05/2022 at 9:44 AM #196771Do not double post. Ask your question only once and only in one forum. All double posts will be deleted anyway so posting the same question multiple times will just be wasting your own time and will not get you an answer any quicker. Double posting just creates confusion in the forums.
You can achieve your goal with a screener:
1Screener[close > average[200,1](close)]but it’ll work only with a PREMIUM version from PRT, which supports 1024-bar data history, not with IG which only supports 254.
You need 200, but EMAs use more than twice their periods to make calculations.
If you only have 254 bars, you can only use SMAs:1Screener[close > average[200,0](close)]07/05/2022 at 1:41 PM #196782Sorry for double post! And Thanks for screener 🙏 problem with screener is i dont know how many stocks screener use. Say i use it on stocks-NYSE, results show 800 stocks. But out of how many? From There i can calculate to see how many % Are under sma200.
is it possible to make it as in indicator instead like the picture in my post?
07/05/2022 at 5:40 PM #196814An indicator will only be applied to the chosen instrument/asset on your chart. You will have to change hundreds of them manually.
Only sceeners have access to multiple instruments.
You can choose price as a filter the otput:
1Screener[close > average[200,0](close) AND close > 1000]the one above will be applied only when their price is greater than 1000.
07/05/2022 at 10:59 PM #19682507/05/2022 at 11:30 PM #19682607/06/2022 at 9:29 AM #196864did a new screener
all stocks1c1 = (close >= 0)This way i could see how many stocks there are 🙂
But screener wont be live since using close, right? What can i use to have the screener update live on daily?
could you help me do a screener updating on 1 min but uses daily 200 sma?
07/06/2022 at 9:32 AM #196866No, you can’t.
07/06/2022 at 9:55 AM #19686907/06/2022 at 1:06 PM #196886What is 5760? If it’s the periods, then it can’t be used.
07/06/2022 at 1:55 PM #196888yes, but if i would use screener 1h TF, i dont want to have end of day update to see how many stocks are above 20 sma on daily. So i use 20 x 24h = sma 480 would be same as sma 20 on daily? But if i understand you correct, i cant use more than 254 since im on IG?
But then 4h TF would be possible? 20sma x 6 (6x 4h bars on daily) = SMA 120 on 4h chart would be same as SMA 20 on daily? and therefor not have to wait on end of day data?
07/06/2022 at 2:56 PM #19689507/06/2022 at 3:06 PM #19689607/06/2022 at 6:58 PM #196919No, it’s not possible to know how many stocks have been scanned (be them successfully or not).
07/06/2022 at 9:06 PM #196925but if do it this way, cant see why this would not work?
Screener 1: show all stocks above price 0 = 5553 stocks
screener 2: show all stocks above 20 SMA daily = 2270 stocks
around 41% of stocks are above 20 SMA on daily.
what am i missing? or doing wrong?
-
AuthorPosts