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

免费 EA - 移动平均线 (Free EA - Moving Average)

author emer | 0 人阅读 | 0 人评论 |
来源:ForexFactory · Trading Systems · 原帖链接
原帖作者:msg1987
发布日期:First Post: Dec 14, 2016 8:51am | Edited 10:53pm
Hi Traders!

I like to keep it SIMPLE! I have written a very simple EA for MT4. It has the following parameters:

input int TakeProfit = 400;
input int StopLoss = 200;
input int MA_PERIOD = 50;
input double Lots = 0.01;

TakeProfit and StopLoss are in points not pips so if your broker has 5 decimal points for the cross, then 200 means 20 pips. MA_PERIOD is the period that the EA will use for the moving average. The default value is 50. What it does is basically look for the price to close above or below the moving average and then it will enter a buy or sell order. It will only open one order at a time and it won't open a new order unless the current order's StopLoss or TakeProfit is triggered.

I have run a few tests and it seems like that with the default parameters it works best for EURUSD under the 5MIN chart. Please run your own tests and let us know what the best pair, timeline and parameters are. The initial capital for the default parameters should be 100. My motto is to start with as little as possible and grow as much and as fast as possible.

Kind Regards,
Markus

原帖附件 (1)

📦 帖子附件汇总 (11)

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

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