issues/ questions with TIMEFRAME(weekly)
Forums › ProRealTime English forum › ProScreener support › issues/ questions with TIMEFRAME(weekly)
- This topic has 10 replies, 2 voices, and was last updated 4 years ago by
robertogozzi.
-
-
08/04/2020 at 2:03 PM #140865
Dear all,
I have a small issue/question concerning the functionality of the timeframe.
I do have a screener with timeframe (weekly) and timeframe(daily).here is my question. If I have some code like this in timeframe (weekly)
12345if close > open thengreen = 1elsegreen = 0endifdoes it actually take the current week into consideration (if I check e.g. on a Tuesday or Wednesday) or is the code actually looking into the last (closed) week?
i also encounter that I get different results with the same screener if I look during the day or after trading hours… Is it possible that the system does look into the realtime information even though I just have the end of day account?
thanks for some clarification
best Morre
nB: I just have the regular end of day free account
08/04/2020 at 2:50 PM #140869It should take into account only the last closed weekkly candle (now it considers week Jul. 27-31) and the last closed daily candle (today it considers yesterday’s candle).
Tomorrow it will still consider the same weekly candle as above, but today’s daily candle.
08/04/2020 at 2:52 PM #140870Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read. Thank you 🙂
1 user thanked author for this post.
08/04/2020 at 7:46 PM #140891thanks a lot.
I adjusted the screener accordingly. lets see tomorrow/next week if all is fine.
all the best
08/05/2020 at 6:39 PM #140945hi there,
so, I did check it again. And today at 19.30 Berlin time, I ran the following screener as a test for the MDAX List.
This time, the screener refereed to the current week (03.08.2020 – 07.08.2020) whereas yesterday it just took the past week Jul. 27-31 into consideration.
Could somebody please look into this and/ or can explain the issue (and or check if occurs to all people the same)
screener with different timeframes12345678910111213141516171819202122232425// Beispielcode Screenertimeframe (weekly)if close < open thenredweek = 1elseredweek = 0endiftimeframe (daily)if open < close thengreencandle = 1elsegreencandle = 0endifif redweek = 1 and greencandle = 1 thenabc = 1elseabc = 0endifSCREENER [abc = 1](close as "close")all the best and many thanks
More1 user thanked author for this post.
08/05/2020 at 7:06 PM #140946Yes, it’s the same for me.
We must then assume the weekly TF is updated twice a week (wednesday and Saturday, or Friday night) or does it become LIVE for the last two days of the week ?
You can check tomorrow morning, if the price is regularly updated live or not.
08/05/2020 at 7:13 PM #140947hi,
I just ran the same screener with the Nasdaq. There the screener looked into the past week Jul. 27-31very strange and very inconvenient…
could some of the architects look into this and bring some light into darkness.
thanks
08/05/2020 at 10:44 PM #140953That could be because NASDAQ was not closed at the time of your test, while DAX was. Tomorrow morning NASDAQ might show the same as DAX.
08/06/2020 at 8:04 AM #140965Dear Roberto,
thanks for the clarification.Though, I think it is a bug – not really a feature – if a “weekly” timeframe is updated twice per week. In my opinion, the weekly should either a) be updated once a week e.g. Friday night, Saturday or Sunday or b) updated every day and looking back 7 days (rolling).
maybe I miss a point why it should be of any advantage being updated twice per week. Instead, I see, that the screeners work differently depending on the day of the week
if you have a better solution how to define search criteria in a weekly chart and at the same time in the daily chart, I am more than happy for all suggestions.
thanks and all the best
Morre08/06/2020 at 8:34 AM #140968That could be because NASDAQ was not closed at the time of your test, while DAX was. Tomorrow morning NASDAQ might show the same as DAX.
hi Roberto,
is there an overview when (at what time/at what date/at what day of the week) the timeframes are closed (day, week, month etc)
thanks
morre08/06/2020 at 9:44 AM #140978I don’t really know, you should ask PRT about this.
-
AuthorPosts