Add New Functions to an EA

MQL4 指标 专家

工作已完成

执行时间25 分钟
客户反馈
Another project completed with Mahshad, and once again, it was very good—fast, easy communication, and, as always, an excellent professional in executing the project. See you soon, my friend!
员工反馈
true friend ! thanks, nice job again with you

指定

Add new functions to one exitent Ea . Then, the next step would be to add a function so that, after the trade is opened, as soon as it reaches X points above the entry-level line in profit, the SL is moved to:

1 - The entry line (Break Even + Actual Spread).

Or, by selection:

2 - XXX points below the entry line (the entry line issued by the signal, not the trade opening line).

This is because, sometimes, the trade only opens after the signal candle closes, and that can be quite far from the actual entry point. As a result, the stop would be even further away.

Here, I used a buy entry as an example, but this logic must also be applied to sell entries.

The third and final change would be:

Since we already have the options to select a dynamic SL and choose the XXX points behind the TP1 and TP2 levels, we should add the same option but with a specific time range, where the values set in these selections override the previous ones and apply during the defined period.

Example of Dynamic SL:
 • XXX points behind the TP1 level = 150
 • XXX points behind the TP2 level = 250

Dynamic SL from: 10:01 to 16:59, use:
 • XXX points behind the TP1 level = 360
 • XXX points behind the TP2 level = 480

Before and after the selected time range, use the primary SL/points for calculations.

反馈

1
开发者 1
等级
(102)
项目
105
60%
仲裁
0
逾期
0
空闲
2
开发者 2
等级
(83)
项目
142
51%
仲裁
8
13% / 75%
逾期
21
15%
空闲
相似订单
Tenho uma foto e video(não deu para anexar) de um robo trabalhando com buy stop e sell stop com indicadores de força e volatilidade. Gostaria de saber se consegue construir um
Criterios de entrada: 1 stochastico em um tempo gráfico maior, por ex: 1h 1 stochastico em um tempo grafico menor, por ex: 5m *venda: quando o stoch do tempo maior estiver vendido, espera-se o stochastico do tempo menor entrar na zona de overbought e cruzar pra venda, a venda deve ser a mercado na abertura do candle seguinte ao candle que fez o stoch virar pra venda, ou seja a ordem só deve ser aberta quando o candle

项目信息

预算
70+ USD
截止日期
 1  10 天