Hello,
I try to install an EA on an orher PC and I get this message of error : 2005.01.26 12:27:37 Expert 'Test EA' is an indicator and cannot be executed.
It works on my other PC, what can I do? I have the same problem with the sample EA, MACD sample and Moving Average of MT4.
Sometimes he message is : executable file is corrupted. Please recompile it.
It sounds like you have copied an Indicator to the experts/ folder or experts/scripts/ folder . . . instead of experts/indicators/
No I have copied my expert on a text note, and put it on a usb key, a I have created a new EA on the other PC and paste the text.
No I have copied my expert on a text note, and put it on a usb key, a I have created a new EA on the other PC and paste the text.
The new EA is in expert folder, not in indicator.
Yes I erased everythings before the copy.
The new EA is in expert folder, not in indicator.
Yes I erased everythings before the copy.
I can't post the code sorry.
Say what part of the code you are interested by.
The list of EA and indicators is simply the list of EA and indicators we get at the intalation of MT4 plus an EA call Test EA, because I just instal it.
I can't post the code sorry.
1. Say what part of the code you are interested by.
2. The list of EA and indicators is simply the list of EA and indicators we get at the intalation of MT4 plus an EA call Test EA, because I just instal it.
1. the part before start()
2. if you don't want help then that is OK.
#property copyright "Copyright 2012, Mehdi" #property link "http://www.metaquotes.net" #include <WinUser32.mqh> #include <stdlib.mqh>//Pour la fonction ErrorDescription //+------------------------------------------------------------------+ //| expert initialization function | //+------------------------------------------------------------------+ extern string Note1="Toujours mettre un 0 si date à 1 chiffre"; extern string BeginYear = "2012"; extern string BeginMonth = "10"; extern string BeginDay = "26"; extern string BeginHour = "21"; extern string BeginMinute = "33"; extern string Note4="Temps de pause en secondes après un ordre"; extern int PauseTime = 1; extern string Note2="Pourcentage de risque par ordre"; extern double RiskPercent = 5.0; extern double PercentageofStoploss=1; extern bool AllSymbols=True; extern string Note3="Paires à "; extern string Pair1 = "EURUSD"; extern string Pair2 = "USDCHF"; extern string Pair3 = "GBPUSD"; extern string Pair4 = "AUDUSD"; extern string Pair5 = "NZDUSD"; extern string Pair6 = "USDJPY"; extern string Pair7 = "EURJPY"; extern string Pair8 = "GBPJPY"; extern string Pair9 = ""; extern string Pair10 = ""; extern string Pair11 = ""; extern string Pair12 = ""; extern string Pair13 = ""; string Symb[1000]; double Performances[1000]; double BestValue = 0; double WorstValue = 0; double PositionValueBuy = 0; double PositionValueSell = 0; string Pairs[1000]; int BestValueIndex=0; int WorstValueIndex=0; int PositionValueBuyIndex = 0; int PositionValueSellIndex = 0; datetime WaitBuy=D'1970.01.01 00:00:00'; datetime WaitSell=D'1970.01.01 00:00:00'; datetime TimeOfBegin = 0; double BeginningPrice[1000]; double BeginningAccountBalance = 0;
MT4 is on vista, on the 2 computers and in Program Files on the 2 computers too.
I try....
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I try to install an EA on an orher PC and I get this message of error : 2005.01.26 12:27:37 Expert 'Test EA' is an indicator and cannot be executed.
It works on my other PC, what can I do? I have the same problem with the sample EA, MACD sample and Moving Average of MT4.
Sometimes he message is : executable file is corrupted. Please recompile it.
Thanks