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 Hi everyone Attached is the latest version of the EA. The following new functionality has been ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Oct 11, 2010, 12:19pm   #17
Joined Dec 2009
Re: NetTrap Metatrader Expert Advisor

Quote:
Originally Posted by SpindriftUK View Post
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
whoa ! .... fab job

So, who's brave enough to try it out then ?
stricky1967 is offline   Reply With Quote
Old Oct 11, 2010, 8:52pm   #18
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread I found a bug in the instant trade volume calculation (for a buy), which I've fixed in the attached version. Also included is the ability to specify different stop loss pips for buy and sell (to cater for the "S" variants).

Still needs lots of testing

Cheers,
Spin
Attached Files
File Type: ex4 FNTTrader.ex4 (55.9 KB, 132 views)
SpindriftUK is offline   Reply With Quote
Old Oct 11, 2010, 9:03pm   #19
 
mark120169's Avatar
Joined Apr 2010
Re: NetTrap Metatrader Expert Advisor

Quote:
Originally Posted by SpindriftUK View Post
I found a bug in the instant trade volume calculation (for a buy), which I've fixed in the attached version. Also included is the ability to specify different stop loss pips for buy and sell (to cater for the "S" variants).

Still needs lots of testing

Cheers,
Spin
Will test it live during 1/2 term week (25th-29th October) on SLM @ 10p pip for TNT with INT40/30 and HNT40 for a week while also doing my usual manual trades the same bur full trades so I can compare the EA vs live maunal trading. I can be at the trade the whole time from 6.15am to 8.30am as no school run to do.

M
mark120169 is offline   Reply With Quote
Old Oct 12, 2010, 11:06am   #20
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread
Quote:
Originally Posted by mark120169 View Post
Will test it live during 1/2 term week (25th-29th October) on SLM @ 10p pip for TNT with INT40/30 and HNT40 for a week while also doing my usual manual trades the same bur full trades so I can compare the EA vs live maunal trading. I can be at the trade the whole time from 6.15am to 8.30am as no school run to do.

M
I should have ironed out a few more of the bugs by then

Speaking of which, the attached version has some validation to prevent incorrect parameter settings on SML.

Spin
Attached Files
File Type: ex4 FNTTrader.ex4 (56.4 KB, 123 views)
SpindriftUK is offline   Reply With Quote
Old Oct 19, 2010, 11:03am   #21
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread Hi folks
Attached is the final iteration of version 3 of FNTTrader. I've ironed out quite a few wrinkles, mostly cosmetic, and I'm happy that the options are pretty much working as they should.

There are still numerous parameters, although I think in later versions this will reduce significantly, as lots of the options are experimental. The defaults are currently set for an Alpari GBP account using 30SNT20. With Metatrader EAs, it's possible to save a parameter set and then load it. If anyone is having trouble creating a particular variant, please let me know and I will create such a parameter set.

One option I would like to highlight is the compensateForLowRRR parameter. If TRUE, it will cause the amount staked per pip to be increased if the reward/risk ratio is less than the VNT norm; e.g. if using HNT, SNT, etc. The program works out how much profit would be achieved with a standard NT target and then increases the stake so that the same profit can be achieved using the closer target. More risky, it's true, but my testing so far suggests it might be worthwhile.

I have been running the EA on a SmartLIveMarkets demo account, using an old PC as a kind of server, which I have just left turned on 24/5, running 30SNT20. This has worked ok and all of the "new day" initialisations appear to work as they should.

I have also been running the EA live with very small take profits and standard NT stops, on both SML and Alpari and it's performed well, with 5 consecutive wins on Alpari and 4 on SML.

I am now doing some simulations using the MT strategy tester, for which I've finally managed to get fully populated historical data. I've got some interesting results already, which I will post to this thread soon.

Cheers,
Spin

p.s. In version 4, I will look at including RH's new Safety Net options and also a more radical version of money management that I've been mulling over.
Attached Files
File Type: ex4 FNTTrader.ex4 (64.2 KB, 125 views)
SpindriftUK is offline   Reply With Quote
Thanks! The following members like this post: Trader333 , MaxiV
Old Oct 19, 2010, 1:02pm   #22
Joined Dec 2009
Re: NetTrap Metatrader Expert Advisor

Quote:
Originally Posted by SpindriftUK View Post
Hi folks
Attached is the final iteration of version 3 of FNTTrader. I've ironed out quite a few wrinkles, mostly cosmetic, and I'm happy that the options are pretty much working as they should.

There are still numerous parameters, although I think in later versions this will reduce significantly, as lots of the options are experimental. The defaults are currently set for an Alpari GBP account using 30SNT20. With Metatrader EAs, it's possible to save a parameter set and then load it. If anyone is having trouble creating a particular variant, please let me know and I will create such a parameter set.

One option I would like to highlight is the compensateForLowRRR parameter. If TRUE, it will cause the amount staked per pip to be increased if the reward/risk ratio is less than the VNT norm; e.g. if using HNT, SNT, etc. The program works out how much profit would be achieved with a standard NT target and then increases the stake so that the same profit can be achieved using the closer target. More risky, it's true, but my testing so far suggests it might be worthwhile.

I have been running the EA on a SmartLIveMarkets demo account, using an old PC as a kind of server, which I have just left turned on 24/5, running 30SNT20. This has worked ok and all of the "new day" initialisations appear to work as they should.

I have also been running the EA live with very small take profits and standard NT stops, on both SML and Alpari and it's performed well, with 5 consecutive wins on Alpari and 4 on SML.

I am now doing some simulations using the MT strategy tester, for which I've finally managed to get fully populated historical data. I've got some interesting results already, which I will post to this thread soon.

Cheers,
Spin

p.s. In version 4, I will look at including RH's new Safety Net options and also a more radical version of money management that I've been mulling over.
great work ! well done
stricky1967 is offline   Reply With Quote
Old Oct 19, 2010, 2:16pm   #23
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread
Quote:
Originally Posted by stricky1967 View Post
great work ! well done
Thanks - I hope it proves useful. If nothing else, making it available to others has helped me to improve it!

Cheers,
Spin
SpindriftUK is offline   Reply With Quote
Old Oct 19, 2010, 2:24pm   #24
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread Attached is a spreadsheet showing all the parameters, alphabetically (more-or-less) within each parameter section.

Cheers,
Spin
Attached Files
File Type: xls FNTTrader parameter descriptions.xls (24.5 KB, 260 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)