基于MA指标的EA交易-Expert Advisor based on MA indicator

指定

A.均线和直线的设立

1.设立一根快均线(简称:快线)。可以调试参数,调试参数应与MT5均线指标参数一致,包括:阶段(时间周期),方法(默认使用Simple),应用(默认使用Close),风格(颜色、线型、粗细),价格(收盘,开盘,高,低)。

2.设立一根慢均线(简称:慢线)。可以调试参数,调试参数应与MT5均线指标参数一致,包括:阶段(时间周期),方法(默认使用Simple),应用(默认使用Close),风格(颜色、线型、粗细),价格(收盘,开盘,高,低)。

3.设立一根趋势线。趋势线能随着时间与价格的推移自动向右延长,当趋势线往上走时为红色线,当趋势线往下走时为绿色线,可以调试参数:颜色,线型,线宽。

4.设立一根价格线。水平线随着时间递进,能自动向右延长。可以调试参数:水平线起点(由时间和价格决定)。

B.交易

1.快线由下上穿慢线建多仓平空仓;快线由上下穿慢线建空仓平多仓。

可以调试参数:

a.止损点和止盈点。

b.快线由下上穿慢线可以设置开多平空,或只平空仓不开多仓;快线由上下穿慢线可以设置开空平多,或只平多仓不开空仓。

c.快线和慢线交叉或贴合不进行交易。

2.快线由下上穿价格线建多仓平空仓;快线由上下穿价格线建空仓平多仓。

可以调试参数:

a.止损点和止盈点。

b.快线由下上穿价格线可以设置开多平空,或只平空仓不开多仓;快线由上下穿价格线可以设置开空平多,或只平多仓不开空仓。

c.快线和价格线交叉或贴合不进行交易。

3.快线由下上穿趋势线建多仓平空仓;快线由上下穿趋势线建空仓平多仓。

可以调试参数:

a.止损点和止盈点。

b.快线由下上穿趋势线可以设置开多平空,或只平空仓不开多仓;快线由上下穿趋势线可以设置开空平多,或只平多仓不开空仓。

c.快线和趋势线交叉或贴合不进行交易。

4.当有空仓时,如果发生快线下穿慢线,或水平线,或趋势线,则加仓建立空仓。当有多仓时,如果发生快线上穿慢线,或水平线,或趋势线,则加仓建立多仓。

C.其他要求:

1.其他可调参数;下单手数LotMagic

2.提供清晰完整源代码。

3.提供二次优化开发,当然,这是有偿的。

D.以下提供示意指标代码(代码取自“博易云”指标)借鉴:

由于代码字符超长,详见附件1。

E.以下提供MT5理想示意图和博易云指标示意图供参考:

见附件1和附件2

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

A. The establishment of the average line and the straight line

1. Set up a fast average (referred to as a fast line). Parameters can be debugged, and the debug parameters should be consistent with the MT5 average indicator parameters, including: stage (time period), method (simple by default), application (by default using Close), style (color, line type, weight), price (close, open, high, low).

2. Set up a slow moving average (referred to as a slow line). Parameters can be debugged, and the debug parameters should be consistent with the MT5 average indicator parameters, including: stage (time period), method (simple by default), application (by default using Close), style (color, line type, weight), price (close, open, high, low).

3. Set up a trend line. Trend lines can automatically extend to the right over time and price, red lines when the trend line moved up, green lines when the trend line moved down, parameters can be debugged: color, line type, line width.

4. Set up a price line. The horizontal line automatically extends to the right as it progresses over time. Parameters can be debugged: the starting point of the horizontal line, which is determined by time and price.

B. Transaction

1 Fast line from the bottom through the slow line to open long positions to close short positions, fast line from the bottom through the slow line to open long positions.

You can debug parameters:

a. Stop loss and take profit points.

b. The express line from the bottom through the slow line can be set to open more than flat, or only close positions do not open more positions;

c. Fast and slow lines cross or fit without trading. 

2 Fast line from the bottom through the price line to open more positions to close short positions, fast line from the upper and lower through the price line to open more positions.

You can debug parameters:

a. Stop loss and take profit points.

b. The express line from the bottom through the price line can be set to open more than flat, or only close positions do not open long positions;

c. Express and price lines cross or fit without trading. 

3. Fast line from the bottom through the trend line to open long positions to close short positions;

You can debug parameters:

a. Stop loss and take profit points.

b. The fast line from the bottom through the trend line can be set to open more than flat, or only open positions do not open long positions;

c. Fast and trend lines cross or fit without trading.

4. When there are short positions, if there is a fast line wearing a slow line, or horizontal line, or trend line, then add positions to open short positions. When there are multiple positions, if a fast line crosses a slow line, or a horizontal line, or a trend line occurs, a position is added to open a long position. 

C. Other requirements:

1. Other adjustable parameters; Lot and Magic for single lots.

2. Provide clear and complete source code.

3. Provide secondary optimization development, of course, which is paid for. 

D. The following is a reference to the indicator code (code taken from the "Boy Cloud" indicator):

Due to the extra long characters of the code, see Annex 1 for details. 

E. The following are the MT5 ideal schematics and The Boyle Cloud indicator diagrams for reference:

See annexes 1 and 2.

附加的文件:

反馈

1
开发者 1
等级
(42)
项目
87
7%
仲裁
18
6% / 67%
逾期
5
6%
繁忙
2
开发者 2
等级
(2)
项目
3
0%
仲裁
1
0% / 0%
逾期
1
33%
工作中
3
开发者 3
等级
(4)
项目
9
44%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(361)
项目
643
26%
仲裁
92
72% / 14%
逾期
12
2%
工作中
发布者: 1 代码
相似订单
在MT5上开发一个EA脚本 可以连接 GPT Deepseek 进行交互 分析盘面 可以加15588660008 微信 详细沟通
我有现有的一个脚本tradingview脚本,想写成MT5,是Pine Script语言写的有买卖下单的提示。 1.----止损- 可以自由设置止损设置范围. 2.--盈利保本-盈利2个美金止损移动到保本位置-盈利0.3美金. 3.--下单-----可以选择周期内-根据穿越K线当时提示买卖下单,或者是提示买卖后下根K线下单。(可以选择)备足(穿越K线是黑色穿越变成红色的时候提示买卖哪根K线的时候下单。) 4.--出局---没有启动盈利保本单子,K线变色或者多单黑色突然变成空单红色,出局多单。 5.可以连续根据买卖的tradingview提示,在买卖单子已经保本的情况下,根据提示可以连续多下多个单子。 6. tradingview的脚本有出局的代码也写进去。 7.启动保本止损后的单子,可以选择保留买卖其中的一方的全部多单,或者全部空单,需要手动出局。
基于需要RSI的EA交易脚本 基于RSI指标监控RSI指标自动下单,例如RSI指标达到30,账户就自动新建订单并下单
我想做一个自动循环加仓止盈,智能止盈止损,条件平仓,可视化界面需有一键平仓,暂停加仓按钮,盈亏比例等 。 基本条件:1.手动开仓激活EA,并进入EA相关设置界面(加仓间隔点数,加仓倍数,加仓间隔最低时间,单笔止盈点数,全部平仓条件)

项目信息

预算
30 - 100 USD
截止日期
 5  15 天