Relative Momentum Index (RMI) With WMA.

The Relative Momentum Index (RMI) is a variation of the Relative Strength Index (RSI). While the RMI counts up and down days from today’s close relative to the close n-days ago while the RSI counts days up and down from close to previous close.

BUY{
SET RM = RMI(CLOSE,50,9);
SET MA = WMA(RM,50);
CROSSOVER(RM,MA) AND RM < 20;}

LONGEXIT{
SET RM = RMI(CLOSE,50,9);
SET MA = WMA(RM,50);
CROSSOVER(MA,RM) AND RM > 60;}

SELL{
SET RM = RMI(CLOSE,50,9);
SET MA = WMA(RM,50);
CROSSOVER(MA,RM) AND RM > 60;}

SHORTEXIT{
SET RM = RMI(CLOSE,50,9);
SET MA = WMA(RM,50);
CROSSOVER(RM,MA) AND RM < 20;}

This slideshow requires JavaScript.

Swing Index (SI)

The Swing Index (Wilder) is a popular indicator that shows comparative price strength within a single security by comparing the current open, high, low, and close prices with previous prices.

BUY{
SET TP1 = TP();
SET MA = WMA(TP1,50);
SET SI1 = SI(2);
SET MA1 = EMA(SI1,21);
CROSSOVER(TP1,MA) AND REF(MA1,1) < 0.01 AND REF(CLOSE,1) > REF(OPEN,1);}

LONGEXIT{
SET TP1 = TP();
SET MA = WMA(TP1,50);
SET SI1 = SI(2);
SET MA1 = EMA(SI1,21);
CROSSOVER(MA,TP1) AND REF(MA1,1) > 0.01 AND REF(CLOSE,1) > REF(OPEN,1);}

SELL{
SET TP1 = TP();
SET MA = WMA(TP1,50);
SET SI1 = SI(2);
SET MA1 = EMA(SI1,21);
CROSSOVER(MA,TP1) AND REF(MA1,1) > 0.01 AND REF(CLOSE,1) > REF(OPEN,1);}

SHORTEXIT{
SET TP1 = TP();
SET MA = WMA(TP1,50);
SET SI1 = SI(2);
SET MA1 = EMA(SI1,21);
CROSSOVER(TP1,MA) AND REF(MA1,1) < 0.01 AND REF(CLOSE,1) > REF(OPEN,1);}

This slideshow requires JavaScript.

MACD WITH WMA

This trading system is based on MACD,WMA and CCI indicators.

BUY{
SET MCD = MACD(8,12,9,SIMPLE);
SET W13 = WMA(CLOSE,13);
SET W27 = WMA(CLOSE,27);
SET C1 = CCI(14,SIMPLE);
CROSSOVER(W13,W27) AND MCD > 0.01 AND C1 > 0.01;}

SELL{
SET MCD = MACD(8,12,9,SIMPLE);
SET W13 = WMA(CLOSE,13);
SET W27 = WMA(CLOSE,27);
SET C1 = CCI(14,SIMPLE);
CROSSOVER(W27,W13) AND MCD < 0.01 AND C1 < 0.01;}

This slideshow requires JavaScript.

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.

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.

Weighted Moving Average (WMA) With Bollinger Bands

A Weighted Moving Average places more weight on recent values and less weight on older values. Bollinger bands rely on standard deviations in order to adjust to changing market conditions. When a stock becomes volatile the bands widens (move further away from the average). Conversely, when market becomes less volatile the bands contracts (move closer to the average).

SMA(CLOSE,9)  : Simple Moving Average of 9 period on Close
EMA(ma1,9)      : Exponential Moving Average of 9 period on SMA
WMA(ma2,5)    : Weighted Moving Average of 5 period on EMA

BUY{
SET ma1 = SMA(CLOSE,9);
SET ma2 = EMA(ma1,9);
SET ma3 = WMA(ma2,5);
SET vol = SMA(VOLUME,10);
SET bbt = BBT(CLOSE,10,2,SIMPLE); 
SET smab = SMA(bbt,50);
CROSSOVER(ma1,ma3) and CLOSE > bbt and VOLUME > vol and CLOSE > smab AND EMA(ma1,9) > SMA(bbt,50);}
SELL{
SET ma1 = SMA(CLOSE,9);
SET ma2 = EMA(ma1,9);
SET ma3 = WMA(ma2,5);
CROSSOVER(ma3,ma1);}

This slideshow requires JavaScript.