Completed

Make a function for metatrader

So this function will track a simple moving average. For example, if this moving average has been heading

higher, but then the current value of it is < than the previous bar, we will start a count from that

point.

I want the function to track the difference between the value of a simple moving average on the

current bar compared to the previous bar, and find the average value from when it changed

direction.

So lets say we are tracking the 5 bar moving average. And it was going up, but now it starts to

move down. Let's say it has moved down for the last three bars. The first bar it moved down

15 pips, the second 14, and the third 12.

I want to add all those together and /3, and write the average of these three bars into the log file.

I want to be able to do this for as many moving averages as I want, to be able to see what is the

current average of each, so that I can compare the different averages together.

Check out my ea example. It does a good job of this, except it just shows the difference of the

current value compared to the previous bar. This is interesting, but I don't think it gives enough

information for me.

But I want to be able to have it look pretty much the same in the log file, except I want to also

see the average value as well.

Later, after some study, I plan to utilize this in an ea.

Skills: Metatrader

See more: moving for a job, find a good job for me, difference between these and those, find say and write, make it pretty, average function, metatrader current bar, metatrader bar, metatrader point, bar moving average, current value metatrader, function point, simple moving average, metatrader moving averages, bar metatrader, moving averages, function metatrader, write ea moving averages, moving average ea metatrader, moving average ea, metatrader moving average ea, ea moving average, metatrader moving average, moving average metatrader, function write

About the Employer:
( 39 reviews ) Escondido, United States

Project ID: #4536699

Awarded to:

matharpa

HI, I am expert in making EA and CI for MT4. Check PMB for details.

$50 USD in 3 days
(56 Reviews)
5.8

4 freelancers are bidding on average $105 for this job

gFreelancer4U

I am ready to start!

$35 USD in 3 days
(46 Reviews)
4.6
ElSakr

I can help, contact me.

$111 USD in 3 days
(18 Reviews)
4.1
jitendraparmar07

Hello sir, Here expert in forex. Please check PMB to know about my work experience. Thanks.

$94 USD in 3 days
(5 Reviews)
3.5
oxarbitrage

interesting, i can do it and also help with the EA.

$166 USD in 7 days
(4 Reviews)
3.4