Forums › ProRealTime English forum › ProBuilder support › Length body of the candle › Reply To: Length body of the candle
06/01/2023 at 8:15 PM
#215563
Broken down into “Bullish Candle” (color yellow) and “Bearish Candle” (color red)…
Body's
1 2 3 4 5 6 |
If Close>Open and Close[1]>Open[1] and (Close-Open)/(Close[1]-Open[1])>1.5 then DrawCandle(Open,High,Low,Close) Coloured("Yellow") //Bullish Candle elsif Close<Open and Close[1]<Open[1] and (Close-Open)/(Close[1]-Open[1])>1.5 then DrawCandle(Open,High,Low,Close) Coloured("Red") //Bearish Candle EndIf Return |