Bearish and bullish candles?
I am planing to program an indicator needing to determine the candle status(bearish or bullish). how can I code this?
As you may understand, the definition of bearish and bullish may be clear to you, but may not be so obvious for some other people.
- Is it bullish because the high of the day is higher than the high of previous day?
There are many more variants ... but for example for that case you would compare:
I mean that the candle is increasing is bullish ( its open is lower than its close).
self.data.open < self.data.close?
Thanks for your help.
Is there any indicator that I can use to code my indicator regarding bearish and bullish candle as i explained above?
There is no indicator, you have to code the comparison of the points you want as pointed out above
self.data.open < self.data.close