chackiejan
New member
Hey, I've the code that marks strength candles (with star on top) & indecision candles (without star on top)
what id like to mark is a concept of candle shunting by changing the color to light green for bull & light red for bear candles for easy visibility.
1) For Bull strength candles, if open of recent green strength candle is lesser than or equal to close of past green strength candle then this two green strength candles are in shunting irrespective of non-strength candles between them. And here between open of past strength candle and close of recent strength candle provide momentum zone.
2) For Bear strength candles, if open of recent red strength candle is higher than or equal to close of past red strength candle then this two red strength candles are in shunting irrespective of non-strength candles between them. And here between open of past strength candle and close of recent strength candle provide momentum zone.
ref : 1) https://deishman.wordpress.com/2019/07/01/candles-body-shunting/
2)
I'd also like to mark the bull strength candle with green star and bear strength candle with red star on top instead of the current yellow.
what id like to mark is a concept of candle shunting by changing the color to light green for bull & light red for bear candles for easy visibility.
1) For Bull strength candles, if open of recent green strength candle is lesser than or equal to close of past green strength candle then this two green strength candles are in shunting irrespective of non-strength candles between them. And here between open of past strength candle and close of recent strength candle provide momentum zone.
2) For Bear strength candles, if open of recent red strength candle is higher than or equal to close of past red strength candle then this two red strength candles are in shunting irrespective of non-strength candles between them. And here between open of past strength candle and close of recent strength candle provide momentum zone.
ref : 1) https://deishman.wordpress.com/2019/07/01/candles-body-shunting/
2)
I'd also like to mark the bull strength candle with green star and bear strength candle with red star on top instead of the current yellow.
Code:
def bodyheight = if BodyHeight() > (high - low) * .5 then 1 else 0;
AddChartBubble(bodyheight, high, "*", Color.YELLOW);
AddChartBubble(!bodyheight, high*1.001, AsText(high), Color.WHITE);
AddChartBubble(!bodyheight, low * .999, AsText(low), Color.WHITE, no);