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
등급
(37)
프로젝트
50
28%
중재
1
0% / 100%
기한 초과
0
무료
2
개발자 2
등급
(15)
프로젝트
23
9%
중재
7
29% / 57%
기한 초과
2
9%
무료
3
개발자 3
등급
(29)
프로젝트
34
26%
중재
0
기한 초과
4
12%
무료
4
개발자 4
등급
(4)
프로젝트
7
29%
중재
3
0% / 33%
기한 초과
0
무료
5
개발자 5
등급
(230)
프로젝트
408
34%
중재
52
37% / 40%
기한 초과
149
37%
로드됨
6
개발자 6
등급
(52)
프로젝트
96
24%
중재
9
22% / 22%
기한 초과
12
13%
작업중
7
개발자 7
등급
(58)
프로젝트
66
8%
중재
39
26% / 56%
기한 초과
12
18%
작업중
8
개발자 8
등급
(137)
프로젝트
191
76%
중재
4
50% / 25%
기한 초과
18
9%
작업중
9
개발자 9
등급
(356)
프로젝트
632
26%
중재
89
73% / 13%
기한 초과
12
2%
무료
비슷한 주문
Hello how are you doing? Can you help me with a projects connecting trend lines to pivot points on a wave, for trendlines, color detention, and dynamic visualization? I have a project I’d like you to look at. I need a pine script code to capture the different Trendline colors that cross both above and below horizontal lines on the wave indicator
Hello I'm in possesion of a straightforward MT% Expert AdvisorThat I want to convert into DXTrade. Are you able to do this conversion? Kindly let me know if the fil atached will be enough
I need a trading panel to trade share market scripts like Stocks, options, futures, etc There should be an option to add API from my broker to the panel so panel can fetch script details and then I can trade directly through panel Please find the attached image for details
I would like a Forex trading robot for MT5. The market entry signal is based on a TradingView Indicator (I will provide the name of which one), and the robot should execute Buy or Sell trades based on the Buy/Sell alerts that this indicator provides. The TradingView Pine Script is open source, so it will be available for you to see. Closing of positions is done by the SL, TP. The lot size is calculated as a
Hello, I am seeking someone who can translate my TradingView Pine Script strategy into cAlgo code language. This is to enable us to automatically execute our trades via Ctrader, eliminating intermediary steps such as copiers and MT5. Would you be able to assist us with this? Looking forward to your response
Moath jamal 30+ USD
//+------------------------------------------------------------------+ //| Script program start function | //+------------------------------------------------------------------+ int OnInit() { return(INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Script deinit function |
Hello, can you help me convert MT4 EA source code to MT5? I have two versions of an EA for MT4 that I have been using for quite a while and I want to move over to MT5. There are no additional indicators. Everything is inside the EA mq4. Also, could you provide a strategy guide in PDF format for me of both strategies, apply if you are professional enough in the field
HI I HAVE A SENTIMENT DATA LIBRARY THAT I PURCHASED FROM SENTI FX FOR RETAIL SENTIMENT. WHAT IM LOOKING TO DO IS MAKE A BASIC INDICATOR IT HAS RETAIL POSTIONS LONG SHORT PERCENTAGE AND A RELATIVE SENTIMENT DATA. THAT WILL ALERT ME TO MY EMAIL
I am looking for a coder to code my custom Ninjatrader 8 strategy to make it work perfectly your professioalism is needed in the project Kindly cotact me now and let Proceed
Hello I am looking for a professional in building a stock trading robot and make it work perfectly Specifically, I want to build a robot for trading in options from the IOF your expertise is highly needed in this project Kindly reach out and let proceed

프로젝트 정보

예산
30+ USD
개발자에게
27 USD
기한
 10 일