Create two indicators and add a condition to an existing code

MQL5 指标 专家

工作已完成

执行时间5 天
客户反馈
Excellent developer!
员工反馈
Good customer again

指定

Hi,


I need to:


1. Add the following condition to an existing code:


In the Daily Timeframe add Condition 5 to the EA:

Condition 5 would be the following:

Dia100 = Close[101]


Dia1= Close[1]


Rango = Dia1-Dia100


Porcentaje = (Rango/Dia100)*100


Promedio = Average[1000](Porcentaje)


Condition2 = Porcentaje>Promedio


Therefore, once the 5 conditions are met, a long position would be opened.


2. Develop an indicator for the following:


Dia100 = Close[101]


Dia1= Close[1]


Rango = Dia1-Dia100


Porcentaje = (Rango/Dia100)*100


Promedio = Average[1000](Porcentaje)


I need the indicator to show both the "promedio" and the "porcentaje" in a separate window.



3. Develop an indicator for the folowing:


Aver = (Average[260]((Range/Close)))


Sumperiod = Average[14]((Range/Close))


I need the indicator to show when Sumperiod>Aver and when Sumperiod<Aver



I will need the source code

反馈

1
开发者 1
等级
(297)
项目
476
40%
仲裁
105
40% / 24%
逾期
81
17%
繁忙
发布者: 2 代码
2
开发者 2
等级
(2)
项目
2
0%
仲裁
0
逾期
1
50%
空闲
3
开发者 3
等级
(38)
项目
61
30%
仲裁
5
20% / 40%
逾期
0
空闲
4
开发者 4
等级
(4)
项目
5
0%
仲裁
5
0% / 80%
逾期
2
40%
空闲

项目信息

预算
30+ USD
截止日期
 1  5 天