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

指定

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
評価
(561)
プロジェクト
649
33%
仲裁
41
41% / 46%
期限切れ
11
2%
多忙

プロジェクト情報

予算
34+ USD
VAT(付加価値税) (19%): 6.46 USD
合計: 40 USD
開発者用
30.6 USD
締め切り
最低 2 最高 5 日

依頼者

(8)
出された注文11
裁定取引数0