Operators
>
Greater than. Applicable to numerical expressions.
Syntax
expr0 > expr1
Example
indicator("Bullish Candle Detector", overlay=true)
// Check if the current candle is bullish
isBullish = close > open
// Plot a green background when the candle is bullish
bgcolor(isBullish ? color.green : na)