AVERAGE OF HIGHS AND LOWS

BUY{
SET HV = SMA(HIGH,50);
LOW > HV;}

SELL{
SET LV = SMA(LOW,50);
HIGH < LV;}

This slideshow requires JavaScript.

Advertisements

USE OF CROSSOVER Function :

The CROSSOVER function helps you one series has crossed over another. For
example, we can find the exact point in time when one moving average
crossed over another by using the CROSSOVER function:

BUY{
CROSSOVER(EMA(CLOSE,21),EMA(CLOSE,50));}

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

SELL{
CROSSOVER(EMA(CLOSE,50),EMA(CLOSE,21));}

SHORTEXIT{
CROSSOVER(EMA(CLOSE,21),EMA(CLOSE,50));}

1

MACD Strategy

1

2

MACD : Moving Average Convergence/Divergence
RSI : Relative Strength Index

BUY : When MACD Crosses above MACD Signal Line And RSI > 60
SELL : when EMA Of Period 9 Crosses above Current High

Formula As Follows :

BUY{
set ma1 = MACDSIGNAL(13,26,9,SIMPLE);
set ma2 = MACD(13,26,9,SIMPLE);
CROSSOVER(ma2,ma1) and RSI(CLOSE,21) > 60;}

LONGEXIT{
CROSSOVER(EMA(close,9),HIGH);}