CVBars are volume dependent as opposed to time dependent candlesticks; the close of the candle occurs when some volume criteria is met, not some variable timescale (1m, 5m, etc.)
This is my first attempt to code and would be grateful for feedback, assistance, and importantly check to make sure this is in fact creating bars properly.
At this time, code needs to be edited to enter volume criteria, and the name of the data file. Data should be in format (O,H,L,C,V)
% 4-6-09 Added comments and data file as example. Utilize Import Wizard and name accordingly.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.