Median Price (MP) And Weighted Moving Average (WMA)

A Median Price is simply an average of one period’s high and low
values.A Weighted Moving Average places more weight on recent
values and less weight on older values.

 

BUY{
SET MA200 = EMA(CLOSE,200);
SET MD = MP();
SET MA = WMA(MD,50);
MD > MA AND CLOSE > MAX(HIGH, 10) AND CLOSE > MA200;}

SELL{
SET MA200 = EMA(CLOSE,200);
SET MD = MP();
SET MA = WMA(MD,50);
MD < MA AND CLOSE < MIN(LOW, 10) AND CLOSE < MA200;}

This slideshow requires JavaScript.

Advertisements