Minimal Fill Examples

Category: trend

Demonstrates various use cases for the Pine Script fill() function, including SMA ribbons, conditional price-to-MA highlighting, and gradient fills between levels.

Formula

SMA_{fast} = \text{sma}(close, 10) \\ SMA_{slow} = \text{sma}(close, 20) \\ FillColor = \text{close} > SMA_{slow} ? \text{Green} : \text{Red}

Inputs

See signal primitives and every published strategy that uses Minimal Fill Examples on WOBR StrategyVerse.


Open the interactive page on WOBR AI → · WOBR.AI home