Compilation impossible
-
Hi,

I'm French excuse me for translation.
I try to compile, but not a lot of errors.
My project thank you for your help.https://fxdreema.com/shared/TJWM0Kwsc
Here are some of the errors
-
Oops... something went wrong with my last updated. MQL4 makes me sad sometimes
I will fix it. -
Do you use some older MetaEditor?
-
Yes metaEditor version 4.00 Build 509.
And I can not install the new version of MT4 with Athlon XP 1900+ weird.
If the blocks, they are well prepared?
You could compile me, I wonder if it works my email muratime@wanadoo.fr -
Woooooow, this one is OLD! And there are major changes after build 600, so everything before that is useless, it will give you errors and I will not support it.
Try whatever it takes to install and run the newest MT4 version, or at least something that is not older than 6 months.
-
Home if you compil it does not display any error?
-
I will not support older versions of MT4. Why? Because after build 600 there are many new functions and I started to use them in the code. You can't compile it because MetaEditor sees functions that does not exists for it. Build 509 was the last build from the old era of MQL4, now MQL4 is a little bit different, so... install something new somehow

-
I asked a friend who has a newer MetaEditor and can compile without error.

Otherwise I would put this kind of code
if (Bid <= Open [0] %(#FF0000)[-25 * Point * PipValue)]
I took the "condition" block but how do I add a "%(#FF0000)[ -25 * Point * PipValue)]"? -
I will say this again: I will not support old MQL4 code. This is in the history, does not exists for me anymore. PipValue does not exists anymore, this code does not exists anymore.
The web version of fxDreema can compile the EA, it has the latest compiler, but the .ex4 file will not run on 509 anyway.
At least 600+ is faster. It has many other features for MQL4, but if not else, it's faster to backtest. 509 is history, and not only that, it is a history that was slower. Just do something to install and run something new.
-
OK thank you
But if I want that if the bid >= to open [0] + 25 pips how I should do in the blocks?I try to ADATER old code with your compiler and
and also block what use to modify a buy stop and sell stop
-
There is a block called "Condition" that was made to do the "if" stuff. It has 2 operands, left and right, and for each one you can find this place called "Adjust" and write something in there. Better read the description of this block. Hold your mouse over "Condition" and you will see it.
There are also blocks to modify things. Also check https://fxdreema.com/examples
But before everything, get rid of this 509... or find some other EA builder that was abandoned, because this one does not work with it anymore. It worked for some months after build 600, but now I'm moving forward, it's almost 1 year later. Now I use functions that are only available in 600+ and I'm not gonna rewrite it only to support some old and worse version.
-
I understood for the new version but I need a new PC with Pentium 4 at mininum.
For the block if I can also put and do three and condition? (see photo)Otherwise modify a buy stop or sell stop there is no block?
-
-
OK thank you

you think you will create a pending order modify module (buy stop and sell stop)?
-
I'm giving you old versions of fxDreema that will probably work with the old MT4. This does not mean that I will do something for these versions. Whatever blocks and options I'm going to add now, they will NOT work for 509 for sure.
-
I meant especially for the site not on older versions.
Because before long I'll buy a motherboard, my Athlon XP does not support SSE2