Help with Swing Trading Screener please.
Forums › ProRealTime English forum › ProScreener support › Help with Swing Trading Screener please.
- This topic has 19 replies, 3 voices, and was last updated 2 years ago by Blue.
-
-
06/22/2022 at 1:22 PM #195858
Hi Everyone, just joined this forum today and would really appreciate your help.
I tried to make my own stock screener on PRT- I use this screener on StockCharts everyday but need it now on PRT but am struggling.
Below I attached the StockCharts Screener Coding.
Below is PRT’s ProScreener’s data or coding which does not seem to work as no Stock Charts is being selected:
I understand I must use the <b>Insert PRT Code </b>button when putting code in my message but the button was there when I started but was just gone when I needed it- damn.
Below is another screenshot of the ProScreener Coding on PRT and also an example of a stockchart (PBT) in the background of the charts I would like the Screener to find for me.
Below is also a copied version of the Screener:
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>c1 = (DHigh(0) < DHigh(1))</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>c2 = (DHigh(1)[1] < high[2])</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>indicator1 = Average[10](close)</span>
<span style=”color: #0000ff;”>indicator2 = ExponentialAverage[30](close)</span>
<span style=”color: #0000ff;”>c3 = (indicator1 > indicator2)</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>indicator3 = ExponentialAverage[30](close)</span>
<span style=”color: #0000ff;”>c4 = (DClose(0) > indicator3)</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>indicator4 = Average[10](close)</span>
<span style=”color: #0000ff;”>c5 = (DClose(0) < indicator4)</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>indicator5 = Average[200](close)</span>
<span style=”color: #0000ff;”>c6 = (DClose(0) > indicator5)</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>indicator6 = Average[10](close)</span>
<span style=”color: #0000ff;”>indicator7 = ExponentialAverage[30](close)</span>
<span style=”color: #0000ff;”>c7 = (indicator6[7] > indicator7[7])</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>indicator8 = ADX[10]</span>
<span style=”color: #0000ff;”>c8 = (indicator8 > 20)</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>c9 = (DClose(0) >= 5)</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>indicator9 = Volume</span>
<span style=”color: #0000ff;”>c10 = (indicator9 > 300000)</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>criteria = Average[200](close)</span></p>
<p style=”padding-left: 40px;”><span style=”color: #0000ff;”>SCREENER[c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7 AND c8 AND c9 AND c10] (criteria AS “SMA”)</span></p>
If possible, Please help me to figure out what I did wrong and how I can fix it.Thank you in advance and hope you are having a nice day.
06/22/2022 at 1:40 PM #1958631234567891011121314151617181920212223242526272829303132c1 = (DHigh(0) < DHigh(1))c2 = (DHigh(1)[1] < high[2])indicator1 = Average[10](close)indicator2 = ExponentialAverage[30](close)c3 = (indicator1 > indicator2)indicator3 = ExponentialAverage[30](close)c4 = (DClose(0) > indicator3)indicator4 = Average[10](close)c5 = (DClose(0) < indicator4)indicator5 = Average[200](close)c6 = (DClose(0) > indicator5)indicator6 = Average[10](close)indicator7 = ExponentialAverage[30](close)c7 = (indicator6[7] > indicator7[7])indicator8 = ADX[10]c8 = (indicator8 > 20)c9 = (DClose(0) >= 5)indicator9 = Volumec10 = (indicator9 > 300000)criteria = Average[200](close)SCREENER[c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7 AND c8 AND c9 AND c10] (criteria AS "SMA")06/22/2022 at 2:10 PM #19586506/22/2022 at 6:07 PM #195878The the ‘Insert PRT Code’ as you can see above is available switching from VISUAL to TEXT mode (on the top right corner of this text window).
Please do not embed pics in your post, as this slows down loading the pages. Attaching them with the SELECT FILE button is fine.
1 user thanked author for this post.
06/22/2022 at 6:20 PM #195880Hay Robert,
Thanks for the reply, I appreciate it.
Yes I figured the ‘Insert PRT Code’ out seconds after I posted my first message- haha. Thanks though for the help.
I will do as you asked in the future by not embedding the pics, Thanks for the heads up.
Will you be able to help me with my problem or am I still on standby?
Hope you have a nice evening.
06/22/2022 at 6:50 PM #19588606/22/2022 at 7:50 PM #19588806/22/2022 at 8:22 PM #19589106/22/2022 at 8:51 PM #19589306/22/2022 at 9:08 PM #195894123456789101112131415161718192021222324252627c1 = (DHigh(0) < DHigh(1))c2 = (DHigh(1)[1] < high[2])indicator1 = Average[10](close)indicator2 = ExponentialAverage[30](close)c3 = (indicator1 > indicator2)indicator3 = ExponentialAverage[30](close)c4 = (DClose(0) > indicator3)indicator4 = Average[10](close)c5 = (DClose(0) < indicator4)indicator5 = Average[200](close)c6 = (DClose(0) > indicator5)indicator6 = Average[10](close)indicator7 = ExponentialAverage[30](close)c7 = (indicator6[7] > indicator7[7])indicator8 = ADX[10]c8 = (indicator8 > 20)criteria = Average[200](close)SCREENER[c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7 AND c8] (criteria AS "SMA")06/22/2022 at 9:16 PM #195895Hallo once again <span class=”bbp-author-name”>fifi743</span>,
I did remove C9 and C10 as requested and as you can see above.
ProScreener still came out empty handed with no charts selected- this was after a search in all the Predefined Lists under the USA.
If you have any other ideas, please let me know as I am all ears.
Thanks again for your help and time.
06/23/2022 at 7:56 PM #195980good evening, I have reorganized the code.
and there was a writing error on line 312345678910111213141516171819c1 = (DHigh(0) < DHigh(1))c2 = (DHigh(1) < high[2])indicator1 = Average[10](close)indicator2 = ExponentialAverage[30](close)indicator3 = ExponentialAverage[30](close)indicator5 = Average[200](close)c3 = (indicator1 > indicator2)c4 = (DClose(0) > indicator3)c5 = (DClose(0) < indicator1)c6 = (DClose(0) > indicator5)c7 = (indicator1[7] > indicator2[7])indicator8 = ADX[10]c8 = (indicator8 > 20)criteria = indicator5SCREENER[c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7 AND c8] (criteria AS "SMA")2 users thanked author for this post.
06/23/2022 at 9:00 PM #195981Good evening <span class=”bbp-author-name”>fifi743</span>
You are a rockstar, thank you for trying to help me, I appreciate it immensely, I honestly thought that no one will get back to me again and that I am on my own- that is usually how it goes on most of these sights- so once again ‘THANKS’
Remember you asked me to take out c9 and c10 and test it- so I think you worked off or reorganised the code without c9 and c10 (if you look further up you’ll see the full code) Do you think I can just ad c9 and c10 at the end of your reorganised coding? Below is a copied version of c9 and c10.
c9 = (DClose(0) >= 5)indicator9 = Volume
c10 = (indicator9 > 300000)Can’t wait to try your reorganised coding- will keep you up to date.Looking forward hearing from you.Cheers mate, have a good evening.06/23/2022 at 9:15 PM #195982Hey Fifi,
You are a legend buddy- it worked and I got 13 hits out of your reorganised coding version- in todays market or since the beginning of this year is 13 hits not bad I reckon.
I will try to ad lines c9/c10 in a bit and take it for a test drive- will keep you posted.
Seriously- Legend man- That’s you- Thanks again.
06/24/2022 at 7:52 AM #195992 -
AuthorPosts
Find exclusive trading pro-tools on