Swap Only EA

 

Gidday.

Here's a great little EA it opens on a new bar but only in the positive swap directions.

I have burgled a few bit's of code from openticks and mash it together it works quite well imho.

anyway give it a crack and let me know

Cheers

Beno

Files:
common.mqh  1 kb
errorcodes.mqh  15 kb
logging.mqh  2 kb
swap.mq4  13 kb
 
Beno:
Gidday.

Here's a great little EA it opens on a new bar but only in the positive swap directions.

I have burgled a few bit's of code for openticks and mash it together it works quite well imho.

anyway give it a crack and let me know

Cheers

Beno

Thanks, Beno. Demo or live? What kind of DD do you get with this EA?

Rob

 
ChicagoRob:
Thanks, Beno. Demo or live? What kind of DD do you get with this EA? Rob

huge dd but you can run it on any pair no indi and any tf

i'v not put it on to my live acc yet it could do with some work I think the percentage exit is not working.

have a play and let me know

Files:
 
Beno:
huge dd but you can run it on any pair no indi and any tf

i'v not put it on to my live acc yet it could do with some work I think the percentage exit is not working.

have a play and let me know

Excuse my ignorance, but I am not familiar with .mqh files. Also, does

the EA require these files to operate, since it will not load onto my

chart?

Rob

 
ChicagoRob:
Excuse my ignorance, but I am not familiar with .mqh files. Also, does

the EA require these files to operate, since it will not load onto my

chart?

Rob

yup place them in your include folder

 
Beno:
yup place them in your include folder

I put the files in the Include folder, but EA still won't attach. Stumped.

 

Koyco

Same here any ideas?

 

Give this ago.

Files:
swap.mq4  13 kb
 

9 warnings

Beno:
Give this ago.

I get these on compiling:

Function "ErrorDescription" is not referenced and will be removed from exp-file

Function "setLogFile" is not referenced and will be removed from exp-file

Function "enableFileLogging" is not referenced and will be removed from exp-file

Function "disableFileLogging" is not referenced and will be removed from exp-file

Function "enableLogging" is not referenced and will be removed from exp-file

Function "disableLogging" is not referenced and will be removed from exp-file

Function "printLog" is not referenced and will be removed from exp-file

Function "countOpenOrders" is not referenced and will be removed from exp-file

Function "newMarketOrder" is not referenced and will be removed from exp-file

 
Beno:
Give this ago.

I gave it a go and it isn't going.

 

Ok all I have done it Copy and Paste the files in to this zip so it should work.

Files:
Reason: