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.

Advertisements

Bollinger Bands Breakout and RSI Trading System

When the RSI is above 70, and when the Price drops above the Higher Bollinger Band.When the RSI is below 30, and when the Price drops below the Lower Bollinger Band.

BUY{
SET BT = BBT(CLOSE,20,2,SIMPLE);
SET RS = RSI(CLOSE,11);
RS > 70 AND CROSSOVER(CLOSE,BT);}

SELL{
SET BB = BBB(CLOSE,20,2,SIMPLE);
SET RS = RSI(CLOSE,11);
RS < 30 AND CROSSOVER(BB,CLOSE);} 

This slideshow requires JavaScript.

Use Of MTF( Multi Time Frame )

MTF stores price vectors for given period. This function assigns index number specified to vector and stores values as an array. The index number must be unique if the
function is used multiple times in a formula.

BUY : when RSI in 60 min < 25 and RSI in 5 min < 40
SELL : when RSI in 60 min > 90 and RSI in 5 min > 80

 

BUY{
SET MT = MTF(60,CLOSE,1);
SET RSM = RSI(MT,14);
SET RS = RSI(CLOSE,14);
RSM < 25 AND RS < 40;}

LONGEXIT{
SET MT = MTF(60,CLOSE,1);
SET RSM = RSI(MT,14);
SET RS = RSI(CLOSE,14);
RS > 80 AND RSM > 75;}

SELL{
SET MT = MTF(60,CLOSE,1);
SET RSM = RSI(MT,14);
SET RS = RSI(CLOSE,14);
RSM > 90 AND RS > 80;}

SHORTEXIT{
SET MT = MTF(60,CLOSE,1);
SET RSM = RSI(MT,14);
SET RS = RSI(CLOSE,14);
RSM < 20 AND RS < 40;}

This slideshow requires JavaScript.

Wilder’s Directional Movement System

The ADX (Average Directional Movement Index) is an indicator of how much the market is trending, either up or down: the higher the ADX line, the more the market is trending and the more suitable it becomes for a trend-following system.

BUY : When RSI crossed above 53 line and ADX greater than 25.
SELL : When RSI crossed above 80 line and ADX greater than 25.

 

BUY{
set rs = RSI(CLOSE,17);
set ad = ADX(14);
CROSSOVER(rs,53) and ad>25;}

LONGEXIT{
set rs = RSI(CLOSE,17);
set ad = ADX(14);
crossover(rs,80) and ad>25;}

This slideshow requires JavaScript.