An example of the moving average crossover trading system |
 |
Perhaps the simplest of all trading systems, this simple crossover is the basis for many trading systems.
This trading system uses exponential moving averages to reduce the lag in simple moving averages.
Rules:
Buy when the short MA crosses above the long MA
Sell when the long MA crosses below the short MA
 | |  | |
This trading system is included in the example trading systems that come with the free 30 day trial EOD version of Seer.
Once you have filled out this form simply download Seer to try this trading system.
| |  | |  |
#A simple moving average crossover system
if (not Position) {
#Only go long if we dont hold a position, and we have a crossover
BuyOpen if Crossover(EMA(Close,12),EMA(Close,26));
}
else {
#Sell if we have a crossunder
SellOpen if Crossunder(EMA(Close,12),EMA(Close,26));
}
|