欢迎访问 外汇EA下载与MT4/MT5自动交易资源 - 聚合外汇EA、黄金EA、量化交易工具与自动化交易实战内容。
登录 注册

Trendlord EA每日系统 (Trendlord EA Daily System)

author emer | 0 人阅读 | 0 人评论 |
来源:ForexFactory · Trading Systems · 原帖链接
原帖作者:ido370
发布日期:First Post: Jan 4, 2011 5:49am | Edited Jan 10, 2011 8:10am
Last 2 weeks i have been creating the Trendlord EA.

It actually started out because i wanted a system based on the Trendlord indicator. Ofcourse, this wasn't enough and needed some extra confirmations before it could work.

-First i put trendlord in the EA (which was actually a EMA50 i read, but now EMA48 in V10)
-Then i added Heiken Ashi to exterminate some other little losses (removed in V10)
-to close the orders when trend is reversing, i added the KG GGH signal indicator in the EA.
-as an extra, i added an ADR(20) indicator in it, if the KG GGH signal would be too late. The ADR value is divided by 2 and used as stoploss.
-should work with different digit brokers

It does not have many options (took me already 2 weeks to code, google test, etc. , since this is my first EA i created), but you can change the following:

-Lotsize
-MagicNumber
-EMA period
-Close orders when detaching EA
-Show total EA earnings
-send email when order opens/closes

UPDATE: Forgot to mention the entry and exit rules
Entry rules for buy (and reversed for sell):
-bar open must be under EMA50 and close above EMA50
-after the bar closes above EMA50, order is placed at start of new bar with S/L of half of ADR(20).

Exit rules for buy (and reversed for sell):
-when order reaches to S/L (half of ADR(20))
-when bar open is above EMA50 and closes below EMA50
-when pair start to turn down and signal from KG GGH is received, order is closed

When an order is closed, it waits until it receives a new valid signal (by above rules).

----------
All the EA information i found relevant is placed on the right side of the screen.

Right now, i think i'm finally ready coding for now, so i placed it on a demo account today and will see how it goes. luckily there was just a buy signal today for EURUSD, so got an entry right away.

Strategytest from the last 2 years (latest version):
Attached Image (click to enlarge)
Click to Enlarge

Name: Schermafbeelding 2011-01-07 om 00.25.45.png
Size: 88 KB


-------------------------------

THE EA
V9:
Attached File(s)
File Type: mq4 Trendlord EA v9.mq4   15 KB | 1,652 downloads | Uploaded Jan 5, 2011 6:55am

V10 (No Heiken Ashi, EMA48):
Attached File(s)
File Type: mq4 Trendlord EA v10.mq4   15 KB | 1,737 downloads | Uploaded Jan 9, 2011 8:17pm

V10 with TMA option added:
Attached File(s)
File Type: mq4 Trendlord EA v10-tma.mq4   16 KB | 2,222 downloads | Uploaded Jan 10, 2011 8:09am

------------------------------

P.S. I created the system for DAILY timeframe only, and have only tested it on EURUSD pair.

If someone has improvements, or wants to test, or share other useful information regarding the code, please be my guest and lets hope for a great 2011

原帖附件 (4)

📦 帖子附件汇总 (18)

以下是回帖中所有共享的附件(18 个,已去重)。

🔐
请登录后参与评论
注册满12小时后评论,即可解锁附件下载
立即登录