Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2008.05.21 07:59
Experts

ADX & MA - expert for MetaTrader 4

| English Русский 中文 Español Deutsch 日本語 Português

Views:
12267
Rating:
votes: 3
ADX_MA.mq4 (4.12 KB)view

The strategy is based on two indicators: ADX and MA.


The system is described in more details here. A detailed article about testing of this system is available in our magazine's issue from 21.04.2008. You can discuss it or make suggestions on our forum.

Trading Strategy Algorithm:

1. Open a daily chart for EURUSD, lots 0.1.

2. Draw an ADX with the period of 14, mark level 20 in the indicator.

3. Draw an MA with the period of 21.

Buying signal: The bar closes above MA, and the ADX line is above 20.
Selling signal: The bar closes below MA, and the ADX line is above 20.

In both cases, trades should be closed, as soon as the bar intersects the MA in the opposite direction.

Having tested the above rules on the period from 2007.01.11 to 2008.01.11, we obtained the following results (At close prices):

We added TakeProfit, StopLoss, TralingStop, the values being added separately for buying and for selling. Having optimized the new parameters on the same period, we obtained the following result for the EA:

You can find the results of a forward test outside the optimization area in our magazine's issue from 21.04.2008.


    Translated from Russian by MetaQuotes Software Corp.
    Original code: https://www.mql5.com/ru/code/8088

    ZZ_CheckingFonts 0-0020 & ZZ_DeleteFonts 0-0010 ZZ_CheckingFonts 0-0020 & ZZ_DeleteFonts 0-0010

    A script tool for those who develop programs in MQL4. It allows to display the contents of any font in your chart.

    Painter_v1 Painter_v1

    Indicator colours prices of certain areas hh: mm_start before hh: mm_finish.

    Triggerlines Shift Modified Triggerlines Shift Modified

    Indicator Triggerlines Shift Modified.

    Tickwatcher 2.0 Tickwatcher 2.0

    Another indicator showing recommendations for each currency pair and period.