Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal


GreenTrade - expert for MetaTrader 5

| English Русский 中文 Español Deutsch Português

Published by:
Vladimir Karputov
votes: 15
2018.01.22 09:53
GreenTrade.mq5 (39.74 KB)view

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:

GreenTrade indices

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.


GreenTrade EURUSD M5

Translated from Russian by MetaQuotes Software Corp.
Original code:

Billy expert Billy expert

A trading strategy "three bars down, Stochastic up".

Martin Martin

A trading system based on the Martingale technique.

KDJ Indicator KDJ Indicator

KDJ Indicator Oscillator

KDJ Expert Advisor KDJ Expert Advisor

An Expert Advisor based on "KDJ Indicator"