Repair an existing expert, specifically correct its formula for calculating the HighestHigh and LowestLow value within a given time period.

MQL4 指标 专家

工作已完成

执行时间24 分钟
客户反馈
Wie immer Top Fachmann im Programmieren von EAs. Sehr gute Arbeit !
员工反馈
Professioneller und toller Mensch. Es macht Freude zu arbeiten. Vielen Dank für Ihre Bestellung!

指定

Repair an existing expert, specifically correct its formula for calculating the HighestHigh and LowestLow values.
The expert should determine the highest and lowest values ​​within a given time period.
For example, from 8:00 AM to 10:00 AM. The time period must be adjustable and modifiable.
The results should be saved and used as HighestHigh and LowestLow values, only for the current day. 
The saved values ​​serve as a reference for opening orders.
The existing expert currently only opens buy orders, which is obviously incorrect.
Orders are also being opened even though the HighestHigh value has not been exceeded.
Sell orders should also be placed, but these are not being placed.
There must be an error somewhere in the formula for calculating HighestHigh and LowestLow, or somewhere else in the expert, which is why only buy orders are being placed and with an incorrect value. Either the values ​​for HighestHigh and LowestLow are not being calculated correctly, or the cause lies elsewhere. This also explains why sell orders are not being executed at all.
Trades are generated by entering the conditions in lines 613-640.
The formula for calculating HighestHigh and LowestLow is in lines 642-668.

反馈

1
开发者 1
等级
(11)
项目
14
43%
仲裁
1
100% / 0%
逾期
0
空闲
2
开发者 2
等级
(572)
项目
664
32%
仲裁
42
45% / 45%
逾期
12
2%
工作中

项目信息

预算
34+ USD
截止日期
 2  5 天