Average prices

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 4 ore
Feedback del cliente
Professional, fast, does exactly what I want. I will definitely deal with him again.
Feedback del dipendente
Всё отлично, чёткое задание, всегда на связи!

Specifiche

Welcome

In MQL4, I need the code to calculate the average close price of the previous 5 candles

For example:

The closing price of candle number 1 is: 1.90000

The closing price of candle number 2 is: 1.90012

The closing price of candle number 3 is: 1.90065

The closing price of candle number 4 is: 1.90073

The closing price of candle number 5 is: 1.90022

The law is:

 

 

So, the average closing price of the previous five candles is 1.90034

It's simple


Please note:

  1. Add a parameter called (Number), so that I can choose the number of previous candles.

  2. The code should be light, fast, and not cause heaviness in the device, even if I chose a large number of previous candles.

  3. The code will work on all forex pairs.

Hope everything is clear, thank you.


Con risposta

1
Sviluppatore 1
Valutazioni
(21)
Progetti
23
0%
Arbitraggio
6
17% / 83%
In ritardo
2
9%
Gratuito
2
Sviluppatore 2
Valutazioni
(61)
Progetti
61
51%
Arbitraggio
1
0% / 100%
In ritardo
1
2%
Gratuito
3
Sviluppatore 3
Valutazioni
(338)
Progetti
398
34%
Arbitraggio
2
100% / 0%
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(69)
Progetti
104
54%
Arbitraggio
3
0% / 67%
In ritardo
9
9%
In elaborazione
5
Sviluppatore 5
Valutazioni
(37)
Progetti
59
27%
Arbitraggio
25
20% / 52%
In ritardo
10
17%
In elaborazione
6
Sviluppatore 6
Valutazioni
(243)
Progetti
430
34%
Arbitraggio
54
37% / 39%
In ritardo
157
37%
Caricato
7
Sviluppatore 7
Valutazioni
(30)
Progetti
55
22%
Arbitraggio
12
67% / 8%
In ritardo
2
4%
Gratuito
8
Sviluppatore 8
Valutazioni
(79)
Progetti
111
37%
Arbitraggio
0
In ritardo
4
4%
Gratuito
9
Sviluppatore 9
Valutazioni
(257)
Progetti
341
58%
Arbitraggio
7
14% / 71%
In ritardo
9
3%
Gratuito
10
Sviluppatore 10
Valutazioni
(2)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
1
100%
Gratuito
11
Sviluppatore 11
Valutazioni
(298)
Progetti
443
64%
Arbitraggio
5
40% / 0%
In ritardo
4
1%
In elaborazione
12
Sviluppatore 12
Valutazioni
(512)
Progetti
773
63%
Arbitraggio
33
27% / 45%
In ritardo
23
3%
Gratuito
13
Sviluppatore 13
Valutazioni
(61)
Progetti
186
73%
Arbitraggio
4
100% / 0%
In ritardo
1
1%
Gratuito
14
Sviluppatore 14
Valutazioni
(4)
Progetti
9
11%
Arbitraggio
2
50% / 50%
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(8)
Progetti
11
0%
Arbitraggio
11
18% / 73%
In ritardo
2
18%
Gratuito
16
Sviluppatore 16
Valutazioni
(356)
Progetti
632
26%
Arbitraggio
89
73% / 13%
In ritardo
12
2%
Gratuito
17
Sviluppatore 17
Valutazioni
(54)
Progetti
53
17%
Arbitraggio
7
0% / 100%
In ritardo
5
9%
Gratuito
18
Sviluppatore 18
Valutazioni
(356)
Progetti
590
70%
Arbitraggio
14
43% / 7%
In ritardo
28
5%
Gratuito
19
Sviluppatore 19
Valutazioni
(568)
Progetti
641
41%
Arbitraggio
21
57% / 29%
In ritardo
47
7%
In elaborazione
20
Sviluppatore 20
Valutazioni
(298)
Progetti
427
26%
Arbitraggio
18
61% / 33%
In ritardo
26
6%
Gratuito
Ordini simili
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea

Informazioni sul progetto

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