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.
I welcome any suggestions as to how this advisor could become self optimising so as to produce consistent results over different time frames.
The fractal adaptive Moving Average by John Ehlers. Version 1.1 7/17/2006EMA-Crossover_Signal
The simplest semaphore signal indicator based on different period Moving Averages
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
An interesting trend indicator drawn on the basis of the simple Moving Average