Download MetaTrader 5

Experts: BreakOut + MM + Multi-currencies

To add comments, please log in or register
Read the Forum and improve your rating!
MetaQuotes Software Corp.
Moderator
181158
MetaQuotes Software Corp. 2012.07.06 11:17 

BreakOut + MM + Multi-currencies:

The EA based on break-outs with money management. It is able to trade on multiple pairs.

Author: afabiani

MQL4 Comments
16319
MQL4 Comments 2012.07.06 16:53  

Many thanks....

michel.granie
8
michel.granie 2012.07.06 20:56  
hmrt135:

Un grand merci ....

Michel Granie
Bonjour

Ou faut'il ranger les fichier hanover --- function header et hanover --- extensible functions ???

Merci de votre réponse

michel.granie
8
michel.granie 2012.07.07 07:28  

Michel Granie

Le Back Test sur un an est très intéressant Merci pour le partage de votre Travail

afabiani
20
afabiani 2012.07.07 09:45  
michelgranie:

Michel Granie

Le Back Test sur un an est très intéressant Merci pour le partage de votre Travail


Hello,

sorry I don't speak french :) ... however the hanovers files (.mqh) must go under experts/include folder.

If you plan to test it on more than one currency I kindly suggest for the moment to set AllSymbols = FALSE in order to let the bot consider the pairs separately. Moreover in order to raise the gain, play with the RiskPerTrade setting, but be carefull to consider the percentage accordingly to the number of pairs you are going to trade.

I usually get good results with EURUSD,USDCHF and RiskPerTrade around 5 and 10 %.

MQL4 Comments
16319
MQL4 Comments 2012.07.07 11:42  

Hello

When I compiled the messages show up:

Function "StringLower" is not referenced and will be removed from exp-file

Function "StringEncrypt" is not referenced and will be removed from exp-file

Function "StringArrayToStr" is not referenced and will be removed from exp-file.... and more

Why?

afabiani
20
afabiani 2012.07.07 13:20  
Yogibear:

Hello

When I compiled the messages show up:

Function "StringLower" is not referenced and will be removed from exp-file

Function "StringEncrypt" is not referenced and will be removed from exp-file

Function "StringArrayToStr" is not referenced and will be removed from exp-file.... and more

Why?



No warries, they are just warnings because I didn't used that functions.
MQL4 Comments
16319
MQL4 Comments 2012.07.07 16:52  
afabiani:
Yogibear:

Hello

When I compiled the messages show up:

Function "StringLower" is not referenced and will be removed from exp-file

Function "StringEncrypt" is not referenced and will be removed from exp-file

Function "StringArrayToStr" is not referenced and will be removed from exp-file.... and more

Why?



No warries, they are just warnings because I didn't used that functions.
Thanks :)
MQL4 Comments
16319
MQL4 Comments 2012.07.10 10:14  

Hello afabiani,

How do you run a simulation on multiple currency pairs?

I set it to run on

extern string Symbols = "EURUSD,AUDUSD";

The backtest fails immediately with this error:

2012.07.10 06:09:45 2012.01.01 23:00 Charels1_4_0 EURUSD,M15: zero divide

It works fine with a single currency.

afabiani
20
afabiani 2012.07.10 13:35  
fperugini:

Hello afabiani,

How do you run a simulation on multiple currency pairs?

I set it to run on

extern string Symbols = "EURUSD,AUDUSD";

The backtest fails immediately with this error:

2012.07.10 06:09:45 2012.01.01 23:00 Charels1_4_0 EURUSD,M15: zero divide

It works fine with a single currency.


Unfortunately it's not possible with the MT4 strategy tester ... I tested/testing it on a demo account.

However setting AllSymbols = FALSE it will handle every single pair exactly as it has been attached to the different charts.

MQL4 Comments
16319
MQL4 Comments 2012.07.10 16:14  
afabiani:
fperugini:

Hello afabiani,

How do you run a simulation on multiple currency pairs?

I set it to run on

extern string Symbols = "EURUSD,AUDUSD";

The backtest fails immediately with this error:

2012.07.10 06:09:45 2012.01.01 23:00 Charels1_4_0 EURUSD,M15: zero divide

It works fine with a single currency.


Unfortunately it's not possible with the MT4 strategy tester ... I tested/testing it on a demo account.

However setting AllSymbols = FALSE it will handle every single pair exactly as it has been attached to the different charts.


Thanks, I understand now. Had another question on some back testing results, but could not figure how to attach a file here so I sent you a private message.
12
To add comments, please log in or register