EMA with Supertrend As Source

Supertrend is a trend following indicator which can be used to identify upward or downward
trends.

BUY{
SET ST = SUPERTREND(7,3,SIMPLE);
SET MA = EMA(ST,9);
MA > ST AND MA <= (ST * 1.005) AND CLOSE > MA;}

SELL{
SET ST = SUPERTREND(7,3,SIMPLE);
SET MA = EMA(ST,9);
MA < ST AND ST <= (MA * 1.005) AND CLOSE < MA;}

This slideshow requires JavaScript.

Advertisements

Finding the Maximum VOLUME

BUY : Current Volume > Maximum Volume for the Day (excluding current bar) * 3

BUY{
SET BC = BARCOUNT(TODAY);
SET MVOL = MAX(VOLUME, BC);
VOLUME > MVOL * 3;}

This slideshow requires JavaScript.

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);}

Greek Trend Trader (GTT) : Introduction to Greek Language

trade

GL (Greek Language) is powerful yet simple programming language for traders.The language provides the framework required to build sophisticated trading programs piece by piece without extensive training or programming experience.

For Example :

BUY: Crossover of Exponential Moving averages of period 5 and 30.
LONGEXIT: High is lower than EMA of 21 period.

buy{
crossover(ema(close,5),ema(close,30));}

longexit{
high<ema(close,21);}