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):
//PRC_MBFX Timing | indicator
//25.04.2017
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
//translated from Pinescript indicator code
//---Settings
showHLC=1 //boolean variable
//Range1=4
//Range2=8
//---End of settings
middle = (((high + low) / 2) + ((high[1] + low[1]) / 2) + ((high[2] + low[2]) / 2) + ((high[3] + low[3]) / 2) + ((high[4] + low[4]) / 2)) / 5
scale = (((high - low) + (high[1] - low[1]) + (high[2] - low[2]) + (high[3] - low[3]) + (high[4] - low[4])) / 5) * 0.2
hh = (high - middle) / scale
l = (low - middle) / scale
c = (close - middle) / scale
if showHLC then
ht=average[1]((hh+l+c)/3)
else
ht=c
endif
indicator1 = ht
c1 = (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…
Do you have subscription to live data for this particular share?
Unfortunately, I do not have live data for this share.
I fully understand that this week’s candle will be shown as soon as the week has been closed.
But does not buying the data mean that the signal will have a delay of two weeks?
Crosses 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.
Thanks a lot for letting me know, Nicholas – very good to know!
So, just to make sure that I purchase the correct data:
If I want ProScreener to list stocks for which the signal is generated this week, I need to buy realtime data – correct?
Please find attached a test that seems ok for NASDAQ/NYSE stocks for which I got live datas. RSI[14] crosses over 50 this week.