How To Color An Indicator?
FXC911 – Forex & Crypto News & Insights
Goals
Pine Script Code
//@version=5
indicator("Indicator Color")
plot(close, color=color.green)
plot(open, color=color.new(#ecf012, 10))Code Output

Explanation
1. Version Declaration:
2. Indicator Declaration:
3. Plotting Close Value with Color:
4. Plotting Open Value with Color and Transparency:
Keywords
Visit me on:
Last updated