Add CCI indicator. Put the MA indicator directly on it. (Apply to Previous Indicator's Data)
The EA works by the following algorithm:
1. If the CCI line crosses the MA bottom-up then buy.
2. If the CCI line crosses the MA from top downwards then sell.
3. If the CCI crosses 100 from top downwards then close the BUY trade, if it crosses 100 bottom-up then close the SELL trade.
Only one trade can be opened at a time.
The EA was tested on EURUSD from the year 2001. The best parameters for H1:
The report is attached.
Help me with the optimization on the other symbols and timeframes. I think that the algorithm is not bad, but the realization leaves something to be desired. I propose you to work on it together. Write about your ideas and defects noticed, let's improve it...
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/8425
Greetings to all. I started to develop a MTS not long ago. This is my first one. How can I improve it, I'm waiting for the specialist's advices. And how can I use the AMA indicator in the EAs (iAMA)? I tested this strategy on September 2008.Trend Indicators
A small set of the trend indicators.
It denotes the combinations of candlesticks using the "wingdings".MartingailExpert_v1.0
The EA opens the positions in the direction of moving of Stochastic indicator, in addition there is a heightening of positions by martingale. It is tuned for micro-Forex.