You simply cannot use any index data from the ASX that includes the opening price. All that can be used is C on C and maybe some of the HL & V data, thats a big maybe.
Now I am confused. Is this due to the indices extended trading hours, and the open may not be accurate? Is this limited to ASX indices or is common worldwide?
I don't think so. The market is not some static beast. Patterns come, go, breakdown and return all the time. For example have a look at this which is similar to what you are trying to do,I am limited to data available, obviously the longer the better.
I have 20yrs of data for XAO,
52% chance that tomorrow will be up also ?
Likelihood of a third day up = 27%.
Trembling Hand: staggered open, makes sense. Will revise code used for index results, with attention to gaps. Thanks for the heads up.
professor_frink: haven't encountered that blog, looks like good info.
Another poster suggested this:
Summing independent events, P(A and B) = P(A) * P(B) BUT working out P(B).
P(A and B) = 2 days up = up2 / totalbars = 677 / 2497 = .27
P(A) = today up = up1 / totalbars = 1307 / 2497 = .52
so P(B) = tomorrow up = P(A and B) / P(A) = .27/.52 = .52 = 52% chance that tomorrow will be up also ?
Likelihood of a third day up = 27%.
Another method, but which one is correct?
Mark
Such inefficiencies make empirical and statistical timing strategies (such as those used in this report) to take advantage of such and produce systems that help to both reduce risk and enhance return
Another interesting fact about
the JCG data is that 51% of the days
were up and 49% were down. That is
very close to flipping a coin. The trend
is revealed by the fact that the up days
gained 3.48% on average while the
down days lost considerably less at –
2.27% on average.
There are persistent TRENDS
I don't have a lot to add, aside from a thanks. It was a useful exercise in that it's something most traders ponder at some point. What's next?brty: Apologies. Coding error. You are correct - prob of a single day being up ranges from 30% to 68%, over 30 bars / 10 yrs. That did surprise me.
This exercise has become disappointing. If anyone cares to comment on the initial mathematical question, please do. Otherwise, I won't be continuing this.
Mark
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?