Swap Only EA

Beno
1163
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 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
ChicagoRob
523
ChicagoRob  
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

Beno
1163
Beno  
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:
ChicagoRob
523
ChicagoRob  
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

Beno
1163
Beno  
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

ChicagoRob
523
ChicagoRob  
Beno:
yup place them in your include folder

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

[Deleted]  

Koyco

Same here any ideas?

Beno
1163
Beno  

Give this ago.

Files:
swap.mq4  13 kb
peri
29
peri  

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

ChicagoRob
523
ChicagoRob  
Beno:
Give this ago.

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

Beno
1163
Beno  

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

Files: