Modify Metatrader function

This project was successfully completed by prodevcn for $30 USD in a day.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Completed In
1 day
Total Bids
Project Description

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.



Completed by:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online