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; Hi Spin. This is amazing. Thanks for sharing. I hope you don't mind me asking two questions. I put the ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Oct 20, 2010, 11:15am   #25
Joined Feb 2008
Re: NetTrap Metatrader Expert Advisor

Hi Spin. This is amazing. Thanks for sharing. I hope you don't mind me asking two questions.

I put the EA on my demo SML account on 4 graphs last night with various different settings. The smiley face in the top right was showing but today in the morning no trades have triggered.

I am thinking it was because my pc went into 'sleep mode' and I need to change the power settings or I did not put in a trade amount -can't find this bit on EA input.

Apologies if silly questions.
pimplico is offline   Reply With Quote
Old Oct 20, 2010, 11:29am   #26
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread
Quote:
Originally Posted by pimplico View Post
Hi Spin. This is amazing. Thanks for sharing. I hope you don't mind me asking two questions.

I put the EA on my demo SML account on 4 graphs last night with various different settings. The smiley face in the top right was showing but today in the morning no trades have triggered.

I am thinking it was because my pc went into 'sleep mode' and I need to change the power settings or I did not put in a trade amount -can't find this bit on EA input.

Apologies if silly questions.
Hi

Not silly at all - I still get caught out by MTs various settings when I load a new copy!

The first thing to check are the settings in Metatrader relating to EAs. Go to Tools/Options and select the Expert Advisors tab. I have attached a screenshot of my settings.

Trade amount is calculated if you set the useMoneyManagement parameter to true or set equal to the lots parameter if not.

What I often do to test my settings is to drag the EA onto the chart then set the start and end times to be about an hour ahead. The EA will display the "likely" values for the trade right up until the startHHMM value, at which time will create the trade.

Let me know how you get on...

Cheers,
Spin
Attached Thumbnails
mt-ea-settings.png  
SpindriftUK is offline   Reply With Quote
Old Oct 20, 2010, 11:43am   #27
Joined Oct 2009
Re: NetTrap Metatrader Expert Advisor

Just to add one more thing - with SmartLiveMarkets, if you want to use an EA on a live account you have to explicitly enable the use of EAs on your account webpage. If it still doesn't work, phone them as it's actually a manual task on their side.

(Sorry if I'm repeating common knowledge but this is a likely place for someone to find it )
zorba_g is offline   Reply With Quote
Old Oct 20, 2010, 11:47am   #28
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread
Quote:
Originally Posted by zorba_g View Post
Just to add one more thing - with SmartLiveMarkets, if you want to use an EA on a live account you have to explicitly enable the use of EAs on your account webpage. If it still doesn't work, phone them as it's actually a manual task on their side.

(Sorry if I'm repeating common knowledge but this is a likely place for someone to find it )
Good point! When I opened my account with SML, I requested that EAs be enabled. A few days later, it hadn't been done and I emailed them asking why. That prompted them to do the necessary
SpindriftUK is offline   Reply With Quote
Old Oct 20, 2010, 11:52am   #29
Joined Feb 2008
Re: NetTrap Metatrader Expert Advisor

Thank very much Spin,

For your very detailed reply and screen shot. I think it definitely was my EA settings which I have now amended to the same as yours! I will test the settings today and for tomorrow. Will let you know how I get on.

Thanks again.

P
pimplico is offline   Reply With Quote
Old Oct 20, 2010, 11:59am   #30
Joined Oct 2009
Re: NetTrap Metatrader Expert Advisor

Quote:
Originally Posted by SpindriftUK View Post
Good point! When I opened my account with SML, I requested that EAs be enabled. A few days later, it hadn't been done and I emailed them asking why. That prompted them to do the necessary
Snap! And would you believe it was only winning trades that I missed?
zorba_g is offline   Reply With Quote
Old Oct 20, 2010, 12:33pm   #31
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread
Quote:
Originally Posted by zorba_g View Post
Snap! And would you believe it was only winning trades that I missed?
SpindriftUK is offline   Reply With Quote
Old Oct 21, 2010, 6:36am   #32
Joined Dec 2006
Re: NetTrap Metatrader Expert Advisor

SpindriftUK started this thread Version 4 of the EA is attached, along with an updated parameter spreadsheet.

Changes

I have removed parameter descriptions from the EA, as I felt it was just getting too messy, hence the spreadsheet.

RH advance tactics can be achieved as by setting parameters as follows:

Safety Net Plus

extern bool changeStopAtTime=true;
extern string changeHHMM="07:30";
extern int changeMaxProfitPips=25;
extern int changeReqProfitPips=10;
extern int changeStopPips=0;


Safety Net Extension

extern bool lockInProfit=true;
extern int lockInPips=0;
extern int lockInLevel=30;
extern int percToCloseAtLI=50;
extern bool resetTPOnLockIn=false;

optionally, you could change endHHMM to 09:00


The money management technique that I thought might be good didn't really work out that way There are two new parameters, however, that allow order volume to be calculated based on take profit, as follows:


extern bool useTPMM=true;
extern double targetPercent=1.0;

This would cause basic order volume to be calculated as follows:
selected bank*targetPercent/100/take profit pips

Cheers,
Spin
Attached Files
File Type: ex4 FNTTrader.ex4 (52.2 KB, 130 views)
File Type: xls FNTTrader parameter descriptions.xls (25.5 KB, 152 views)
SpindriftUK is offline   Reply With Quote
Thanks! The following members like this post: mark120169
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)