Very confused – where is the last bar?
Forums › ProRealTime English forum › ProScreener support › Very confused – where is the last bar?
- This topic has 17 replies, 5 voices, and was last updated 8 years ago by Nicolas.
-
-
04/15/2016 at 8:37 AM #5419
I have reduced a screener down to two lines in an attempt to discover the source of the problem.
When I run this screener:
c1 = Close < Open
Screener [c1] (Close)it presents me with a list of “Shares – Australia” that satisfy the condition 5 bars back.
When I run it against “Shares – UK MF” or “Shares – Germany”, it is correct at the last bar.
In all cases I am using the closing price and bar direction to confirm my information.
As you may suspect, I am having great difficulties. Help please.
12c1 = Close < OpenScreener [c1] (Close)04/15/2016 at 7:10 PM #546804/16/2016 at 3:51 AM #5479A little less wiggle room for those doubting what is going on.
I have changed the code to:
TIMEFRAME(Daily)
Screener [Close < Open] (Open)I have introduced the TIMEFRAME command to limit the scope of the screener from within the code. I have also shifted the criteria into the screener line of code to limit accidental inclusions.
The results areas follows:
Currencies – Mini Correct at Bar[0]
Shares – Norway Correct at Bar[0]
Shares – Italy Correct at Bar[0]
Shares – Germany Correct at Bar[0]
Shares – Australia Correct at Bar[4] Incorrect at Bar[0]The sample shows the correct operation of the screener in 4 out of 5 samples.
Why won’t it work on “Shares – Australia”?
Where else may it not work?
Where else may it not work in the future?04/16/2016 at 12:21 PM #548404/17/2016 at 10:51 AM #5513I’m glad I could give you data/code so you could replicate the problem. It explains why I could never get any analysis to work on “Shares – Australia” CFD’s.
04/19/2016 at 12:19 PM #564404/20/2016 at 5:14 AM #5696On Friday the data being reported on was Bar[4].
On Monday it was Bar[3].
Today it is Bar[2].If this rate of improvement persists, I should be able to make a reasonable income by next Monday with data being reported on Bar[-1] or Bar[-2].
04/20/2016 at 9:41 AM #570104/21/2016 at 6:12 AM #5732Nicolas, thank you. Your efforts have produce a desired result – equality with the rest of the markets. “Shares – Australia” is now screening on the last closed daily bar.
We can just hope for THE desired result of moving on to charts with Bar[-1] or Bar[-2] displayed. 😉
04/21/2016 at 8:41 AM #573604/26/2016 at 7:40 AM #6013Darn it!@^%. My [-1] bars didn’t turn up. Looks like I’ll have to make my money the hard way – just like everyone else.
Thanks for your assistance.
04/26/2016 at 8:21 AM #601605/22/2016 at 8:33 PM #7707Hello guys,
I have a similar question like the topic of this post, that is why I do not want to open another Topic. I hope that is OK.
I would like to use my screeners in the evenings when I come home from work. I am usually trading the german DAX.
Unfortunately my screeners deliver always one day later, so the results are old already.
Here is a small example (bullish Engulfing) tested on german, french and US shares:
123TIMEFRAME(Daily)Filter = CLOSE[1] < OPEN[1] AND OPEN < CLOSE[1] AND CLOSE > OPEN[1]SCREENER [ Filter ]Screener was executed on Sunday 22nd of May.
Expected: Signal on Friday 20th (supposed to be the last bar???)
Result: Signal on Thursday 19th (the bar before the last bar???)
Does anybody know how I can use a screener in the evenings after the trading session of the instrument (here DAX) is closed and get results for that day already?
What is the explanation of this problem?
Kind regards
05/24/2016 at 2:54 PM #7884Hello Guys,
I’m facing the same issue with the weekly last bars for Close price and Volume for UK Stocks.
Close or Close[0] which should show the weekly close for the last week is showing the close price for 2 weeks before which is basically Close[2] if the offset would have been working as expected.
Is it a known bug as I have seen there are a couple of threads in this forum asking the same question, though for different countries’ stocks?
I believe, this is a severe issue that needs to be fixed, to provide the ability to screen stocks on weekly timeframe.
Any help would be appreciated.
Kind regards
05/25/2016 at 9:12 AM #7954Hi everyone,
Everything I read here seems “normal” IMO. I don’t know what are the real-time datas subscribed by everyone but:
If you are running a stock screener on Sunday for shares you don’t have subscribed to, you’ll get Thursday result. To get the Friday data on a share market, it needs that the actual day would be the next traded one, so in this case : Monday.
Also please consider that “traded weeks” differ for instrument : while some week start on Sunday, other ones start on Monday.
-
AuthorPosts