I am taking a look at the candlestyle code because I want to code my own style. I am looking at the "candle style" code . I understand the logic behind it. But I don't understand why the code I attach is a valid code for wicks. I see that the candles are drawn in an order : FIrst It draws the body , second the High wick and third the low wick. But as far as I understand, for the wicks the logic is "rare". Let's imagine it is drawing an up candle. The condition for drawing the upper wick will be if High >= Max (Open,close) . But the condition that is coded in the current cd file doesn't make any sense to me. It says that a wick is draw if high is below the minimun of the open,close. So in an upper candle, is High is less than the open. Doesn't make any sense to me
Could someone, please, try to explain to me the logic bihind the current code ?
Thanks
Comment