Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Published by:
- Vladimir Karputov
- Views:
- 4431
- Rating:
- Published:
- 2018.01.22 09:53
- Updated:
- 2018.02.28 14:10
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Author of the idea: Andrey, author of the mq5 code: barabashkakvn.
The Expert Advisor trades based on iMA and iRSI signals. Values of iMA on four bars are compared. Indices of these bars can be optimized. The bar index is specified as a shift from the previous one:
There are two levels for the iRSI indicator:
- "buy level" - if RSI is equal to or greater than this level, it is a Buy signal;
- "sell level" - if RSI is equal to or lower than this level, it is a Sell signal.
Input Parameters
- MA: averaging period - averaging period for iMA;
- Index of the bar #0
- Index of the bar #1 (shift from bar #0)
- Index of the bar #2 (shift from bar #1)
- Index of the bar #3 (shift from bar #2)
- RSI: averaging period
- RSI buy level
- RSI sell level
- Lots - position volume;
- Stop Loss
- Take Profit
- Trailing Stop
- Trailing Step
- Max position - the maximum number of open positions;
- magic number - Expert Advisor identifier.
EURUSD,M5:
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19469
![Billy expert](https://c.mql5.com/i/code/expert.png)
A trading strategy "three bars down, Stochastic up".
![Martin](https://c.mql5.com/i/code/expert.png)
A trading system based on the Martingale technique.
![KDJ Indicator](https://c.mql5.com/i/code/indicator.png)
KDJ Indicator Oscillator
![KDJ Expert Advisor](https://c.mql5.com/i/code/expert.png)
An Expert Advisor based on "KDJ Indicator"