Weighted Close is an average of each day’s open, high, low, and close, where
more weight is placed on the close.
The Weighted Close indicator is a simple method that offers a simplistic view of market prices.
set BUY = WC() > REF(WC(), 1)
Evaluates to buy when the weighted close is higher than the previous value.