Experts: BreakOut + MM + Multi-currencies

 

BreakOut + MM + Multi-currencies:

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

Author: afabiani

 

Many thanks....

 
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

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

 
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 %.

 

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?

 
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.
 
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 :)
 

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.

 
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.

 
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.
Reason: