“ProScreener” and “Probuilder” deliver different results with identical code
Forums › ProRealTime English forum › ProScreener support › “ProScreener” and “Probuilder” deliver different results with identical code
- This topic has 7 replies, 3 voices, and was last updated 5 months ago by Vagus_Lux.
-
-
06/21/2024 at 5:59 PM #234202
hello colleagues,
to show the facts, i add the last 200 close values in both the builder and the screener.
Unfortunately, I get different results and have no idea why.
I’d like to discuss this with you. Maybe some of you knows a work around.As in the attachments, the code for both surroundings just with // or without //:
//SreenerTest
//DefParam DRAWONLASTBARONLY=Truev1 = close
v2 = summation[200](v1)
v3 = round(v2)
//DRAWTEXT(” #v3#”, barindex, v1, Dialog, Bold, 16)//Return v1
SCREENER (v3 as “v3”)06/22/2024 at 6:33 AM #23420806/22/2024 at 10:46 AM #234215I have tested it on both FX pairs and some assets and it works like a charm (see attached pic).
It may be due to a different updating timing live. Since today it is Saturday and the markets are closed, this is not an issue. Try to run it today.
1 user thanked author for this post.
06/22/2024 at 1:51 PM #23421906/23/2024 at 3:11 PM #234247Hi,
I tested your indicator/screener on the Italian stock market and there are no differences between the indicator and the screener (not even in demo) …
It may be that you are using a version (EOD version) that has less historical data than necessary… (try lowering 200 to, say, 100 or 50 and see if the same differences occur) …
06/23/2024 at 6:06 PM #234253Thank you for your test / suggestions and the hope that this should work for me too.
I have tested your suggestions, but unfortunately without a solution to my problem. Regardless of how many historical data I use 50 or 200 the difference remains. However, if I only use 50, the difference is smaller, as expected. I ran the test both in paper mode and in real money mode, with the same difference.
06/23/2024 at 6:22 PM #234257Hi,
The difference lies in the use of different data…
Screeners always works with “real” data, i.e. data that has been adjusted after dividend…
The indicator is currently using data that has NOT been adjusted after dividend…
Solution: activate the option “adjust data after dividend” …
4 users thanked author for this post.
06/23/2024 at 7:21 PM #234264 -
AuthorPosts