Calculation of the “Highest/Lowest Candle Body point” in different time period

MQL4 スクリプト

仕事が完了した

実行時間3 日

指定

I need functions to calculate the “Highest/Lowest Candle Body point” of different periods for my own coding, I know it is easy to code the HIGH and LOW point of a candle/period, but it is not what I want, what I want is the point of “highest/lowest candle body”. So the functions should return that number to me. Pls refer the following graphic.

Highest ad Lowest candle body point


I will apply this function in different time chart, including daily, 4 hour, 1 hour, 15min...etc. For 4 hour chat, period is a week, for 1 hour chat or below, period is a day, however, pls note that the “Highest candle point” and “Lowest candle point” may different in 1 hour, 30 min, 15 min, 5 min and 1 min chart. What i need are 3 functions for 5-periods, last period and current period, pls refer the following graphic.

period definition

Finally ,  Since i am a rookie of programming, i hope you can give me simple description on important line of code , and if you can  code some way for me to easier checking your code, for example, if i can put put your code to a 1m chart and run, and there is a messagebox/alert can show me the code is running and keep update the result , then i can pay you faster, and both of us win-wn.

If you have any inquiry, pls let me know.








応答済み

1
開発者 1
評価
(40)
プロジェクト
55
35%
仲裁
2
0% / 50%
期限切れ
0
2
開発者 2
評価
(15)
プロジェクト
23
9%
仲裁
7
29% / 57%
期限切れ
2
9%
3
開発者 3
評価
(30)
プロジェクト
35
26%
仲裁
0
期限切れ
4
11%
4
開発者 4
評価
(4)
プロジェクト
7
29%
仲裁
3
0% / 33%
期限切れ
0
5
開発者 5
評価
(305)
プロジェクト
546
35%
仲裁
79
32% / 42%
期限切れ
196
36%
仕事中
6
開発者 6
評価
(54)
プロジェクト
102
23%
仲裁
12
25% / 17%
期限切れ
13
13%
7
開発者 7
評価
(58)
プロジェクト
66
8%
仲裁
39
26% / 56%
期限切れ
12
18%
仕事中
8
開発者 8
評価
(159)
プロジェクト
215
76%
仲裁
4
50% / 25%
期限切れ
18
8%
パブリッシュした人: 2 articles
9
開発者 9
評価
(361)
プロジェクト
643
26%
仲裁
92
72% / 14%
期限切れ
12
2%
仕事中
パブリッシュした人: 1 code

プロジェクト情報

予算
30+ USD
締め切り
最高 10 日