Here is an interesting question. Without intraday minutes data, what is the best way to guess which of high and low happens first assuming only regular EOD data, that is, open,high,low,close,vol data is available? The EOD data does not have any information to tell which of high or low comes first.
From my experiments tested using thousands of EOD data points using multiple markets data, and validated with intraday data, the following algorithm shows around 86% accuracy.
Here DIFF, LT, GT, and SEL are mathematical operators for subtraction, less-than, greater-than, and selection (condition, value1, value2).
Just wonder someone might have a better approach. Thanks
From my experiments tested using thousands of EOD data points using multiple markets data, and validated with intraday data, the following algorithm shows around 86% accuracy.
d1=DIFF(DIFF(high, open), DIFF(open,low));
c1=LT(d1, 0.0);
d2=DIFF(DIFF(high, close), DIFF(close, low));
c2=GT(d2, 0.0);
hl=SEL(GE(ABS(d1), ABS(d2)), c1, c2);
c1=LT(d1, 0.0);
d2=DIFF(DIFF(high, close), DIFF(close, low));
c2=GT(d2, 0.0);
hl=SEL(GE(ABS(d1), ABS(d2)), c1, c2);
Here DIFF, LT, GT, and SEL are mathematical operators for subtraction, less-than, greater-than, and selection (condition, value1, value2).
Just wonder someone might have a better approach. Thanks