Screen to find stocks up 10% in past week
Forums › ProRealTime English forum › ProScreener support › Screen to find stocks up 10% in past week
- This topic has 12 replies, 3 voices, and was last updated 6 years ago by Aduroe.
-
-
10/31/2017 at 7:50 AM #51012
Hello
I’m having trouble figuring how to write code or use the simple creation method for these scans..
I wanted to make the following simple scans, and would be very appreciative if someone could help me:
- Stocks up >10% in the past week
- Stocks up >20% in the past month
- Stocks up> 30% in the past quarter
- Stocks up >40% in the past 6 months
I want to use these scans to get a feel for trending industries.
Thanks for any help in advance
11/25/2017 at 3:53 AM #5388311/25/2017 at 2:02 PM #53924Hi Brisvegas
Cheers for the reply, and sorry for not being specific!
I think the closing price would be the most appropriate, so the scans would be:
- stocks =>10% up from the close 5 days ago
- stocks =>20% up from the close 1 month ago
- stocks =>30% up from the close 1 quarter ago
- stocks =>40% up from the close 6 months ago
It would be awesome if you could help me out with these scans, thanks in advance!
Kind Regards
11/26/2017 at 2:55 AM #53972OK pretty simple , firstly ive written an indicator which is fairly handy in itself to base scan on , you will need to add a variable labelled ‘p’ . ive set the default value to 5
1234567891011// percent from 'x' day close by Brisvegaxea = CLOSE[p]b = CLOSEc = b-ad = c/b*100return d as " Percent from 'x' day close "Now we do the scanner using indicator above
12345678910111213141516// Scan for y % from x close by Brisvegaxe// Change this variable to adust days look back periodx = 5// Change this variable to adjust the percentage fromy = 10indicator1 = CALL "Percent from 'x' day close"[x]c1 = (indicator1 >= y)criteria = CALL "Percent from 'x' day close"[x]SCREENER[c1] (criteria AS " Percent above 'x' day close ")change the ‘x’ = to the days lookback you require … 5 ,10 etcetc and ive used ‘y’ to give some flexibility to the percentage numbers you scan Enjoy
11/26/2017 at 5:18 AM #53976Hey Brisvegas I’m having a little trouble making the scanner work.
Firstly I added the indicator in to my PRT, and changed the p value to 5.
Then I added the screener and left everything as is (x = 5, y = 10)
and then i got an error message (I have attached it).
11/26/2017 at 6:58 AM #5397811/26/2017 at 7:16 AM #5397911/28/2017 at 11:23 PM #5431001/05/2018 at 10:21 AM #5732801/05/2018 at 11:06 PM #57461Hey Brisvegas Cheers again, the screener has been working a treat! Is there any possible way to add additional code to weed out stocks that are priced under a dollar or any amount I specify? Kind Regards
Sure is just to insert a condition close > (insert price here )
Have any issues working that out and i will write it for you . Would do it now but otherwise occupied ..
1 user thanked author for this post.
01/06/2018 at 4:35 AM #5747501/06/2018 at 9:12 AM #57478Hello Aduro. I don’t normally do screeners so it was a nice little exercise for me. It does not use a separate indicator like Brisvegas’s. Hopefully it works and does what you want. Just set the Period, Percentage and Minprice needed in the code. ITF file attached that you can import. Let me know if it is wrong in anyway!
1234567891011// Percentage Rise in Period and Above Minimum Price//Created by VonasiPeriod = 5Percentage = 10MinPrice = 100PercentageRise = ((close - close[Period])/close)*100a = PercentageRise > Percentage and close > MinPriceSCREENER [a](PercentageRise as "%Rise")ITF file also attached.
1 user thanked author for this post.
01/07/2018 at 5:25 AM #57560 -
AuthorPosts
Find exclusive trading pro-tools on