Home Shop

Selected System


MACD System


This system back-tests for buys/sells when the MACD goes above/below its trigger line, which is a 9-period Exponential Moving Average of the MACD. It will also use an oversold or overbought condition for the entry or exit if the crossover doesn't exist. This system's formulas match those used in the Equis - MACD Expert Advisor. Note: Exponential indicators are sensitive to the amount of data loaded, so the buy/sell signals may vary if you vary the amount of data loaded.

Long Entry Code(copy and paste into the Enhanced System Tester):
MACD() > Mov( MACD(), 9, EXPONENTIAL) OR {Oversold condtion} OscP(12,26,E,%) >= 3 AND ROC(OscP(12,26,E,%),5,$) = Sum(Abs(ROC(OscP(12,26,E,%),1,$)),5)
Long Exit Code(copy and paste into the Enhanced System Tester):
MACD() < Mov( MACD(), 9, EXPONENTIAL) OR {Overbought condtion} OscP(12,26,E,%) >= 3 AND ROC(OscP(12,26,E,%),5,$) = Sum(Abs(ROC(OscP(12,26,E,%),1,$)),5)
Short Entry Code(copy and paste into the Enhanced System Tester):
MACD() < Mov( MACD(), 9, EXPONENTIAL) OR {Overbought condtion} OscP(12,26,E,%) >= 3 AND ROC(OscP(12,26,E,%),5,$) = Sum(Abs(ROC(OscP(12,26,E,%),1,$)),5)
Short Exit Code(copy and paste into the Enhanced System Tester):
MACD() > Mov( MACD(), 9, EXPONENTIAL) OR {Oversold condtion} OscP(12,26,E,%) >= 3 AND ROC(OscP(12,26,E,%),5,$) = Sum(Abs(ROC(OscP(12,26,E,%),1,$)),5)