Reference High Line (RHL) Function :

3

BUY   : Current High > High when EMA of 5 period Crosses above EMA of 21 period                 Most Recently
SELL : EMA of 21 period Crosses above EMA of 5 period 

 

BUY{
set cnd = CROSSOVER(EMA(CLOSE,5),EMA(CLOSE,21));
set hv = RHL(cnd,0);
CROSSOVER(HIGH,hv);}

LONGEXIT{
CROSSOVER(EMA(CLOSE,21),EMA(CLOSE,5));}

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