stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

New Empty4 Update 600 screws up all indis and EAs
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3423
Page 4 of 6
Author:  milanese [ Mon Mar 24, 2014 6:50 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

Gordon » Mon Mar 24, 2014 6:47 pm wrote:When I compile my EA's with build 600 I get "Warnings" :

return value of 'OrderSelect' should be checked

What can I add to fix this?
If you attach your EA , I will take a look how to fix it for 6xx builds..

Cheers :)

Tommaso
Author:  art [ Mon Mar 24, 2014 7:06 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

It's driving me mad, downloaded new demo from global version 625, another new build, and I'm having problems installing ea's, indies, some indies open, templates don't show up, etc etc a real pain and time consuming
Author:  milanese [ Mon Mar 24, 2014 7:19 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

art » Mon Mar 24, 2014 7:06 pm wrote:It's driving me mad, downloaded new demo from global version 625, another new build, and I'm having problems installing ea's, indies, some indies open, templates don't show up, etc etc a real pain and time consuming
let me know if you need some other indicators modified for your new build..

Cheers :)

Tommaso
Author:  art [ Mon Mar 24, 2014 7:54 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

thanks tomasso you're a star,
Author:  art [ Mon Mar 24, 2014 9:37 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

hi tomasso, i cant get get your version of the stoch to load i downloaded the latest one you posted, cant even see it it in the indie file, also extreme tma loaded but doesnt appear to work just showing 9.0 on all the different slope timeframes,
Author:  milanese [ Mon Mar 24, 2014 9:48 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

art » Mon Mar 24, 2014 9:37 pm wrote:hi tomasso, i cant get get your version of the stoch to load i downloaded the latest one you posted, cant even see it it in the indie file, also extreme tma loaded but doesnt appear to work just showing 9.0 on all the different slope timeframes,
it works here with the latest build are you sure you have put the file in the right folder? You should look out for a folder in win7 normally here C:\Users\user_name\AppData\Roaming\MetaQuotes\Terminal\, and take the installation with the latest modified date..
Or use this to find out where the correct "Data folder" location is, is to read the "Journal" log of Empty4.
The second line from start reports the used Data folder.
In win7 you will find it normally here C:\Users\user_name\AppData\Roaming\MetaQuotes\Terminal\
Cheers :)

Tommaso
Author:  art [ Mon Mar 24, 2014 10:12 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

Tommaso thanks for all your help, I will check it out later, many of us are truly grateful for all your help and guidance in helping us to get these updates under our belt
Author:  SteveHopwood [ Mon Mar 24, 2014 10:18 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

milanese » Mon Mar 24, 2014 6:50 pm wrote:
Gordon » Mon Mar 24, 2014 6:47 pm wrote:When I compile my EA's with build 600 I get "Warnings" :

return value of 'OrderSelect' should be checked

What can I add to fix this?
If you attach your EA , I will take a look how to fix it for 6xx builds..

Cheers :)

Tommaso
Gordon, the other thingy to do is learn the difference between a warning that does bugger all and an error that stops compilation. Do that and you will save yourself a lot of angst.

:xm:
Author:  4EverMaAT [ Tue Mar 25, 2014 1:47 pm ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

I always use the '/portable' switch to keep things simple for myself and my programmer. You right-click on terminal.exe and 'create shortcut'. Then right-click on the shortcut and view properties. On the shortcut tab, add the /portable switch to the program target path.
Empty4 portable switch screenshot.png
If you were using an application like CNS Autoboot or AlwaysUp, then you could just pass the /portable argument in the launch settings without using a separate shortcut.

I can't really see a good reason why anyone would want to use the roaming folder for terminal data. I have all my mt4s installed outside of the program files folder anyway.
Author:  Gordon [ Thu Mar 27, 2014 1:35 am ]
Post subject:  New Empty4 Update 600 screws up all indis and EAs

milanese » Mon Mar 24, 2014 1:50 pm wrote:
Gordon » Mon Mar 24, 2014 6:47 pm wrote:When I compile my EA's with build 600 I get "Warnings" :

return value of 'OrderSelect' should be checked

What can I add to fix this?
If you attach your EA , I will take a look how to fix it for 6xx builds..

Cheers :)

Tommaso
Thanks Tommaso, I figured it out myself by analysing one of metaquotes free EA's. I changed:

OrderSelect(Blah, Blah, Blah);

to:

if (OrderSelect(Blah, Blah, Blah) == false) break;

and that got rid of the warning.
All times are UTC Page 4 of 6