Hello everyone,
I am new in programming. Recently I coded the following program.
I tried to test it with strategy tester.It is giving the following Error.
13:31:06 2013.01.11 05:35 GENESI~2 EURUSD#,M5: executable file is corrupted. Please recompile it.
I am attaching the source code
1. Would you guys be kind enough to tell me what is wrong.
2. can anyone suggest me any easy going reading material/link which can help me understanding MQL4 programing ?
1. Make sure the version of MetaEditor you are using is the same Build or earlier than the version of MT4 you are using.
2. the Book
1. Make sure the version of MetaEditor you are using is the same Build or earlier than the version of MT4 you are using.
2. the Book
13:31:06 2013.01.11 05:35 GENESI~2 EURUSD#,M5: executable file is corrupted. Please recompile it.
WHRoeder,Thanks for your reply.I recompiled it many times.But still its not working .is my code ok?wish you best of luck.
Then the code is irrelevant.
Did you install in \program files* on Vista/Win7?
Shutdown the terminal, delete the ex4 and restart - It can't run what it can't find. If it's still running, that file is NOT what is running.
Then recompile and attach.

- 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 everyone,
I am new in programming. Recently I coded the following program.
I tried to test it with strategy tester.It is giving the following Error.
13:27:47 GENESI~2 EURUSD#,M5: removed
13:30:56 GENESI~2: loaded successfully
13:31:00 TestGenerator: unmatched data error (high value 1.35239 at 2013.02.06 14:25 is not reached from the least timeframe, high price 1.35224 mismatches)
13:26:21 TestGenerator: unmatched data error (low value 1.29935 at 2013.03.22 17:55 is not reached from the least timeframe, low price 1.29952 mismatches)
13:26:21 TestGenerator: unmatched data error (low value 1.28623 at 2013.03.26 15:00 and price 1.28606 mismatched)
13:26:21 TestGenerator: unmatched data error (volume limit 53 at 2013.03.26 15:00 exceeded)
13:31:06 GENESI~2 inputs: TP=30; SL=30; Lots=0.1; MagicNum=10001; begin=8; finish=20;
13:31:06 2013.01.11 05:35 GENESI~2 EURUSD#,M5: executable file is corrupted. Please recompile it.
I am attaching the source code
Would you guys be kind enough to tell me what is wrong.
2.can anyone suggest me any easy going reading material/link which can help me understanding MQL4 programing ?