ProScreener triggers signal too late
Forums › ProRealTime English forum › ProScreener support › ProScreener triggers signal too late
- This topic has 6 replies, 2 voices, and was last updated 7 years ago by Nicolas.
-
-
06/09/2017 at 8:33 PM #37922
Dear all,
I have got a problem with ProScreener and I have spent a lot of time on fixing it. However, I was not successful, so you are basically my last hope 😉
Unfortuately, ProScreener does not seem to only list values that fulfill my defined criterion on weekly basis.
This is the code (it is based on Nicholas’ MBFX timing indicator, which you can find in the library):
ProScreener123456789101112131415161718192021222324252627//PRC_MBFX Timing | indicator//25.04.2017//Nicolas @ www.prorealcode.com//Sharing ProRealTime knowledge//translated from Pinescript indicator code//---SettingsshowHLC=1 //boolean variable//Range1=4//Range2=8//---End of settingsmiddle = (((high + low) / 2) + ((high[1] + low[1]) / 2) + ((high[2] + low[2]) / 2) + ((high[3] + low[3]) / 2) + ((high[4] + low[4]) / 2)) / 5scale = (((high - low) + (high[1] - low[1]) + (high[2] - low[2]) + (high[3] - low[3]) + (high[4] - low[4])) / 5) * 0.2hh = (high - middle) / scalel = (low - middle) / scalec = (close - middle) / scaleif showHLC thenht=average[1]((hh+l+c)/3)elseht=cendifindicator1 = htc1 = (indicator1 CROSSES OVER 0)SCREENER[c1] ((close/DClose(1)-1)*100 AS "% Gestern")The goal is to come up with stocks for which the MBFX value (ht) just crosses over the value 0, on weekly level.
However, when I just run this ProScreener on the German XETRA, one of the listed stocks is Lanxess (see enclosed picture)Apparently, this stock has triggered the signal last week, not this one. Consequently, the trigger comes too late.
Do you have any idea how to fix this? Otherwise, ProScreener is not useful at all for my trading strategy…
06/09/2017 at 8:55 PM #3792406/09/2017 at 9:14 PM #3792506/10/2017 at 9:01 AM #37952Crosses are always confirmed 1 bar later. Bt, if you launch a Sunday screener on a market shares you do not have real time, its calculations will be done on Thursday data.
Indeed, in order for an end-of-day EOD client to have access to Friday data on a stock market, the current day must be the next trading day in the market, case on Monday.06/11/2017 at 5:51 PM #3806906/13/2017 at 7:17 PM #3823506/13/2017 at 7:28 PM #38236 -
AuthorPosts
Find exclusive trading pro-tools on