Extend MQL!! - page 4

To add comments, please log in or register
Yuri Predborski
561
Yuri Predborski  
pengie:

---Todo list

Add functions for MM and TrailingStops.

I can do that in 5 minutes lol instead of making new functions, take a look at existing ones

Eric Venturi-Bloxs
1064
Eric Venturi-Bloxs  
Shinigami:

DON'T put && into if's - that really slows them down. I've already re-wrote some experts into that way and guess what - they work up to 10 times faster (each condition is checked if && is used, even if one is FALSE, others are still checked. if you use separate if's you save time because you stop at first FALSE you get)

I hope this helps...

Thanks for the explanation. This helps a lot!

FerruFx

MrPip
546
MrPip  

using OrdersTotal

This also works well.

for(int cnt=OrdersTotal()-1;cnt>=0;cnt--)

{

OrderSelect (cnt, SELECT_BY_POS, MODE_TRADES);

if ( OrderSymbol() != Symbol()) continue;

if ( OrderMagicNumber() != MagicNumber) continue;

// Process Order

}

Robert

Eric Venturi-Bloxs
1064
Eric Venturi-Bloxs  
MrPip:
This also works well.

for(int cnt=OrdersTotal()-1;cnt>=0;cnt--)

{

OrderSelect (cnt, SELECT_BY_POS, MODE_TRADES);

if ( OrderSymbol() != Symbol()) continue;

if ( OrderMagicNumber() != MagicNumber) continue;

// Process Order

}

Robert

Thanks

ryanklefas
598
ryanklefas  

Here is another thread with some libraries:

https://www.mql5.com/en/forum

Now if we could get ND to start merging some of these threads, we could get this forum cleaned up a bit.

Files:
ryanklefas
598
ryanklefas  

Another thread with libraries:

https://www.mql5.com/en/forum

Sergey Golubev
Moderator
114836
Sergey Golubev  
ryanklefas:
Another thread with libraries: https://www.mql5.com/en/forum

It was merged.

With 2 days redirection but those redirections will be expired and deleted automatically after 2 days (so no need to inform members by PM about this merging).

BTW we have enough threads/posts for future programming section. I am collecting everything here https://www.mql5.com/en/forum/174329

ryanklefas
598
ryanklefas  
newdigital:
It was merged.

With 2 days redirection but those redirections will be expired and deleted automatically after 2 days (so no need to inform members by PM about this merging).

BTW we have enough threads/posts for future programming section. I am collecting everything here https://www.mql5.com/en/forum/174329

Thanks again, ND. You just can't under-estimate the importance of an organized forum.

melinda
7
melinda  

It will be some difficulties

davidpetard
41
davidpetard  

Web Service Call in MQL4

Hi everybody,

Is there a possibility to perform web services calls within an expert advisor to query a distant system.

Best Regards

To add comments, please log in or register