In Progress

Modify Metatrader function

The function attached needs some changes. The CURRENT function creates an average velocity and counts bars based on if a moving average is moving up or down. When the MA changes direction, the count for the average starts again.

What I would like INSTEAD is to consider two moving averages. Let say it is a 20 & 30, and currently the 20 is below the 30. When the 20 crosses above the 30 all averages will be LONG for both moving averages, as long as 20 > 30. Later we will compare these averages against each other. But that is for another project.

Besides that, there is another change needed for this function. Currently the EA only starts counting when started. When you put it on a chart, or use the tester, the count starts at one. But what if the moving averages had already been crossed in a certain direction before that?

The thing needs to iterate back to the beginning of the cross, and start the "count" for the average there.

BTW any other ideas on how to gauge velocity of a MA are welcome.

Check the attachments for an example of the log where I write the results and the EA to modify. Widen your wordpad to view the log comfortably.



Skills: Metatrader

See more: log cross, velocity, project based on wordpad, average function, moving average modify, 2013 start ideas, moving average cross, profit function metatrader, chart metatrader, metatrader chart, modify project log, metatrader cross, metatrader modify, metatrader moving averages, 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, use metatrader, modify metatrader

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

Project ID: #4587230

Awarded to:


Hello, Please check PM. Thanks.

$30 USD in 1 day
(8 Reviews)

please check PM. thanks.

$54 USD in 1 day
(50 Reviews)

5 freelancers are bidding on average $51 for this job


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

$34 USD in 3 days
(63 Reviews)

I am ready to start!

$30 USD in 3 days
(46 Reviews)

Hello sir, I can help you. Please check your PMB. Thanks

$34 USD in 3 days
(7 Reviews)

I am interested.

$105 USD in 5 days
(0 Reviews)