MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Subscribe to signal
FOREX NAVIGATOR
143.06%, 20 858.42 USD
GRNN Neural Network Class Library
GRNN Neural Network Class
Author: Yurich
Connection of Expert Advisor with ICQ in MQL5 Connection of Expert Advisor with ICQ in MQL5 Hakuna MatataHakuna Matata Try product
Hakuna Matata
Author: cbalta
Screenshot
CHFJPY, W1
Real
To post a new code, please log in or register

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

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

2012.07.19 14:33
Jolly Roger EA Version

Jolly Roger EA Version [ru]

AM2

Downloads:
4428
Views:
6222
Rating:
votes: 21
Files:
\MQL5\Experts\
champion.mq5 (11.6 KB)view

Real author:

That is not the original version of Pirat's "Jolly Roger" Expert Advisor submitted to the Automated Trading Championship 2011. It represents only my vision of performing deals.

Description:

The Expert Advisor works using only RSI indicator, timeframe - М5. Lots 5-15. Trading is performed using the same parameters.

//--- external variables
input int TP        = 150;   // Take Profit
input int SL        = 50;    // Stop Loss
input int RSIPeriod = 14;    // RSI period
input int RSILevel  = 30;    // RSI level

Image:

Fig. 1. Pirat's Expert Advisor trading results at the Automated Trading Championship 2011

Fig. 1. Pirat's Expert Advisor trading results at the Automated Trading Championship 2011



Fig. 2. Test results displayed on the period of the Automated Trading Championship 2008

Fig. 2. Test results displayed on the period of the Automated Trading Championship 2008


Fig. 3. Test results displayed on the period of the Automated Trading Championship 2010

Fig. 3. Test results displayed on the period of the Automated Trading Championship 2010


Fig. 4. Test results displayed on the period of the Automated Trading Championship 2011

Fig. 4. Test results displayed on the period of the Automated Trading Championship 2011

Note:

  • We recommend using this Expert Advisor only as a basis for developing your own strategy.

Translated from Russian by MetaQuotes Software Corp.
Original code: http://www.mql5.com/ru/code/919

Last comments | Go to discussion (5)
och
och | 20 Jul 2012 at 09:59

Dear all,

Indeed it seems to be an interresting strategy, just because it is extremelly simple, and I guess our first rule in building a strategy should be : KEEP IT SIMPLE!

But, how can you explain that it is a winning strategy on Championship 2011, 2010 and 2008 and even on full 2011, but a loosing one on 2012 :

Performance : same settings 01.01.2011 - 20.07.2011

 

Performances : same settings 01.01.2012 - today

 

Performances : same settings 01.01.2010 - 20.07.2010 

 

And how optimization results (RSIPeriod and RSILevel) can give such gap : factor 1:10 (profits and number of trades)

 

Optimization process - 2011 RSIPeriod & RSILevel

 

Optimization process - 2012 RSIPeriod & RSILevel

 

 Probably because of volatility. The less volatility is the less profits are and need to run optimization on SL and TP ???

 

 EURUSD 2010 versus 2011 versus 2012 

 

 

 

 

 

 

 

 

when you run an optimization of only two parameters RSIPeriod and RSILevel

theDUDE
theDUDE | 15 Sep 2012 at 23:34

jolly


does anyone know why the order is sent out in thirds???? wouldn't it be more efficient to execute one trade operation?

Liping Wang
MarketArt | 18 Sep 2012 at 03:27
With multiple positions instead of one is hoping to catch the volatility more efficient.
Dua Yong Rew
doshur | 18 Sep 2012 at 04:44
theDUDE:


does anyone know why the order is sent out in thirds???? wouldn't it be more efficient to execute one trade operation?

Most probably is for the championship max lot requirement. Money Management.
onewithzachy
onewithzachy | 18 Sep 2012 at 06:44
theDUDE:

does anyone know why the order is sent out in thirds???? wouldn't it be more efficient to execute one trade operation?

Hi theDUDE,

I think that's the habit from MT4 to avoid margin call. When margin call occur, broker will close trader position starting from the biggest losing one, until trader account is above margin call level. By dividing position like that (by 3 or 7 or 23), trader will still get its position closed but not all of them because his/her account may already above margin call level when some of his/her position get closed. So the trader still get some of position closed and some still open.

I think that's only work on MT4 which is ticket based trading.