EA: Freeman

 

Freeman:

依据 RSI 和移动平均线交易。 移动平均线用作 H1 上的趋势过滤器。

这一想法很简单: 如果 RSI 处于超卖区域并开始向上反转,而移动平均线也会上涨,这是买入信号。 相反的情况则用于卖出。

EA 的主要功能是能够使用两组参数。 某些设置的周期较短,可提供更多入场机会。 其它的,相比有更长的时间周期,提供更少但更准确的入场时机。

ATR 用于计算止损和止盈价位。 可以按趋势对交易进行分类。 H1 的移动平均值用作过滤器。

作者: Vladimir Karputov

 
Автоматизированная торговля :

弗里曼

作者:弗拉基米尔-卡尔普托夫

你好,从2018.10.02到2018.12.25在模拟账户上进行了测试,在日志中看到了一些错误,但确实启动了一些交易。例如,当我在策略中将手数改为 1.0 时,我在真实账户上没有看到任何交易启动 ....。

附加的文件:
ERROR.JPG  64 kb
 
tiffin:

你好,从2018.10.02到2018.12.25在模拟账户上进行了测试,我在日志中看到了一些错误,但确实启动了几笔交易。例如,当我在策略中将手数改为 1.0 时,我在真实账户上没有看到任何交易启动......

请将日志中的信息粘贴为代码。


 
tiffin:

你好,从2018.10.02到2018.12.25在模拟账户上进行了测试,我在日志中看到了一些错误,但确实启动了几笔交易。例如,当我在策略中将手数改为 1.0 时,我在真实账户上没有看到任何交易启动。

日志有时会显示警告。对用户的警告。

 

2018-10-02 TO 2018.12.25

2019.01.09 09: 46: 09.753 Terminal MetaTrader 5 - AX x64 build 1940 started AX

2019.01.09 10: 20: 26.577 Core 1 initial deposit 10000.00 GBP, leverage 1:33
2019.01.09 10: 26: 27.729 Core 1 2018.05.02 23:15:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.02 23:30:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.02 23:45:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.03 01:00:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.03 02:00:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.04 10:00:00 OpenBuy, ERROR: method CheckVolume (0.01) <Lots (0.10)
2019.01.09 10: 26: 33.857 Core 1 2018.11.13 17:30:00 OpenBuy, ERROR: method CheckVolume (0.07) <Lots (0.10)
2019.01.09 10: 26: 33.857 Core 1 2018.11.13 17:45:00 OpenBuy, ERROR: method CheckVolume (0.03) <Lots (0.10)
2019.01.09 10: 26: 33.857 Core 1 2018.11.14 00:00:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 33.857 Core 1 2018.11.14 17:30:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 33.857 Core 1 2018.11.14 17:45:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 33.857 Core 1 2018.11.14 18:00:00 OpenBuy, ERROR: method CheckVolume (0.06) <Lots (0.10)

 
tiffin:
2018-10-02 TO 2018.12.25

2019.01.09 09: 46: 09.753 Terminal MetaTrader 5 - AX x64 build 1940 started AX

2019.01.09 10: 20: 26.577 Core 1 initial deposit 10000.00 GBP, leverage 1:33
2019.01.09 10: 26: 27.729 Core 1 2018.05.02 23:15:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.02 23:30:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.02 23:45:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.03 01:00:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.03 02:00:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 27.729 Core 1 2018.05.04 10:00:00 OpenBuy, ERROR: method CheckVolume (0.01) <Lots (0.10)
2019.01.09 10: 26: 33.857 Core 1 2018.11.13 17:30:00 OpenBuy, ERROR: method CheckVolume (0.07) <Lots (0.10)
2019.01.09 10: 26: 33.857 Core 1 2018.11.13 17:45:00 OpenBuy, ERROR: method CheckVolume (0.03) <Lots (0.10)
2019.01.09 10: 26: 33.857 Core 1 2018.11.14 00:00:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 33.857 Core 1 2018.11.14 17:30:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 33.857 Core 1 2018.11.14 17:45:00 OpenBuy, ERROR: method CheckVolume returned the value of "0.0"
2019.01.09 10: 26: 33.857 Core 1 2018.11.14 18:00:00 OpenBuy, ERROR: method CheckVolume (0.06) <Lots (0.10)



这意味着目前账户上没有可用资金。可能的最大手数("method CheckVolume")小于要求的手数("Lots")。

 

明白了,非常感谢。我想,当它试图增加手数时,由于保证金的限制是不可能的。

在真实账户上,条件为 1Lot = 10000 单位,如果我想运行 1 手,是否需要修改代码? 因为我在专家选项卡上没有看到任何实时交易,也没有错误信息 或警告。但与此同时,它却能在一个平行的模拟账户上进行交易。

 
tiffin:

明白了,非常感谢。我想,当它试图增加手数时,由于保证金的限制是不可能的。

在真实账户上,条件为 1Lot = 10000 单位,如果我想运行 1 手,是否需要修改代码? 因为我在专家选项卡上没有看到任何实时交易,也没有错误信息 或警告。但与此同时,它却在一个平行的模拟账户上进行交易。

您有一个输入参数"手数"。更改该参数并在策略测试器中进行检查。您还可以在策略测试器中更改存款规模。在可视模式下运行测试并查看保证金。

 

奇怪的是,它在真实账户 测试器中(与真实设置完全相同,即 LOT、Deposit、Leverage)的可视化设置下居然正常工作,我能看到昨晚的交易,但它并没有实时启动。

我检查了所有常用的地方,检查了自动交易,没有错误日志等。

 
tiffin:

奇怪的是,它在真实账户 测试器中的可视化设置(与真实设置完全相同,即 LOT、存款、杠杆)实际上是有效的,我可以看到昨晚的交易,但它并没有实时启动。

检查了所有常规地方,检查了自动交易,没有错误日志等。

修改代码:在交易信号出现时打印。您没有附上终端日志(文本文件)。

您需要两个终端日志(文本文件):"专家 "和 "日志 "选项卡,您需要查看交易账户的余额,您需要查看交易账户的货币,您需要查看专家顾问的设置,您需要查看专家顾问交易的符号名称。

 
是使用对冲模式还是净网模式?