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-27-2007, 11:32 PM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Master & Slave EA's

Here's sort of a new concept I've been messing with and so far, so good. I have a master EA that resides on an arbitrary chart and manages the available equity pool for slave EA trades via global variables. The slave EA's manage their own respective chart pairs for trading, and when they get a signal, they poll the master to see how much equity is available. The master reserves a pre-determined buffer reserve, and calculates the appropriate lot size for the slave pro-rata with the number of charts being traded using a money management scheme. This allows the slave EA to focus on trading without being concerned with clobbering account-wide equity.

Now for the slave EA's....I'm using an EA I wrote called "Blastoff" which uses a price volatility/momentum engine to pinpoint a sweet spot for signal entry....a sweetspot that doesn't occur frequently but which is virtually guaranteed to win. The EA targets 15 or 20 takeprofit pips and is typically in and out the same day. Attached are some sample backtest reports. I've been trading this EA as a slave on 8 different charts using 50 mini lots per trade since the beginning of the year without a single loss to date (knock on wood).
Attached Images
File Type: gif Blastoff EA - EURUSD H1 20Pips.gif (4.7 KB, 705 views)
File Type: gif Blastoff EA - USDCHF 20Pips.gif (4.7 KB, 586 views)
Attached Files
File Type: htm Blastoff EA - EURUSD H1 20Pips.htm (20.2 KB, 324 views)
File Type: htm Blastoff EA - USDCHF 20Pips.htm (23.6 KB, 105 views)
File Type: htm Blastoff EA - USDJPY 15Pips.htm (15.4 KB, 125 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
  #2 (permalink)  
Old 03-27-2007, 11:43 PM
fxnewbie's Avatar
Senior Member
 
Join Date: Jun 2006
Posts: 495
fxnewbie is on a distinguished road
Quote:
Originally Posted by bluto
Here's sort of a new concept I've been messing with and so far, so good. I have a master EA that resides on an arbitrary chart and manages the available equity pool for slave EA trades via global variables. The slave EA's manage their own respective chart pairs for trading, and when they get a signal, they poll the master to see how much equity is available. The master reserves a pre-determined buffer reserve, and calculates the appropriate lot size for the slave pro-rata with the number of charts being traded using a money management scheme. This allows the slave EA to focus on trading without being concerned with clobbering account-wide equity.

Now for the slave EA's....I'm using an EA I wrote called "Blastoff" which uses a price volatility/momentum engine to pinpoint a sweet spot for signal entry....a sweetspot that doesn't occur frequently but which is virtually guaranteed to win. The EA targets 15 or 20 takeprofit pips and is typically in and out the same day. Attached are some sample backtest reports. I've been trading this EA as a slave on 8 different charts using 50 mini lots per trade since the beginning of the year without a single loss to date (knock on wood).
Great, Congratz, Bluto !!!!
Throw us a bone to chew
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-28-2007, 12:24 AM
Member
 
Join Date: Nov 2006
Location: Berlin
Posts: 41
hbud is on a distinguished road
Hi Bluto

The concept to give an EA its own finance secretary sounds pretty smart.
Do I get it right,that the fewer pairs you trade,the larger the lotsizes and vice versa (according to free margin)?
Do you think you will share that material, at least as ex.4 file?

hbud
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-28-2007, 12:30 AM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Quote:
Originally Posted by hbud
Hi Bluto

The concept to give an EA its own finance secretary sounds pretty smart.
Do I get it right,that the fewer pairs you trade,the larger the lotsizes and vice versa (according to free margin)?
Do you think you will share that material, at least as ex.4 file?

hbud
Yes, you are right about lot sizes. That's the idea. With the fairly quick turnover in Blastoff trades, the equity returns to the pool pretty fast. I'm not sure what I'm going to do with this EA. Posting an ex4 is a good as giving away the .mq4 code because the unscrupulous types out there would quickly get it decompiled and then it would be all over the place. Maybe I'll sell it on EBay, I don't know.
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-28-2007, 12:53 AM
xxDavidxSxx's Avatar
Senior Member
 
Join Date: Jul 2006
Posts: 745
xxDavidxSxx is on a distinguished road
On one hand alot of people think ex files can be decompiled and stolen. But on the other hand I read all over forums that decompiling an ex file don't give you the instant mql code as its originally written. Someone would have to know exactly what you did and why in order to put it all back together.

Thats my understanding of it.

I think its relatively safe.

Nice job.

dave
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-28-2007, 01:04 AM
BluePearl's Avatar
Senior Member
 
Join Date: Oct 2005
Posts: 206
BluePearl is on a distinguished road
i looked at the euro/$ backtest and there was a sell trade opened on 1/3/06 which closed on 2/6/06. from looking at the chart, it went into drawdown for what looks like 300+ pips before closing at the TP of 20. is this an error because most of the other trades close within a few days?
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-28-2007, 01:06 AM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Quote:
Originally Posted by xxDavidxSxx
On one hand alot of people think ex files can be decompiled and stolen. But on the other hand I read all over forums that decompiling an ex file don't give you the instant mql code as its originally written. Someone would have to know exactly what you did and why in order to put it all back together.

Thats my understanding of it.

I think its relatively safe.

Nice job.

dave
I've seen decompiled EA's and the code logic is very readable and straightforward. The only thing that gets messed up is the naming of variables; extern variable names are preserved by the decompiler, but local variables get renamed such as "var_168", "var_122", etc. The task is then to go through the code and figure out what the real variable names should be. It can be time consuming, but anybody intent on cracking the EA can do so easily. It's big business and widely practiced from what I hear and see.
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-28-2007, 01:08 AM
bluto's Avatar
Senior Member
 
Join Date: Sep 2006
Posts: 633
bluto is an unknown quantity at this point
Quote:
Originally Posted by BluePearl
i looked at the euro/$ backtest and there was a sell trade opened on 1/3/06 which closed on 2/6/06. from looking at the chart, it went into drawdown for what looks like 300+ pips before closing at the TP of 20. is this an error because most of the other trades close within a few days?
Probably some bad historical data which wouldn't surprise me. I haven't seen that behavior either with forward testing or live trading.
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-28-2007, 03:00 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
I'm also in a position where I have an EA that I'd like to let others use, but I don't want to sell it outright. EBay seems like one way to go, but I still feel queasy about it. What I'm going to do is host the EA for a lease amount or for a percentage of winnings (Managed Account).

I'm also interested in the Master/Slave concept because my EA trades on differrent scales, like 30 pip, 60 pip, 120 pip, 240 pip, etc profitably using the same rules. Due to the weirdness of how the market is processed (I wrote my own indicators) separating all of the data into arrays would be horribly messy. I'm thinking I should keep the EA separate, or I could run the Master/Slave method. I believe means having 1 or 2 variables different for each of the slaves, hopefully only 2 files (master and slave), one chart open.
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-28-2007, 03:05 AM
daraknor's Avatar
Senior Member
 
Join Date: Oct 2006
Location: Portland, OR USA
Posts: 996
daraknor is on a distinguished road
It looks like your only big loss on USDJPY was a sell trade that hung in for over 50 days, paying swap the whole time. It counted as a Take Profit even! I'd recommend the Grace or Force close code in Phoenix, which doesn't allow a trade to stay open longer than the number of hours specified. With Grace, it uses a tight trailing stop at any price. With Force, it just sends OrderClose().
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
I need an EA master! mer071898 Setup Questions 12 05-12-2007 03:04 PM
Please Please can someone merge 2 ea's for me. jth Setup Questions 4 12-03-2006 10:01 AM
MT3 EA's forexpipmaster Metatrader 3 1 11-23-2005 08:15 AM


All times are GMT. The time now is 08:47 PM.



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