ClosedBar.IsGreen

Determines if the latest closed bar is Green.

Returns: Series<Boolean>

ClosedBar.IsGreen is a built-in function - you can use it directly. Below is an example implementation:

1
function ClosedBar.IsGreen(): ClosedBar.open < close