Hi everybody
i have got a series of data which is captured live from exchange.
the format of the data is as follows:
Open high low close
5,912.60 5,912.60 5,907.25 5,911.65
5,911.95 5,920.80 5,911.95 5,920.70
5,920.80 5,925.00 5,920.80 5,924.60
5,924.10 5,927.00 5,922.25 5,927.00
5,927.00 5,932.00 5,927.00 5,931.10
5,931.70 5,933.00 5,924.70 5,924.70
5,926.00 5,926.00 5,922.30 5,924.00
5,924.80 5,925.00 5,924.00 5,924.00
5,924.00 5,924.00 5,918.35 5,919.00
etc.
I need to write a vba which can tell me how many time this data set points has changed by points 10 (for e.g., if we start with 5912.60 then when we reach 5922.60 then its one and then 5932.60 then its two and again if it is 5922.60 or 5942.60 then its three and so on, I need a vba since the no. of data points are in lakhs.) (Just to clarify i need to say if high is lets say 5950 and we start with 5912.60 it means it has moved 3 times i.e. 5922.60, 5932.60 and 5942.60)
regards
Anup
i have got a series of data which is captured live from exchange.
the format of the data is as follows:
Open high low close
5,912.60 5,912.60 5,907.25 5,911.65
5,911.95 5,920.80 5,911.95 5,920.70
5,920.80 5,925.00 5,920.80 5,924.60
5,924.10 5,927.00 5,922.25 5,927.00
5,927.00 5,932.00 5,927.00 5,931.10
5,931.70 5,933.00 5,924.70 5,924.70
5,926.00 5,926.00 5,922.30 5,924.00
5,924.80 5,925.00 5,924.00 5,924.00
5,924.00 5,924.00 5,918.35 5,919.00
etc.
I need to write a vba which can tell me how many time this data set points has changed by points 10 (for e.g., if we start with 5912.60 then when we reach 5922.60 then its one and then 5932.60 then its two and again if it is 5922.60 or 5942.60 then its three and so on, I need a vba since the no. of data points are in lakhs.) (Just to clarify i need to say if high is lets say 5950 and we start with 5912.60 it means it has moved 3 times i.e. 5922.60, 5932.60 and 5942.60)
regards
Anup