Average Cost Line Indicator

Indicators Scripts

Job finished

Execution time 7 days
Feedback from customer
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.
Feedback from employee
thanks

Specification

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. 

Responded

1
Developer 1
Rating
(461)
Projects
902
77%
Arbitration
25
16% / 68%
Overdue
100
11%
Free
2
Developer 2
Rating
(41)
Projects
124
34%
Arbitration
32
13% / 75%
Overdue
53
43%
Free
3
Developer 3
Rating
(195)
Projects
395
28%
Arbitration
155
20% / 52%
Overdue
112
28%
Free
4
Developer 4
Rating
(29)
Projects
36
39%
Arbitration
1
0% / 0%
Overdue
17
47%
Free
5
Developer 5
Rating
(71)
Projects
254
53%
Arbitration
16
50% / 38%
Overdue
83
33%
Free
6
Developer 6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(272)
Projects
394
63%
Arbitration
70
53% / 26%
Overdue
198
50%
Working
Similar orders
Looking for a skilled freelancer to create a simple indicator that displays key data directly on the chart during a backtest on MetaTrader 4. The indicator should show: - **Balance** - **Profit in $** - **Profit in %** I already have the sample in MT5 (.mq5 file), but I need it converted and optimized for MT4. This is a straightforward task with a quick turnaround time—just 2 hours. I'm offering $250 for this
Hi, I have a Compiled JForex strategy (.jfx file) I would like someone to convert it in to readable source code. Please let me know if you can do this task. Thank you
I want to make something automatic which EMA will automatically trade in my account. For this I want to make a simple robot I want to get this made automatically on a simple EMA
I need a professional who have the full knowledge in Ctrader and I want to add new idea for my ctrader https://ctrader.com/algos/indicators/show/3444/ Let me know if this is what you can do and the price to get it done. Thanks
I am looking for a skilled Thinkorswim script developer for a one-time project. Your task will be to combine 8 distinct Thinkorswim studies (I will provide the code for each) into one Lower Study. The final script should display histogram rows for the individual studies with a bubble color scheme of bright green, dark green, gray, dark red, and bright red
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone

Project information

Budget