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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s