Plot Candle
FXC911 – Forex & Crypto News & Insights
Goals
Pine Script Code
//@version=5
indicator("Plot Candle")
candleColor = if (close > open)
color.green
else
color.red
plotcandle(open, high, low, close, title = "CANDLE", color = candleColor, wickcolor = color.orange, bordercolor = color.white)Code Output

Explanation
1. Version Declaration:
2. Indicator Declaration:
3. Determining Candle Color:
4. Plotting the Candle:
Keywords
Visit me on:
Last updated