Техническое задание
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.其他可调参数;下单手数Lot和Magic。
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.