Average Cost Line Indicator

지표 스크립트

작업 종료됨

실행 시간 7 일
고객의 피드백
MQL4_ORG was fantastic and easy to work with. Very patient and understanding with me as a buyer. This was my first purchase and I didnt always know what the next step on my end was to keep the project flowing. I will use MQL4_ORG again and you should too. 5 STARS FOR SURE.
피고용인의 피드백
thanks

명시

Hello, 

 

This is my first job post here so forgive me if I am not exactly sure of all the protocal. 

I need a average cost indicator for my charts.

The program needs to calculate the average cost of my positions and then place a line on the chart to indicate this.

Simple example (the program would need to obviously go out 5 decimal points as well as figure out position sizes that include micro,mini and full lots.)

This is full lots just for example.

Trade 1 Sell 1 EUR/USD @ 1.24000

Trade 2 Sell 1 EUR/USD @ 1.23000

Trade 3 Sell 1 EUR?USD @ 1.23500 

Trade 4 Sell 1 EUR/USD @ 1.24500

Total Position Sell 4 EUR  Average cost of position = 1.24500 + 1.24000 + 1.23500 + 1.23000 / 4 = 1.2375

The indicator would now put a line on the chart at 1.2375

Obviously each time a position is added to or subtracted from the calculation would change and the bar would adjust.

 

I have included a script that i found that was supposed to do what I am looking for but it does not seem to be able to add in mucro/mini lots because i just tried to use it and the calculation is wrong. It may however provide someone with a base they can use to speed up the process.

I look forward to hearing from someone that can help get this done for me. 

응답함

1
개발자 1
등급
(458)
프로젝트
902
77%
중재
25
16% / 68%
기한 초과
100
11%
무료
2
개발자 2
등급
(41)
프로젝트
124
34%
중재
32
13% / 75%
기한 초과
53
43%
무료
3
개발자 3
등급
(195)
프로젝트
395
28%
중재
155
20% / 52%
기한 초과
112
28%
무료
4
개발자 4
등급
(24)
프로젝트
36
39%
중재
1
0% / 0%
기한 초과
17
47%
무료
5
개발자 5
등급
(71)
프로젝트
254
53%
중재
16
50% / 38%
기한 초과
83
33%
무료
6
개발자 6
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
7
개발자 7
등급
(273)
프로젝트
395
63%
중재
70
53% / 26%
기한 초과
198
50%
무료
비슷한 주문
Hi there, I am offering $30 usd for someone to convert four pictures I have to metatrader icons(arrows) that I can use in both MT4 & MT5. We all know that we can change arrows on the chart by using a different arrow code, but the arrows in metatrader are boring and I want to use custom ones. I want the four attached pictures as icons that i can use with indicators that give the option to choose your arrow type. I
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have

프로젝트 정보

예산