Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Sistemi Esperti

Difference of Two Moving Averages - sistema esperto per MetaTrader 5

Visualizzazioni:
18848
Valutazioni:
(45)
Pubblicato:
2013.02.28 09:47
Aggiornato:
2016.11.22 07:32
\MQL5\Indicators\
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

This expert advisor has been developed after observing when two moving averages diverge and converge, there is a typically a maximum difference between the instantaneous values of the two moving averages before the trend changes.

The difference of the two moving averages is amplified by a non-linear cubic transfer function to differentiate between major and minor excursions from zero.  The final step is a simple level discriminator with high and low thresholds which responds to the major excusions before signalling a change of trend.

Whilst this advisor with default settings produces good optimised results over the period of the last Championship using 1H time frame with EURUSD, it exhibits the usual characteristic of requiring different parameters for optimum results over a different time period.

In the interest of reducing optimisation time the advisor does not use a custom indicator, although a custom incremental indicator is included for use with the strategy tester in visualisation mode and this can be disabled in the optional line  GI=iCustom(NULL,0,"madelta_inc",d,m,F,FM,FP,S,SM,SP); The indicator demonstrates the operation of the cubic function with high and low threholds and the signal colour changes to yellow for buy and red for sell.

Test results

Recommendations:

I welcome any suggestions as to how this advisor could become self optimising so as to produce consistent results over different time frames. 

    FractalAMA FractalAMA

    The fractal adaptive Moving Average by John Ehlers. Version 1.1 7/17/2006

    EMA-Crossover_Signal EMA-Crossover_Signal

    The simplest semaphore signal indicator based on different period Moving Averages

    ElliottWaveMaker 3.0 ElliottWaveMaker 3.0

    ElliottWaveMaker 3.0 is Tool for Semi-Automatic Analysis of Elliott Waves and Andrew's Pitchforks, a logical extension of version 2.0 known as AutoElliottWaveMaker. In version 3.0 minor errors are corrected, the ability to draw Andrew's Pitchforks and a few additional functions are added.

    EMAAngle EMAAngle

    An interesting trend indicator drawn on the basis of the simple Moving Average