• 概述
  • 评论
  • 评论

Triple Moving Average Trend

Simple but effective trend trader EA (example for H1 below). The EA can do scalping also for lower time frames, but you need to experiment or wait till I post an example for scalping setting for M15 and M5.

---

portfolio example settings (starting balance $2000, leverage 1:100) with pictures (backtest for 2019 to 2020 year):

- XAUUSD - H1 - TP=2000 ; SL=1000 ; Spread=20 ; Lots=0.25 ; 

- GBPAUD - H1 - TP=2400 ; SL=200 ; Spread=10 ; Lots=0.25 ; 

- GBPJPY - H1 - TP=2000 ; SL=600 ; Spread=10 ; Lots=0.25 ; 

NOTE: if have smaller or larger starting balance can change Lot size accordingly, for example, if $200 then Lots=0.02

NOTE: the EA might not do a trade every day, you might get that it takes one trade every other day.


Trend trader: only does one trade per symbol; no hedge is possible and hence is FIFO

(1) Enter in Market: Uses three moving averages and MACD. 

(2) Protection: Fixed stoploss.

(3) Exit from Market: MACD signal crosses.

Max points takeprofit value TP
Max points stoploss value SL
Fixed lot size per trade Lots (setting to zero disables the trend trader)


Other parameters

No more trades before this hour (if want trading all day, then set StartHour=EndHour) StartHour
No more trades after this hour EndHour
unique magic number for managing trend trades MAGIC
Max allowed spread for entering into trade Spread
Period value for "fastest" MA (recommend: 9) MA_1_Period
(recommend: Exponential) MA_1_Type
Period value for "medium" MA (recommend: 7)
MA_2_Period
(recommend: Simple)
MA_2_Type
Period value for "slowest" MA (recommend: 80)
MA_3_Period
(recommend: Exponential)
MA_3_Type
Fast period for MACD (recommend: 12) MACD_FastPeriod
Slow period for MACD (recommend: 26) MACD_SlowPeriod
Signal period for MACD (recommend: 9) MACD_SignalPeriod
Use the signal on MACD ? (recommend: false) MACD_SignalSet
Use MACD only if above or below this level (recommend: 0) MACD_Threshold


推荐产品
筛选:
无评论