Download MetaTrader 5

Experts: Prototype-IX. An Exemplary Multicurrency EA

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
184299
MetaQuotes Software Corp.  

Prototype-IX. An Exemplary Multicurrency EA:

It is shown how you can open positions for 12 symbols available and for 4 timeframes using only one EA attached to only one chart.

Author: MetaQuotes Software Corp.

Mehmet Bastem
242
Mehmet Bastem  

Please translare english

extern int     PeriodWPR=8;
extern double  CriteriaWPR=25;
extern int     ATRPeriod=40;// ïåğèîä ATR äëÿ èíäèêàòîğà
extern double  kATR=0.5;
extern int     ZeroBar=8; // âûõîä â áåçóáûòîê ÷åğåç ZeroBar áàğîâ

Rashid Umarov
Admin
12155
Rashid Umarov  
Mehmet:

Please translare english

extern int     PeriodWPR=8;
extern double  CriteriaWPR=25;
extern int     ATRPeriod=40;// ïåğèîä ATR äëÿ èíäèêàòîğà
extern double  kATR=0.5;
extern int     ZeroBar=8; // âûõîä â áåçóáûòîê ÷åğåç ZeroBar áàğîâ

This is my try

extern int     ATRPeriod=40;// amount of bars for calculation of the ATR indicator
extern double  kATR=0.5;
extern int     ZeroBar=8; // setup StopLoss in lossless after ZeroBar bars
MQL4 Comments
16319
MQL4 Comments  

This EA does not work with an IBFX mini acciunt. The symbols in IBFX mini accounts use the small 'm" after the symbol...like EUR/USDm...GBP/JPYm...etc.

Also, the NRTR GATOR need to be edited in explorer to be named NRTR_Gator (it needs the underscore).

ES

Rashid Umarov
Admin
12155
Rashid Umarov  
ElectricSavant:

This EA does not work with an IBFX mini acciunt. The symbols in IBFX mini accounts use the small 'm" after the symbol...like EUR/USDm...GBP/JPYm...etc.

Also, the NRTR GATOR need to be edited in explorer to be named NRTR_Gator (it needs the underscore).

ES

Rename all symbols in source:

string SymbolsArray[13]={"","USDCHF","GBPUSD","EURUSD","USDJPY","AUDUSD","USDCAD","EURGBP","EURAUD","EURCHF","EURJPY","GBPJPY","GBPCHF"};
Joao Rosas
391
Joao Rosas  

for ibfx:

string SymbolsArray[13]={"","USDCHFm","GBPUSDm","EURUSDm","USDJPYm","AUDUSDm","USDCADm","EURGBPm","EURAUDm","EURCHFm","EURJPYm","GBPJPYm","GBPCHFm"};

tolits
14
tolits  

When I use ParabolTrailingStop then compile, I get error: "TSpar not defined".

To add comments, please log in or register