Forex



Go Back   Forex Trading > Downloads > Expert Advisors - Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2009, 06:41 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
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
Attached Files
File Type: mqh moneymanagement.mqh (3.0 KB, 78 views)
File Type: mqh common.mqh (598 Bytes, 63 views)
File Type: mqh errorcodes.mqh (14.7 KB, 60 views)
File Type: mqh logging.mqh (1.8 KB, 61 views)
File Type: mq4 SWAP.mq4 (12.1 KB, 74 views)

Last edited by Beno; 03-12-2009 at 09:11 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 03-11-2009, 06:45 PM
Senior Member
 
Join Date: Mar 2008
Posts: 426
ChicagoRob is on a distinguished road
Quote:
Originally Posted by Beno View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 03-11-2009, 07:45 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Quote:
Originally Posted by ChicagoRob View Post
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
Attached Files
File Type: mqh ordermanagement.mqh (2.6 KB, 56 views)

Last edited by Beno; 03-11-2009 at 07:49 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 03-11-2009, 11:20 PM
Senior Member
 
Join Date: Mar 2008
Posts: 426
ChicagoRob is on a distinguished road
Quote:
Originally Posted by Beno View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 03-11-2009, 11:40 PM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Quote:
Originally Posted by ChicagoRob View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 03-12-2009, 12:55 AM
Senior Member
 
Join Date: Mar 2008
Posts: 426
ChicagoRob is on a distinguished road
Quote:
Originally Posted by Beno View Post
yup place them in your include folder
I put the files in the Include folder, but EA still won't attach. Stumped.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 03-12-2009, 07:48 AM
Junior Member
 
Join Date: Jan 2009
Posts: 15
Koyco is on a distinguished road
Koyco

Same here any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 03-12-2009, 09:13 AM
Beno's Avatar
Senior Member
 
Join Date: Aug 2006
Location: London
Posts: 516
Beno is on a distinguished road
Give this ago.
Attached Files
File Type: mq4 SWAP.mq4 (12.1 KB, 51 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 03-12-2009, 11:17 AM
Junior Member
 
Join Date: Oct 2007
Posts: 27
peri is on a distinguished road
9 warnings

Quote:
Originally Posted by Beno View Post
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 03-12-2009, 11:25 AM
Senior Member
 
Join Date: Mar 2008
Posts: 426
ChicagoRob is on a distinguished road
Quote:
Originally Posted by Beno View Post
Give this ago.
I gave it a go and it isn't going.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any one have swap indicator? oneprint Indicators - Metatrader 4 6 07-08-2007 10:27 AM
Time of SWAP DooMGuarD Metatrader 4 0 07-04-2007 11:30 PM
No Swap Trading ricosuave General Discussion 7 02-15-2007 01:26 PM
Swap Scalper foxxx Suggestions for Trading Systems 2 07-24-2006 12:46 PM
What is a swap? JBendar General Discussion 2 04-07-2006 03:06 AM


All times are GMT. The time now is 12:35 PM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.