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

MQL4 Script

Lavoro terminato

Tempo di esecuzione 3 giorni

Specifiche

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.








Con risposta

1
Sviluppatore 1
Valutazioni
(39)
Progetti
55
35%
Arbitraggio
2
0% / 50%
In ritardo
0
Gratuito
2
Sviluppatore 2
Valutazioni
(15)
Progetti
23
9%
Arbitraggio
7
29% / 57%
In ritardo
2
9%
Gratuito
3
Sviluppatore 3
Valutazioni
(30)
Progetti
35
26%
Arbitraggio
0
In ritardo
4
11%
Gratuito
4
Sviluppatore 4
Valutazioni
(4)
Progetti
7
29%
Arbitraggio
3
0% / 33%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(248)
Progetti
444
34%
Arbitraggio
56
36% / 38%
In ritardo
163
37%
Caricato
6
Sviluppatore 6
Valutazioni
(52)
Progetti
97
24%
Arbitraggio
11
18% / 18%
In ritardo
12
12%
In elaborazione
7
Sviluppatore 7
Valutazioni
(58)
Progetti
66
8%
Arbitraggio
39
26% / 56%
In ritardo
12
18%
In elaborazione
8
Sviluppatore 8
Valutazioni
(140)
Progetti
194
76%
Arbitraggio
4
50% / 25%
In ritardo
18
9%
Gratuito
9
Sviluppatore 9
Valutazioni
(356)
Progetti
632
26%
Arbitraggio
89
73% / 13%
In ritardo
12
2%
Gratuito
Ordini simili
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD
Scadenze
a 10 giorno(i)