Join our fan page
- Published by:
- Vladimir Karputov
- Views:
- 5940
- Rating:
- Published:
- 2018.01.22 10:02
- Updated:
- 2018.02.28 14:53
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The author of the idea: John Smith, the mq5 code author: barabashkakvn.
The EA trades based on the signals of iIchimoku (Ichimoku Kinko Hyo) using a fixed lot. When a signal emerges, opposite positions are closed.
The Buy signal:
if(Senkou_Span_A>Senkou_Span_B) if(Close>Open) if(Senkou_Span_B<Close && Close<Senkou_Span_A)
Example:
The Sell signal:
if(Senkou_Span_B>Senkou_Span_A) if(Open>Close) if(Senkou_Span_B>Close && Close>Senkou_Span_A)
Input Parameters
- Ichimoku settings
- Ichimoku: period of Tenkan-sen;
- Ichimoku: period of Kijun-sen;
- Ichimoku: period of Senkou Span B.
- Trade settings
- Lots - position volume;
- Stop Loss (in pips) - stop loss value;
- Take Profit (in pips) - take profit value;
- magic number - Expert Advisor identifier.
Example of EA launch on EURUSD,H3:
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19563
![EMA 6.12](https://c.mql5.com/i/code/expert.png)
The Expert Advisor uses the signals of "crossover of two iMAs (Moving Average, MA)". The EA uses Trailing Stop and Take Profit.
![FORTS Currency Powers](https://c.mql5.com/i/code/expert.png)
An example of creating synthetic instruments for calculating the strength of RTS, USD, RUB based on futures contracts of the FORTS market.
![Momo_trades](https://c.mql5.com/i/code/expert.png)
The Expert Advisor trades based on the signals of iMA (Moving Average, MA) and iMACD (Moving Average Convergence/Divergence, MACD). The minimum distance between the price and the MA indicator is taken into account.
![ma-shift Puria method](https://c.mql5.com/i/code/expert.png)
The Expert Advisor is based on Puria method with a few changes. It uses two iMA (Moving Average, MA) indicators and one iMACD (Moving Average Convergence/Divergence, MACD).