Seer logo - advanced backtesting for stock, futures and forex trading systems using using technical analysis indicators, charts, money management and position sizing
SID NameDescriptionRating
865 WeeklyEMADailySA trading system using the weekly EMA crossing over a daily SMA to enter a new position.Not Rated

Notes for this Trading Account:

An example of a trading system using the weekly EMA crossing over a daily SMA to enter a new position. Each moving average has it's own variable to define the number of bars, allowing the use of the optimiser to find the best periods for each moving average.

Rules for this Trading Account:

Notes for this Trading System:

An example of a trading system using the weekly EMA crossing over a daily SMA to enter a new position. Each moving average has it's own variable to define the number of bars, allowing the use of the optimiser to find the best periods for each moving average.

Rules for this Trading System:

Bar event logic:

#An example of a trading system using Weekly EMA crossing over 
#a daily SMA

unless (Position) {
  #Do buy logic if we don't have a position
  #The weekly EMA is crossing over the daily SMA
  #We define two variables, WeeklyMoving which is used for the Weekly Moving average
  #and DailyMoving which is used for the daily moving average. This allows the 
  #use of the optimiser to find the "best" combination
  BuyOpen if Crossover(Weekly->EMA(Weekly->Close,$WeeklyMoving),SMA(Close,$DailyMoving));
}
else {
  #exit logic - exit after 10 bars
  SellOpen if BarsSinceEntry>10;
}

© 2010 seer trading systems ltd
feedback FAQ legal privacy