Type: System, 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;
IF FastMA Crosses Above SlowMA AND Condition1 Then
Buy This Bar on Close;
IF FastMA Crosses Below SlowMA AND Condition1 Then
ExitLong This Bar on Close;
IF FastMA Crosses Below SlowMA AND Condition2 Then
Sell This Bar on Close;
IF FastMA Crosses Above SlowMA AND Condition2 Then
ExitShort This Bar on Close;