Type: Indicator, Name: Simple Futures MA
Inputs: Price(Close), FastAvg(9), SlowAvg(50), AvgFltr(80);
Vars: FastMA(0), SlowMA(0), Filter(0);
FastMA = Average(Price, FastAvg);
SlowMA = Average(Price, SlowAvg);
Filter = Average(Price, AvgFltr);
Condition1 = Close > Filter;
Condition2 = Close < Filter;
Plot1(FastMA, «FastMA»);
Plot2(SlowMA, «SlowMA»);
Plot3(Filter, «MAFilter»);
IF (Plot1 Crosses Above Plot2 OR Plot1 Crosses Below Plot2) AND
(Condition1 OR Condition2) Then
IF CheckAlert Then Alert = True;