But how ?
Quote from andrey_tech:
But how ?
Quote from spike500:
I have a Tradestation, and i can make 2, 3 or any days charts.
I do this by taking the hourly charts and by specifying the period as 24, 48, 72 ..... periods. This gives automatically 1, 2, 3 or... days charts.
I don't know if this is possible with Metastock.
Quote from spike500:
Yes,
if you post the data in an excel sheet here i will pick it up and place it back afterwards.
Be sure to explain clearly what has to be done.
5) Quote from EliteInterest:
this is a simple problem
let us say you place the data in columns A thru E, starting with row 1
you want to convert the 1 day data to 2 day, so enter the following:
in cell F1, you type =B1
in cell G1, you type =MAX(C1,C2)
in cell H1, you type =MIN(D1,D2)
in cell I1, you type =IF(E2=0,E1,E2)
so, B thru E represent the original OHLC, and F thru I represent the new OHLC for 2-day data.
you now simply copy cells F1 thru I1 to F3 thru I3, F5 thru I5, etc, etc.
_________________________
if you want to convert to 5-day:
F1 stays the same.
G1 would become =MAX(C1:C5)
H1 would become =MIN(D15)
I1 would be come =IF(E5>0,E5,IF(E4>0,E4,IF(E3>0,E3,IF(E2>0,E2,E1))))
and in this case you copy F1 thru I1 to F6 thru I6, F11 thru I11, etc.
hope this helps
ps if you have 0's in rows below the last row of data, the formula for the new Low (column H1) would have to change (as the MIN function in excel will ignore a blank cell in a MIN calculation but will of course return zero if there is a zero there). this is possibly relevant for the last calculated candle.
also, if you see a smiley above, it actually says (without the spaces):
= M I N ( D 1 : D 5 )
i hope this is right; try it and let us know.
edit: one issue with this method is if there is a closing price of zero; this would possibly create incorrect output data. a modification would be to test for null instead of zero.
Quote from andrey_tech:
I attached AA daily data. Need 2,3 and 5 daily (weekly) data from it. But more importantly I need formula about excel in order to apply all other stocks.
Thanks,
Andrey
Quote from andrey_tech:
Thanks for your help. But G and I columns gave error. F and H is perfectly done. I don't know the exact reason about the error. If you can test my attached file, maybe you can see the same error. Or ?
