I did some work in this direction last year. Worked with several ideas like calculating the high, low, close as a function of the open in order to push the candles into a 3 dimensional object, made for some nice and pretty charts.
Also played with ideas such as the relative size of the wick to the body, size of the upper vs lower wick, avg price of the candle (built from the ticks, and high+low/2 ... )
Tried different flavors of the k clustering algo, like manhatan distance, euclidean distance... etc...
Setting the initial centroids by hand took a little hacking of the libraries but came in handy to allow me to port results from one data set to the next without having to re-run everything every time.
I worked on these for about 3 months, but had to put them down since I wasn't getting any tangible results and had other more urgent needs (like getting my db up and running)