NetTrap Metatrader Expert Advisor

This is a discussion on NetTrap Metatrader Expert Advisor within the Forex Net Trap forums, part of the Specialists' Corner category; Originally Posted by SpindriftUK I'm sure we can get the EA to the point where we can cover most of ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Oct 6, 2010, 11:47am   #9
 
mark120169's Avatar
Joined Apr 2010
Re: NetTrap Metatrader Expert Advisor

Quote:
Originally Posted by SpindriftUK View Post
I'm sure we can get the EA to the point where we can cover most of the variants.

BTW, do you still want to do a friend referral for a live SML account for me?

Cheers,
Greg
Just PM'ed you. Will get it sorted this afternoon.

M
mark120169 is offline   Reply With Quote
Old Oct 6, 2010, 12:51pm   #10
Joined Jun 2010
Re: NetTrap Metatrader Expert Advisor

Quote:
Originally Posted by SpindriftUK View Post
Attached to this post is my NetTrap EA. I am only attaching the .ex4 file (i.e. not the source) as I would rather keep the source in one place. If anyone would like to see the source, please PM me.

I will assume that anyone who wants to use the EA will know where to put the file and how to attach it to a chart.

The EA has numerous parameters and I have included an explanation of each as an extern string; i.e. you will see the explanation underneath the parameter when you look at the Inputs tab of the properties.

The parameter defaults will cause the program to trade as per VNT rules; i.e. SLPips=30 and TPMult=1.66. I think some of the variants could be achieved by adjusting these two parameters; e.g. HNT might be achieved by setting TPMult to 0.5.

There is no way currently to achieve any of the INT variants but I intend to look into that.

I am using it on a live account but I would strongly suggest using it on demo until you are completely happy with it. Just this morning, I found a bug that meant that the entry point was being calculated incorrectly (fixed now )

Please feel free to ask any questions and make suggestions. It would be great if, together, we could make this into a really useful tool.

Cheers,
Greg
Just set it up on a demo account. Very straightforward. Thanks.
Wagtail is offline   Reply With Quote
Old Oct 6, 2010, 2:13pm   #11
Joined May 2009
Re: NetTrap Metatrader Expert Advisor

Nice work, did you compile it yourself or use an EA builder?
Dubai is offline Trading system vendor   Reply With Quote
Old Oct 6, 2010, 3:54pm   #12
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread
Quote:
Originally Posted by Dubai View Post
Nice work, did you compile it yourself or use an EA builder?
Thanks. I wrote it myself, starting early February, initially to try out different variations of NT. It's been through many iterations since then and is now hopefully getting close to be really useful.
SpindriftUK is offline   Reply With Quote
Old Oct 8, 2010, 7:40am   #13
Joined Oct 2009
Re: NetTrap Metatrader Expert Advisor

SpindriftUK -
This looks like a great piece of work. I started one myself for Net Trap back in January but it didn't get this far. I decided to trade VNT manually to try and learn some discipline and not just chicken out when the trade started going against me, and I was working full time at a job which required me to be up at 6.30am anyway. Now I've gone part time specifically to polish up my trading and give it a go, and to do more MQL4.
I'd love to see the source for this if your offer is still open, with the aim of helping to improve it (e.g. moving stops, and particularly combining it with ForexMorningTrade). I would return back any updated versions to this thread and the source to you out of fairness.
Z
zorba_g is offline   Reply With Quote
Old Oct 11, 2010, 7:04am   #14
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread
Quote:
Originally Posted by zorba_g View Post
SpindriftUK -
This looks like a great piece of work. I started one myself for Net Trap back in January but it didn't get this far. I decided to trade VNT manually to try and learn some discipline and not just chicken out when the trade started going against me, and I was working full time at a job which required me to be up at 6.30am anyway. Now I've gone part time specifically to polish up my trading and give it a go, and to do more MQL4.
I'd love to see the source for this if your offer is still open, with the aim of helping to improve it (e.g. moving stops, and particularly combining it with ForexMorningTrade). I would return back any updated versions to this thread and the source to you out of fairness.
Z
Hi Z
I will PM you the latest source, in which I have included a lot of the functionality Mark suggested. I will also post the latest version (.ex4) on this thread- just want to tidy it up a bit. Regarding any enhancements you develop, I think it would be best if you could send them to me for inclusion, as I think it all gets a bit confusing when numerous versions of the same EA are released.
Cheers,
Spin
SpindriftUK is offline   Reply With Quote
Old Oct 11, 2010, 7:41am   #15
Joined Oct 2009
Re: NetTrap Metatrader Expert Advisor

Thanks Spin - sounds like a plan. I agree that the version management is important :-)
zorba_g is offline   Reply With Quote
Old Oct 11, 2010, 8:26am   #16
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread Hi everyone

Attached is the latest version of the EA. The following new functionality has been included:

Allow multiple instances to run simultaneously
To run more than one instance of the EA, drag it onto different GBP/USD 15 minute charts, making sure that the the parameter EA_ident is different on each chart. There is some validation in the EA that will attempt to enforce this.

Money management to cater for £/pip (e.g. like SmartLiveMarkets)
The only thing that changed here was the introduction of a volume precision parameter, as SML only allows volumes to the nearest 10p. Also, there's no need to convert to GBP as it's the only currency SML allow and they've already catered for the conversion.

Option to move S/L to n pips at hh:mm
New parameters have been added that give the option for SL to be changed to the specified number of pips at the specified time, as long as the trade is a specified number of pips in profit. The stop will only be moved with the trade; it cannot be extended, only shortened.

Option for fixed TP
Take profit pips can be specified, rather than having to use TPMult.

Option to compensate for shorter TP
A new parameter in the Money Management section will allow the order volume to be increased to compensate for a larger stop loss. Basically, if set to TRUE, the program will work out the profit that would have been achieved with VNT settings and then increase the trade size to ensure the same profit, regardless of stop loss distance.

Instant trade mode
If set to TRUE, a position will be opened at the start of the trade period, rather than a pending trade.

On/Off switch
This is now the first parameter - named trading - which, if set to FALSE, will prevent the EA from doing anything.
---------------

I've changed the order of the parameters and put them into broad sections; e.g. EA Control, Trade Entry, etc. Those parameters that I feel are likely to become redundant have been moved to the end of their sections.

I have only loosely tested the changes and I would be grateful for any work you can put in checking that it all works as it should. I think SmartLiveMarkets is the way forward for EA trading of NT so would suggest any testing be done on a demo account from them.

As ever, I am happy to receive reports of errors and any suggestions for improvement.

Possible further enhancements
  • The option to set TP and SL (and possibly Entry Point) from manually drawn lines.
  • Have program to look back though the chart to work out the most profitable variation over the past n days

Cheers,
Spin
Attached Files
File Type: ex4 FNTTrader.ex4 (55.3 KB, 148 views)
SpindriftUK is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Metatrader Expert advisor losses money automatically oildaytrader Trading Software 3 Oct 5, 2009 4:11pm
expert advisor anguel First Steps 0 Apr 10, 2009 10:54am
Expert Advisor Help mozillan Trading Software 0 Mar 1, 2007 5:49pm

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