Weighted Moving Average (WMA) And Weighted Close (WC)

A Weighted Moving Average places more weight on recent values and less weight on older values.Weighted Close is an average of each day’s open, high, low, and close, where more weight is placed on the close.

BUY : crossover of WMA and average of Weighted close
SELL: crossover of average of Weighted close and WMA

BUY{
SET WC = WC();
SET SWC = SMA(WC,50); 
SET WM = WMA(CLOSE,21);
CROSSOVER(WM,SWC);}

SELL{
SET WC = WC();
SET SWC = SMA(WC,50); 
SET WM = WMA(CLOSE,21);
CROSSOVER(SWC,WM);}

This slideshow requires JavaScript.

Advertisements