Candlestick UP state detection fix

Hi,
A candle's state is UP whenever it's CLOSE value is greater than OPEN, regardless of previous candle's values. For details refer to Wiki: http://en.wikipedia.org/wiki/Candlestick_chart

![240px-Candle_definition_en svg](https://f.cloud.github.com/assets/720339/131249/509697be-7050-11e2-8062-aba31ca5967b.png)

Because I'm not confident whether this rule should be applied for OHLC I didn't modify it's implementation.

Added notes in the source code so should be clear for ever
yone I hope.
Regards