Donna Forex Forum

Systems (EA's and manual), and Managed Accounts => EA's (automated systems), and associated items (VPS, support/questions) => Topic started by: donnaforex on March 04, 2017, 10:01:54 AM

Title: EA Controller
Post by: donnaforex on March 04, 2017, 10:01:54 AM
This is a different kind of EA, brought to us by the same company that created Autotrader Elite.

Visit Controller EA website (https://secure.avangate.com/affiliate.php?ACCOUNT=TRESIKPT&AFFILIATE=33138&PATH=http%3A%2F%2Fexceptionalfx.com%2Fea-controller%2F)

Note: This is not a 'normal' EA, it's more like a trading tool. It does come packaged with 4 EA's to use with it but the applications of the EA extend way beyond just this and I feel it will interest more advanced EA traders. I have described more below.

Donna's live myfxbook stats, using the provided EA's (https://www.myfxbook.com/members/donnaforexreal/ea-controller/2011173)

Here is the demo accoun (https://www.myfxbook.com/members/donnaforexreal/reference-acc-for-eacontroller/2012153)t that feeds into the live one (see below for why this is needed).

Important note: I feel this one is NOT for newbies in any way, not because of the way it trades, but because 1. It is tricky to set up correctly, and 2. It is most useful if you already have a collection of EA's you can use it with (controller will really come into it's own i believe if you have a number of EA's which are very 'up and down' in their performance).

EA Controller is an indicator which monitors your trading. It creates a moving average of your equity curve. If the equity curve is currently above it's own moving average, then it allows trades to be copied to a trade account. If the equity curve is currently below it's own moving average, it stops trading.  You need two accounts to use it - a demo (usually) for monitoring purposes, and then a live account where you get your filtered trades happening.

The idea is, if your system is currently performing well and gaining then EA controller allows these trades to be copied, and if your system is going through a period of drawdown, it cuts off the trades and doesn't allow them through to your live account.

For obvious reasons, this is not suited to every EA. For instance, a grid type system that opens multiple trades over long periods of time that hang around for weeks or months is not going to work well here. But, a system that gets in and out of trades over the short term will work better. Also, systems which have stretches of winning, but then long periods in drawdown, will excel here since controller will filter out the large drawdown sections. There are other subtleties here which come into play too, but if you have been trading for a long time you will have an idea of what strategies might work with this (or make a post here, we'll help you).

If you are still confused after reading my description, take a look at their website which has some more visual representations of how it works. Like i said, this one is tricky to operate so bear that in mind before plunging in!


Title: Re: EA Controller
Post by: diyforexskills on March 04, 2017, 11:48:19 AM
Donna's test will take a while before we have enough trades to see what is happening, so I thought I would share the results from my first month of trading with the EA Controller system. Trading the four bonus EAs that come with the package.

(When you use these particular EAs, you don't need to use a Trade Copier to stop or start trades being copied to your live account. Instead the EA Controller on the demo account sends the Yes/No signal for trading directly to a copy of the EA on the live account.)

I started this test on 1 Feb. So I am running these 4 EAs on both a demo account and on my live account; and then added the EA Controller to the charts of the EAs on my demo account to manage/control the EAs on my live account

So now we have a comparison of the EAs running freely, uncontrolled on demo, vs running them only when the market dynamics are suitable, that is, running them in a controlled manner on my live account.

The results are shown in the image below.

So my live account has made a profit in the month of February; my demo account went OK for a while but finished the month with a big loss. And that was because one of the EAs was in a longish drawdown on the demo account. And hence a copy of that same EA was not being allowed to trade on the live account. And hence I avoided a big loss for the month and finished in profit.

The philosophy behind this new trading method is simple.

Don't let your EAs try to cope with constantly changing market dynamics. That too often leads to failure. After all, EAs based on lagging technical indicators, cannot constantly adjust to new market dynamics.

So instead, let the market come to your EAs. In other words only let your EAs trade when the current market conditions are favourable for the strategy that has been coded into the EAs.

Trading with the EA Controller system does just that - all on autopilot.

And it can do so in one of two ways.

1. In Copier mode - By using a free Trade Copier from FX Blue to copy or stop copying trades to live accounts.

2. In Signal mode - By using FX Autotrader Elite EAs or the free EAs provided with the Controller
Title: Re: EA Controller
Post by: nwboater on March 04, 2017, 02:42:10 PM
This is a fascinating concept!

The last two months have brought poor results for many strategies. During this period the controller might have been a big help.

It will be very interesting to watch Donna's demo's over a period of time. Does the vendor have any MyFxBooks that show this?

Also the Controller should work with signals that are controlled via an EA such as the SimpleTrader ones.

Cheers,
Rod
Title: Re: EA Controller
Post by: donnaforex on March 04, 2017, 05:04:28 PM
Agree, i'm really curious to see how this goes. My account (the one the 'best' trades go on) is live (the one i'm copying from that takes all trades is a demo), so will be cool to watch.
Title: Re: EA Controller
Post by: sydap2003 on March 05, 2017, 05:06:39 AM
This is a fascinating concept!

The last two months have brought poor results for many strategies. During this period the controller might have been a big help.

It will be very interesting to watch Donna's demo's over a period of time. Does the vendor have any MyFxBooks that show this?

Also the Controller should work with signals that are controlled via an EA such as the SimpleTrader ones.

Cheers,
Rod

Hi Rod, glad to hear that you find this a fascinating concept.

I have been advocating this method of trading for over a year on a manual basis. I couldn't generate any interest and I ended up not doing it myself either. Required too much effort and a solid dose of discipline - which I lack.

Luckily FXBlue.com was happy to work on my ideas and agreed to modify their Trade Copier for this purpose. I then developed the Controller to work with the modified Copier (v7.10) so that the whole process was automated. And then also used their quickchannel dll technology on my FX Autotrader so that the Controller can also control those Autotrader EAs directly on another platform without the need for a Trade Copier.

(Trade Copiers tend to be a bit hungry for CPU and memory resources, thus requiring VPSs with enough grunt if you want to run several EAs this way. Using the direct, Signal, mode, I am currently running 12 Autotrader EAs on a medium grunt VPS without any problem and will soon increase to 20.)

Note to other EA developers - making your EAs Signal ready for use with the Controller, requires only a few lines of code to be added to the source file - code that I would be happy to provide if you wanted to do some testing with the Controller; or perhaps as part of Donna's testing suite.

And yes you can view my live account as per link below. Just note that I only introduced the Controller mode of operation late in January on that account. A shame that I did not have it earlier since I would then have avoided most of that 50% DD that I suffered from July through to December!!

But, better late than never.

http://www.myfxbook.com/members/sydap2003/sydap-pro/1675402
Title: Re: EA Controller
Post by: diyforexskills on March 06, 2017, 12:41:54 AM
Just to be clear.

The EA Controller is NOT an EA. It is NOT a product that you can trade by itself.

It is a product to be used in conjunction with your EAs - to make them more profitable by eliminating most of the drawdowns that they all suffer from time to time.

To use this product with your EAs is very simple.

1. Open a demo account and transfer your EA from your live account to the new demo account. Keep the live account open.

2. Add the FX Blue Trade Copier Sender to your demo account and the FX Blue Trade Copier Receiver to your live account (The FX Blue Trade Copier is free and comes with a simple installer  https://www.fxblue.com/appstore/2/mt4-personal-trade-copier)

3. Add the EA Controller to the chart of the EA that you are running and enter the magic number of the EA and an ID#.

4. Add that same ID# to the Trade Copier Sender on your demo account and the Trade Copier Receiver on your live account.

5. On the EA Controller, select a value for the MA of the EA's closed profit (balance). Default is 10.

6. Repeat Steps 2 to 5 for each additional EA.

And you are set to go. That is all there is to it.

So with the settings we have made, when closed profit from the EA running on the demo account is above the moving average of the closed profit from the previous 10 trades (ie the EA is running profitably, market conditions are suitable for this EA), the next trade will be copied to your live account. When it falls below its MA (ie it is in drawdown), copying will be halted until it comes back up again (ie comes out of drawdown).

In other words, copying of trades from your EA running on the demo account to your live account, will only occur when the market conditions are suitable for your EA. And when your EA on the demo account goes into drawdown, the copying will be stopped and you will not suffer those losses on your live account.

Let the market come to you. Don't try to fight it and suffer losses.  Let the EA Controller manage this for you - all on auto.

 
Title: Re: EA Controller
Post by: diyforexskills on March 07, 2017, 04:06:45 AM
Does this sound familiar?

How many times have you purchased an EA, watch it make some money for a few weeks, and then promptly lose all of those winnings and more a month later. Yes, you are in a drawdown, and you won’t know how long that drawdown will last. And how much money you will lose.

So you switch the EA off in disgust. You have spent $200 buying the EA, and now you have lost another $300 of your $1000 trading account.

A few months later you are tempted to try the EA again, but by now you have also seen another EA which appears to be much better. So you buy that one for $250 and trade it on the $700 that is left in your trading account.

But much the same thing happens. This time you go into a short drawdown but then the EA starts winning and you are making money. Happy days are here again. Unfortunately, six months later, the EA goes into a drawdown and you start losing all the profits you had made.

Grrrrrrrrrrrrrrrrrr!!!!!!

What do you do? Stop the EA? Keep it going and hope it turns around soon?

Sound familiar?      [Read on... http://www.diyforexskills.com/let-market-come/       (http://www.diyforexskills.com/let-market-come/)
Title: Re: EA Controller
Post by: diyforexskills on March 08, 2017, 06:18:13 AM
Performance Update

I have been running several EAs made with the FX Autotrader Elite for a while and since 1 January, have managed these with the EA Controller in its Signal mode of operation.

So now we have some data for an EA running normally, UNcontrolled, on a demo account and an EA running while Controlled to avoid drawdowns, running on a live account as shown in image attached.

We have generated 2.4% return on our live account while our demo account essentially broke even.

In other words, trading with the EA Controller system has generated a 2.4% return from our EA which otherwise would have returned zero %.

A few points.

1. The Controlled account is a $1K live account; the UNcontrolled account is a $1M demo account. So the comparison should be in terms of % Return and % Wins and profit factors. These comparisons are shown in the attached image.

2. The graph at the bottom of the image is the performance graph of the EA on the demo account as measured by the EA Controller. The red line is the closed profit of the trades and the blue line is the MA of the closed profit.

It shows the the Controller's action in switching the live EA on and off as required and was based on a MA of 10 of closed profit. That is, the MA of closed profit was based on the previous 10 closed trades:

3. Now that we have generated some trading history, it would make sense to switch the MA to say 15 or 20. Just like individual trades need room to breathe (ie SLs should not be too tight), equity (or more correctly balance) curves also exhibit a normal ebb and flow and hence need room to breathe. We need the Controller to prevent us being ebbed into oblivion while allowing us to ride the flow!   :)







Title: Re: EA Controller
Post by: ianj on March 11, 2017, 01:19:22 AM
I would expect that you might be able to see the theoretical effects of this mechanism on historical performance without actually needing to run it for ages to see what it might do

You would need something to parse a statement (say from myfxbook), reconstruct a balance curve only including those trades that qualify  - just as it would do going forward. Some adjustment to mimic the effects of copying would help

I don't know if the vendor has such a tool but it would help his case no doubt help convince all ..
Title: Re: EA Controller
Post by: diyforexskills on March 11, 2017, 06:12:35 AM
I would expect that you might be able to see the theoretical effects of this mechanism on historical performance without actually needing to run it for ages to see what it might do

You would need something to parse a statement (say from myfxbook), reconstruct a balance curve only including those trades that qualify  - just as it would do going forward. Some adjustment to mimic the effects of copying would help

I don't know if the vendor has such a tool but it would help his case no doubt help convince all ..

Thanks for the suggestion. I don't have such a tool but like all things it is no doubt something I could learn how to do.

However the tricky thing would be how to decide which trades should qualify - at a first stab you would eliminate x% of losing trades when they occur in a sequence of say 5 or more (ie sufficient number of losing trades in a row to qualify as a DD rather than a normal ebb and flow of wins and losses)?

Interestingly this is also an issue with the EA Controller, especially at the start. Here the issue in question is how many trades we should use to determine the MA of closed profit/balance. And hence the trigger point for copying or not copying.

On the EA Controller we can set the MA to any number of closed trades to be measured in the calculation of the MA. I normally start with 5, which can lead to whipsawing of YES and NO copying and potentially make things worse. So I like to move the MA to 20 asap so as to allow the balance curve to breathe.

The image below shows how copying of trades would vary if we had an SMA of 20 instead of an SMA of 5. Note the two red rectangles on the SMA 5 chart where we are whipsawed in and out of copying. In that example, the copied trade results would be worse than letting all trades be copied.
(The flat lines on the graphs are due to the fact that if, for example, you want to measure a MA of 5 previous values, you need at least 5 values to start.)

As to the suggestion we started with, you can of course do a crude analysis of how the EA may have performed if it had been "controlled".
Simply look at your gross profit and gross loss over a period, and then recalculate net profit by reducing gross loss by say 70%.

Eg, UNcontrolled.  gross profit = 1000; gross loss = 400; net profit = 600
      Controlled.      gross profit = 1000; gross loss = 70% of 400 = 280; net profit = 720

And hence you would be 120 better off if indeed the EA Controller had been able to restrict your drawdowns by 70%. This is very crude since it depends on whether there were just a few largish DDs, or whether there many small DDs. In the latter case you could be better or worse off depending on what value you had used for the MA of closed profit on the EA Controller.
Title: Re: EA Controller
Post by: ianj on March 11, 2017, 06:50:46 AM
Yes - i can see it's a tuning issue. You could also "soften" the threshold by manipulating risk continuously (ie not just on/off - vary the lot size) according to how far it is from the MA (or regression or whatever you use)

You might also wish to consider Z score  - it may be possible to change the size of or omit copied trades in a run of failures or successes if the historical analysis indicates a Z score in excess of +/- 2.0. (I have a strategy with a Z score of -3.8 and it DEFINITELY improves the overall payoff/PF if i increase/reduce the size of following trades accordingly)

Title: Re: EA Controller
Post by: ianj on March 11, 2017, 06:54:37 AM
Take a look at this
https://www.mql5.com/en/articles/1492 (https://www.mql5.com/en/articles/1492)

BTW The z-score on myfxbook is calculated this way
Title: Re: EA Controller
Post by: ianj on March 11, 2017, 07:09:58 AM
I have some (pseudo code) i use to calc a z score in my own code - its in java but its still useful i think:

int zn = 0, zr = 0, zw = 0, zl = 0;
boolean lastInProfit = false;
while (next trade) {
    boolean inProfit = trade profit>=0;
    if (zn==0 || lastInProfit!=inProfit)
        zr++;
    zn++;
    lastInProfit = inProfit;
    if (inProfit) zw++; else zl++;
}
double zp = 2*zw*zl;
zscore = (zn*(zr-0.5)-zp)/Math.sqrt(((zp*(zp-zn))/(zn-1)));

Title: Re: EA Controller
Post by: diyforexskills on March 11, 2017, 08:09:20 AM
Yes - i can see it's a tuning issue. You could also "soften" the threshold by manipulating risk continuously (ie not just on/off - vary the lot size) according to how far it is from the MA (or regression or whatever you use)

You might also wish to consider Z score  - it may be possible to change the size of or omit copied trades in a run of failures or successes if the historical analysis indicates a Z score in excess of +/- 2.0. (I have a strategy with a Z score of -3.8 and it DEFINITELY improves the overall payoff/PF if i increase/reduce the size of following trades accordingly)

Thanks. That opens up a whole new world of sophistication and possible improvement to what I am trying to achieve.

The EA controller works in one of two modes. Copier mode using the FX Blue Trade Copier; and Signal mode where we have copies of the same EA on both a demo and live account, and where the live EA is switched on and off.

To progress your idea of lot size variation rather than simple yes or no, in the Copier mode, I would need to collaborate further with the FX Blue guys. In current version you can manually vary lot size to be copied. So presumably a z-code algorithm could be incorporated?

In the Signal mode I could imagine the EA Controller's performance analysis to be "z-coded" to soften the signal?, and then have the recipient EA, the one on the live account, also being z-coded to vary the lot size depending on its own history of trading.

Since the EA's history on the live account will always be different to its history on the demo account and since the live EA would have mainly positive history, it would be mainly increasing lot sizes. And hence increasing profits.

Hhmmm.... this all sounds fascinating. Just need a few more hours in the day.  :-)  Will have to talk with my coder.
Title: Re: EA Controller
Post by: ianj on March 11, 2017, 11:01:21 AM
In the Signal mode I could imagine the EA Controller's performance analysis to be "z-coded" to soften the signal?, and then have the recipient EA, the one on the live account, also being z-coded to vary the lot size depending on its own history of trading.

You would CALCULATE the z-score on the demo account and use it to vary the trading lot multiplier into the LIVE account

Analysing the z-score on the LIVE account is unnecessary as it's trading will already have been manipulated

As i hinted, a high magnitude z-score is an exception rather than the norm - it simply indicates that the strategy tends to strings of losses or wins that are outside of the normal distribution. In particular it suggests that having a z-score below -2 means that you drop (or reduce) the trade after a failed trade and increase the size (or at least include) after a success.

The z-score assumes some symmetry - you might consider something more sophisticated that treats an extended string of failures different to a string of successes. You might also consider a string of successes/failures that exceed a threshold as indicating a rolloff in the lot multiplication (If you continue to scale up the successful trades you will inevitable hit a BIG failure) Perhaps a tool that offers a banded distribution saying how often you get runs of 2/3/4/5 successes might be interesting (One for the future)

You are entering territory here normally requiring more comprehensive quantitative analysis

One side effect is that it can increase dd/profit in SOME strategies depending on how lumpy the equity curve - your mileage will vary

Another idea for you:
Title: Re: EA Controller
Post by: diyforexskills on March 12, 2017, 04:53:42 AM
Thanks for alerting me to these possibilities Ian (refer previous few Posts).

At this stage I am going to put all this on the side burner and revert to basics. The Controller is working nicely for me as is, but always room for refinements down the track by following up on some of Ian's suggestions.

And so to my portfolio update - illustrating the power of the EA Controller

I have been running a portfolio of 12 EAs with the EA Controller system; and now have 60 days of comparable history to share.

As shown in image below.

Again, as in a previous Post, look at the % Gain, profit factor etc, not the absolute $values.

My live account (Controlled) is in profit. The demo, trading exactly the same EAs but UNcontrolled, is in loss.

Yes I would like to improve on the monthly gain of 5% on my live account with these 12 EAs. And since my DD on live account is only around 2%, I could at least double the lot sizes on the EAs on my live account and still be trading conservatively.

Now the "glass half empty" people will say that this is just a lousy bunch of EAs since they go into such a DD as shown on the UNcontrolled demo account, so why trade them at all?

The"glass half full" people on the other hand will say, wow, fancy being able to pull off such a good result while trading with such a lousy bunch of EAs!

So what sort of person are you?    :)

Title: Re: EA Controller
Post by: nwboater on March 12, 2017, 01:35:19 PM
The 60 day results look good so far. Since this is the average of 12 EAs I am curious what the results for the worst and the best of them are. Would you mind posting their charts and results?

Thanks,
Rod
Title: Re: EA Controller
Post by: diyforexskills on March 13, 2017, 01:43:31 AM
The 60 day results look good so far. Since this is the average of 12 EAs I am curious what the results for the worst and the best of them are. Would you mind posting their charts and results?

Thanks,
Rod

In Reply #7, I posted the best result so far.

The worst result is shown in image below. Note also how that result could have been better if we had selected SMA 20 from the start instead of SMA 5. Far less On/Off chop. Given my results so far I would be inclined to start with at least SMA 10 when starting a new EA.
Title: Re: EA Controller
Post by: diyforexskills on March 13, 2017, 01:44:56 AM

... and here is the image i forgot to load for previous Post!
Title: Re: EA Controller
Post by: diyforexskills on March 15, 2017, 12:55:14 AM
A further interesting stat from my testing to date is the frequency of when the EAs are running in profit (closed profit above MA of closed profit) and when they are in DD (closed profit below MA of closed profit) on the demo account (UNcontrolled)

This is indicated by green and red respectively in the image below for 12 EAs for the six week period from 1 Feb 2017. During this period the MA of closed profit setting of the Controller has been moved from 5 to 10 and is now at 20 for all of them.

What we would like to see for the EA Controller system to have maximum benefit, is to have either long horizontal lines of green, or long lines of red. And it is fine if these alternate as I suspect they will over the years.

What would yield bad results is if we frequently chop and change from red to green and red again. That would indicate a very choppy performance curve. And that in turn would likely result in the UNcontrolled account outperforming the Controlled account. EAs that exhibit such behaviour would have to be expelled! Or traded in the portfolio but without Control if the overall choppy performance is still positive. Or perhaps switching to an MA of 50 or higher.
Title: Re: EA Controller
Post by: ianj on March 15, 2017, 01:09:01 AM
What would yield bad results is if we frequently chop and change from red to green and red again. That would indicate a very choppy performance curve. And that in turn would likely result in the UNcontrolled account outperforming the Controlled account. EAs that exhibit such behaviour would have to be expelled! Or traded in the portfolio but without Control if the overall choppy performance is still positive. Or perhaps switching to an MA of 50 or higher.

I am assuming you have a small "band" around the MA that can be used to protect a little from chopping out (at the cost of catching some more "normal" downside) If the intention is to catch toxic behavior behavior then some choppiness is to be tolerated - I guess you could get some indication of that from a backtest.
Title: Re: EA Controller
Post by: diyforexskills on March 15, 2017, 02:03:52 AM
What would yield bad results is if we frequently chop and change from red to green and red again. That would indicate a very choppy performance curve. And that in turn would likely result in the UNcontrolled account outperforming the Controlled account. EAs that exhibit such behaviour would have to be expelled! Or traded in the portfolio but without Control if the overall choppy performance is still positive. Or perhaps switching to an MA of 50 or higher.

I am assuming you have a small "band" around the MA that can be used to protect a little from chopping out (at the cost of catching some more "normal" downside) If the intention is to catch toxic behavior behavior then some choppiness is to be tolerated - I guess you could get some indication of that from a backtest.

At this stage the Controller makes use of the standard MA features of MT4. So no "band" but we can vary the number of trades to be used to calculate the MA to deal with chop and/or vary the type of MA - SMA, EMA, SMMA, and LWMA.

If we use a line bar of price on the chart to simulate a performance curve (as per image below), we can see the sort of differences we could get using either SMA or SMMA on the Controller. Not the best of examples since hopefully an EA won't perform quite like price! But hopefully it illustrates my point.

Currently, due to a bug in how MT4 calculates EMAs and SMMAs, the Controller can only be set for SMA or LWMA.

However we have found a way to overcome this bug and am now testing the new version which will enable both EMA and SMMA to be selected.

For those interested in the bug and a way around the bug, pls see https://www.mql5.com/en/forum/132647/page2

As you will see at the end of that thread, I would like to be able to add the Hull MA as an option - it is both smoothed and has only small lag.
Title: Re: EA Controller
Post by: diyforexskills on March 15, 2017, 05:55:05 AM
What would yield bad results is if we frequently chop and change from red to green and red again. That would indicate a very choppy performance curve. And that in turn would likely result in the UNcontrolled account outperforming the Controlled account. EAs that exhibit such behaviour would have to be expelled! Or traded in the portfolio but without Control if the overall choppy performance is still positive. Or perhaps switching to an MA of 50 or higher.

I am assuming you have a small "band" around the MA that can be used to protect a little from chopping out (at the cost of catching some more "normal" downside) If the intention is to catch toxic behavior behavior then some choppiness is to be tolerated - I guess you could get some indication of that from a backtest.

At this stage the Controller makes use of the standard MA features of MT4. So no "band" but we can vary the number of trades to be used to calculate the MA to deal with chop and/or vary the type of MA - SMA, EMA, SMMA, and LWMA.

If we use a line bar of price on the chart to simulate a performance curve (as per image below), we can see the sort of differences we could get using either SMA or SMMA on the Controller. Not the best of examples since hopefully an EA won't perform quite like price! But hopefully it illustrates my point.

Currently, due to a bug in how MT4 calculates EMAs and SMMAs, the Controller can only be set for SMA or LWMA.

However we have found a way to overcome this bug and am now testing the new version which will enable both EMA and SMMA to be selected.

For those interested in the bug and a way around the bug, pls see https://www.mql5.com/en/forum/132647/page2

As you will see at the end of that thread, I would like to be able to add the Hull MA as an option - it is both smoothed and has only small lag.

Another variation for MA that we can use is the Shift feature. A Shift of 2 for example on a SMA 5 or 10 also allows for a bit of chop but still minimizes the lag associated with MAs because it is a "shorter period", ie 5 or 10 instead of 20. Note that we can do all this testing at any time, visually on the chart. And we can adjust whenever we want. Just becomes part of the weekly checkup.
Title: Re: EA Controller
Post by: donnaforex on March 15, 2017, 09:41:06 AM
Just wanted to note that i had an issue on my account and a couple of the losing USDCHF trades are not the fault of EA controller. All fixed now.

I know the seller has said this is easy to setup, but it is infact tricky imo (when compared to 'normal' EA installations) and needs close watching initially.
Title: Re: EA Controller
Post by: diyforexskills on March 18, 2017, 01:52:43 AM
You can now also follow my own testing of the EA Controller on one of my live accounts.
http://www.myfxbook.com/members/sydap2003/sydap-pro/1675402

As per image below, the EA Controller was introduced on 9 January 2017 when the account was at 16% in profit after a painful DD. It is now at 36% after the introduction of the Controller to control my 12 EAs in this portfolio. Four of these EAs come as a bonus when you buy the EA Controller; these are the ones also being tested by Donna. The others and more will become available over the coming months at $79 for a package of 4, ie only $20 each. All of these can be run in Signal mode which means that a Trade Copier is not required.
Title: Re: EA Controller
Post by: reinerh on March 19, 2017, 03:01:44 PM

from january 9 on its mighty impressive = your results

this is a very novel approach you came up with. i have yet to fully wrap my head around this, because traditionally one could miss the recovery. but at the same time recovery could fail to arrive and lead to total failure, then of course your approach wins hands down.

also i think it will not work with all eas strategies. so this has to be well thought over.

the ea you run i assume are some sort of trend followers, then your approach makes sense for them.
Title: Re: EA Controller
Post by: diyforexskills on March 19, 2017, 11:24:27 PM

from january 9 on its mighty impressive = your results

this is a very novel approach you came up with. i have yet to fully wrap my head around this, because traditionally one could miss the recovery. but at the same time recovery could fail to arrive and lead to total failure, then of course your approach wins hands down.

also i think it will not work with all eas strategies. so this has to be well thought over.

the ea you run i assume are some sort of trend followers, then your approach makes sense for them.

The 12 EAs are a 50:50 mix of trend followers based on various types and combinations of MA crossovers and trend reversals using CCI and PSAR, all with sound money management. As long as the EA has a SL, ie is non-grid and/or non-martingale, use of the EA Controller makes sense. Because the Controller measures closed profit of trades (ie balance) relative to its MA to determine whether or not trades should be copied to the live account. It does not keep an eye on equity which as we all know can fall off the cliff at any time and wipe out accounts with grid/marty EAs even while balance is nicely in profit and growing.

In Reply ##6734 on thread https://donnaforex.com/index.php?topic=3308.6720 I illustrate how examining an EAs performance curve is probably the easiest way to see whether or not use of the Controller would be beneficial with any particular EA(s).

PS Yes, people are finding it hard to get their head around the concept of the Controller. But when they do their eyes light up as happened at a recent dinner party where I was asked about what I had been doing of late. My lucid spiel that night must have been so good that even my wife was startled for a moment and berated me for not explaining it in that way to her before; and excusing my long absences from the family room stuck on my computer. That has to be a victory!  :)
Title: Re: EA Controller
Post by: reinerh on March 20, 2017, 12:06:28 AM
yes i agree, marties grids no good.

since they always win, till the day comes and kaboom.

yes now it does make a lot more sense, thats why i mentioned trend ea before, and its now even clearer.

gee dont have your wive feel abondoned, she might send ya packin :)

glad to see she too is seeing the light.
Title: Re: EA Controller
Post by: diyforexskills on March 21, 2017, 01:11:30 AM
yes i agree, marties grids no good.

since they always win, till the day comes and kaboom.

yes now it does make a lot more sense, thats why i mentioned trend ea before, and its now even clearer.

gee dont have your wive feel abondoned, she might send ya packin :)

glad to see she too is seeing the light.

Kaboom is a good way to describe martys. I like it!

The "Exceptional EAs' that come as a bonus when you purchase the EA Controller are certainly not martys. They have been coded to work in Signal mode with the EA Controller and a short description and 2016 back test results can be viewed here.
http://exceptionalfx.com/wp-content/uploads/2017/03/Portfolio-1-of-Exceptional-EAs.pdf

Nice performance curves but 2017 will no doubt have different trading dynamics so we should be prepared for some DDs. If and when they do happen, the EA Controller will stop them from trading on your live account, so you can sleep easy. No kabooms with Exceptional EAs!! You will still experience some smallish losses from time to time when trading with the EA Controller but you won't wake up only to find that your account has been wiped out.

Title: Re: EA Controller
Post by: donbon2 on March 22, 2017, 09:49:30 PM
I actually think MG have a place in FX

Personally load up a cent account somewhere and let the thing run -- when doubles your money open another account withdraw half and start another one... so what if you lose an account from time to time .. then use the funds for better long term EAS... once these smaller accounts start producing.

You got to be prepared for blow ups it is actually a good thing rather than keep pumping money into it by trading too large with them.
Title: Re: EA Controller
Post by: diyforexskills on March 22, 2017, 10:47:56 PM
I actually think MG have a place in FX

Personally load up a cent account somewhere and let the thing run -- when doubles your money open another account withdraw half and start another one... so what if you lose an account from time to time .. then use the funds for better long term EAS... once these smaller accounts start producing.

You got to be prepared for blow ups it is actually a good thing rather than keep pumping money into it by trading too large with them.

My issue is that if you trade on cent accounts, your profits are worth very little and don't go anywhere near covering the cost of the VPS let alone the cost of the EA especially if it is a licence based EA.

If you make 10% pm on a $100 cent account you have made $10. Most VPSs cost around $20 to $30 pm. You are going backwards. Why do it? But, each to their own.
Title: Re: EA Controller
Post by: donbon2 on March 22, 2017, 11:01:41 PM
my cent accounts usually have 500-1000 in them and when they double withdraw and make a new one.

I got the email from Fort offering the $50 - but this is unusual for me to just have a $100 account - but you know I have extra licence so figured why not use it... Powerflow NZDCAD is really quite stable.

Title: Re: EA Controller
Post by: diyforexskills on March 22, 2017, 11:18:47 PM
my cent accounts usually have 500-1000 in them and when they double withdraw and make a new one.

I got the email from Fort offering the $50 - but this is unusual for me to just have a $100 account - but you know I have extra licence so figured why not use it... Powerflow NZDCAD is really quite stable.

OK, that makes more sense. I just don't have the stomach for large DDs, having had 3 MG accounts wiped out at considerable loss. Thrice bitten, thrice shy.
Title: Re: EA Controller
Post by: ianj on March 23, 2017, 11:11:52 AM
I just wish i could programmatically enable/disable individual EA's regardless of whether i had the code from them or not.

Anything i write for myself checks global variables to check it is allowed to trade for a given PAIR and a given EA and the global variables are remotely updatable but i can't do the same for commercial EA's

Am sure the EA Controller would benefit from the same rather than having to copy trades

Might scratch my head for a while but iterating though windows, finding an EA and disabling it seem pretty convoluted in the Windows APi and would no doubt be a bit flaky
Title: Re: EA Controller
Post by: diyforexskills on March 23, 2017, 11:26:10 AM
I just wish i could programmatically enable/disable individual EA's regardless of whether i had the code from them or not.

Anything i write for myself checks global variables to check it is allowed to trade for a given PAIR and a given EA and the global variables are remotely updatable but i can't do the same for commercial EA's

Am sure the EA Controller would benefit from the same rather than having to copy trades

Might scratch my head for a while but iterating though windows, finding an EA and disabling it seem pretty convoluted in the Windows APi and would no doubt be a bit flaky

Yes that would be good. When coding the Controller we tried communication using kernell32 dll. Worked on computers, Windows XP and 10, but not on VPS, Windows 2003 and 2008.

So we switched to using FXBluequickchannel dll, and that worked on VPS and computers.

Not being a programmer I don't know whether this is part of your issue.

Looks like this guy was trying to do the same as you? See

https://www.mql5.com/en/forum/67905
Title: Re: EA Controller
Post by: ianj on March 23, 2017, 12:05:09 PM
Hmm !

I'll dig some code i started years ago that used user32.dll to sync navigation on several windows together (so i easily see an M5/M1 chart on related price action that may have been hours/days/months ago but visible on high TF)

It has all the bits for navigating around windows, stuffing keyboard entries - might be interesting
Title: Re: EA Controller
Post by: ianj on March 23, 2017, 02:46:31 PM
Hmm !

I'll dig some code i started years ago that used user32.dll to sync navigation on several windows together (so i easily see an M5/M1 chart on related price action that may have been hours/days/months ago but visible on high TF)

It has all the bits for navigating around windows, stuffing keyboard entries - might be interesting

Dunno if you wanna try this script
Just drop it into your scripts directory and drop it onto any chart.
It will iterate through the charts, activating each in term then pressing F7 (to pop up any EA control) , with a configurable delay between

I can further the script to select the right tab and change/view the "Allow Live Trading" check box but have not done it yet

Haven't tested anything other than trivial scenario (ie minimised, VPS, dfrent windows versions)

I don't mind supplying source - just don't want to pollute this thread or put of lots of versions that confuse the issue

Does it work for anyone ?
Title: Re: EA Controller
Post by: diyforexskills on March 24, 2017, 02:14:39 AM
Hmm !

I'll dig some code i started years ago that used user32.dll to sync navigation on several windows together (so i easily see an M5/M1 chart on related price action that may have been hours/days/months ago but visible on high TF)

It has all the bits for navigating around windows, stuffing keyboard entries - might be interesting

Dunno if you wanna try this script
Just drop it into your scripts directory and drop it onto any chart.
It will iterate through the charts, activating each in term then pressing F7 (to pop up any EA control) , with a configurable delay between

I can further the script to select the right tab and change/view the "Allow Live Trading" check box but have not done it yet

Haven't tested anything other than trivial scenario (ie minimised, VPS, dfrent windows versions)

I don't mind supplying source - just don't want to pollute this thread or put of lots of versions that confuse the issue

Does it work for anyone ?

OK, that works for me. It scrolled thru all my EAs on that platform opening the Properties box for each chart with an EA. I did not have to press F7 to have the properties box pop up.

If you can now further that script to select the right tab to "allow live trading" to be switched on or off , and if we can get the EA Controller to do that on/off switching. Then we could say goodbye to Trade Copier and go direct. That would be great! But i suspect there will be a few gremlins before we get there.
Title: Re: EA Controller
Post by: ianj on March 24, 2017, 08:00:27 AM
That would be great! But i suspect there will be a few gremlins before we get there.

Haha - For sure. but copying has its problems as well - best to have several tools in the shed

Besides i want it to control my own EAs - when i want to nip out arbitrarily, step over news, decide i am overly exposed to pairs (and correlated pairs), currencies etc so i am still interested for myself

Identifying each setup uniquely is next - i can pick out the chart symbol/timeframe and the EA name but its not always enough (but mostly) - perhaps pick up a boolean from global variables and it might be at least useful
Title: Re: EA Controller
Post by: QuickPipsFX on March 24, 2017, 09:30:54 AM
I just wish i could programmatically enable/disable individual EA's regardless of whether i had the code from them or not.

Anything i write for myself checks global variables to check it is allowed to trade for a given PAIR and a given EA and the global variables are remotely updatable but i can't do the same for commercial EA's

Am sure the EA Controller would benefit from the same rather than having to copy trades

Might scratch my head for a while but iterating though windows, finding an EA and disabling it seem pretty convoluted in the Windows APi and would no doubt be a bit flaky

Yes that would be good. When coding the Controller we tried communication using kernell32 dll. Worked on computers, Windows XP and 10, but not on VPS, Windows 2003 and 2008.

So we switched to using FXBluequickchannel dll, and that worked on VPS and computers.

Not being a programmer I don't know whether this is part of your issue.

Looks like this guy was trying to do the same as you? See

https://www.mql5.com/en/forum/67905

Very interesting article you linked there. Thanks!
Title: Re: EA Controller
Post by: diyforexskills on March 26, 2017, 08:56:10 AM
Not a particularly good week with my 12 EA portfolio being controlled by the EA Controller. The Controller is doing its job but when you have 6 EAs which are in uptrend but each loses just 1 trade at 2% risk, hey you lose 12%. A couple of wins as well so still well within the comfort zone in terms of overall DD for the portfolio on my live (controlled) account.

The Controller is currently only allowing 6 EAs to trade as shown in the first image. The ones where closed profit (red line) is above MA of closed profit (blue line). Just as well that the other six had been switched off. Otherwise I would have been in deep sh.....   ;)

The second image shows how the Controller is controlling the 12 EAs (green is on, EA in up trend); red is off, EA in downtrend). So there may come a time when EAs 4 and 10 get removed; unless the market dynamics return in their favour in the next month or so.
Title: Re: EA Controller
Post by: reinerh on March 26, 2017, 02:24:15 PM
this last 10 days or so markets were moving oddly.

uj and eu come to mind, actually gu as well.

no wonder your eas were on the wrong side. this happens from time to time but always stikes me as odd.

the pa on gu in particular all week was just weird. meaning it wanted to go up, but each and every time it had little punch, yet still managed to go higher.
Title: Re: EA Controller
Post by: diyforexskills on March 27, 2017, 02:39:04 AM
That would be great! But i suspect there will be a few gremlins before we get there.

Haha - For sure. but copying has its problems as well - best to have several tools in the shed

Besides i want it to control my own EAs - when i want to nip out arbitrarily, step over news, decide i am overly exposed to pairs (and correlated pairs), currencies etc so i am still interested for myself

Identifying each setup uniquely is next - i can pick out the chart symbol/timeframe and the EA name but its not always enough (but mostly) - perhaps pick up a boolean from global variables and it might be at least useful

Did a bit more googling and came across this site https://www.autoitscript.com/site/autoit/

Which to my non-programmer trained mind could be useful for what you and/or I are trying to achieve - remote control of an EA.

The programmer I use only does pure MQL4 programming. So if there are any programmers reading this who could help me with modifying the EA Controller so that it can work with 3rd party EAs without the need for a Trade Copier, pls PM me.  Thanks.
Title: Re: EA Controller
Post by: diyforexskills on March 29, 2017, 01:12:55 AM
Hmm !

I'll dig some code i started years ago that used user32.dll to sync navigation on several windows together (so i easily see an M5/M1 chart on related price action that may have been hours/days/months ago but visible on high TF)

It has all the bits for navigating around windows, stuffing keyboard entries - might be interesting

Dunno if you wanna try this script
Just drop it into your scripts directory and drop it onto any chart.
It will iterate through the charts, activating each in term then pressing F7 (to pop up any EA control) , with a configurable delay between

I can further the script to select the right tab and change/view the "Allow Live Trading" check box but have not done it yet

Haven't tested anything other than trivial scenario (ie minimised, VPS, dfrent windows versions)

I don't mind supplying source - just don't want to pollute this thread or put of lots of versions that confuse the issue

Does it work for anyone ?

Ian, as I have said it works for me. Could you "further the script to select the right tab and change/view the "Allow Live Trading" check box but have not done it yet "

All I would then need is for the script to be able to be activated from the other MT4 platform. And hopefully my coder could do that.
Title: Re: EA Controller
Post by: ianj on March 29, 2017, 04:00:44 AM
Ian, as I have said it works for me. Could you "further the script to select the right tab and change/view the "Allow Live Trading" check box but have not done it yet "

All I would then need is for the script to be able to be activated from the other MT4 platform. And hopefully my coder could do that.

Ha - not done that bit yet - the popup is a top level window with a few tiers in the hierarchy below and I stalled looking into navigating (I have other things to do as well) . I have seen autoit b4 - perhaps i should look as it might have tools that would let me investigate the GUI model more easily - or some other tool so am not groping about in MQL . I did consider using a tool such as that but ultimately i wanted interactive control and didnt want to get bogged down interfacing to autoit

If i don't get the time to progress soon i'll post what i have in case you want a pop
Title: Re: EA Controller
Post by: diyforexskills on March 30, 2017, 12:14:15 AM
Ian, as I have said it works for me. Could you "further the script to select the right tab and change/view the "Allow Live Trading" check box but have not done it yet "

All I would then need is for the script to be able to be activated from the other MT4 platform. And hopefully my coder could do that.

Ha - not done that bit yet - the popup is a top level window with a few tiers in the hierarchy below and I stalled looking into navigating (I have other things to do as well) . I have seen autoit b4 - perhaps i should look as it might have tools that would let me investigate the GUI model more easily - or some other tool so am not groping about in MQL . I did consider using a tool such as that but ultimately i wanted interactive control and didnt want to get bogged down interfacing to autoit

If i don't get the time to progress soon i'll post what i have in case you want a pop

Was pointed out to me that if "allow live trading" is unticked in the Common tab, we get an endless series of ERROR messages in the Experts tab. Not sure if there is a way to block that.
Title: Re: EA Controller
Post by: Humble Trader's Fx on March 30, 2017, 02:03:26 AM
Not sure what all the fuss is about. Like they say, "Where is the beef"?

1- I have yet to see a winning myfxbook account using this EA and it amigos.

2- If this EA is still in development, without real results from the vendor, why is he selling it to users who may, in turn, lose more than their investment to purchase the product?

I would apologize in advance if I missed something while reading all the previous posts.

Regards,
Ilios Ellas

Title: Re: EA Controller
Post by: diyforexskills on March 30, 2017, 02:22:42 AM
Not sure what all the fuss is about. Like they say, "Where is the beef"?

1- I have yet to see a winning myfxbook account using this EA and it amigos.

2- If this EA is still in development, without real results from the vendor, why is he selling it to users who may, in turn, lose more than their investment to purchase the product?

I would apologize in advance if I missed something while reading all the previous posts.

Regards,
Ilios Ellas

Hi Ilios

Thanks for the questions; and yes you have indeed missed several things.

1. The EA Controller is NOT and EA. It is an indicator which works in conjunction with EAs, acting as a filter if you like to help avoid DDs.

2. All products are subject to enhancement. The Reply you are referring too is part of an attempt to offer a second way of using the Controller with 3rd party EAs. The other way, currently available, being with the use of the FX Blue Trade Copier.

3. In the test that Donna is running with the Controller and the EAs that come as a bonus with the Controller, the account is currently in profit. See https://www.myfxbook.com/members/donnaforexreal/ea-controller/2011173
Title: Re: EA Controller
Post by: diyforexskills on March 30, 2017, 03:49:38 AM
Not sure what all the fuss is about. Like they say, "Where is the beef"?

1- I have yet to see a winning myfxbook account using this EA and it amigos.

2- If this EA is still in development, without real results from the vendor, why is he selling it to users who may, in turn, lose more than their investment to purchase the product?

I would apologize in advance if I missed something while reading all the previous posts.

Regards,
Ilios Ellas

Hi Ilios

Thanks for the questions; and yes you have indeed missed several things.

1. The EA Controller is NOT and EA. It is an indicator which works in conjunction with EAs, acting as a filter if you like to help avoid DDs.

2. All products are subject to enhancement. The Reply you are referring too is part of an attempt to offer a second way of using the Controller with 3rd party EAs. The other way, currently available, being with the use of the FX Blue Trade Copier.

3. In the test that Donna is running with the Controller and the EAs that come as a bonus with the Controller, the account is currently in profit. See https://www.myfxbook.com/members/donnaforexreal/ea-controller/2011173

Just in reference to point 2 in the quote. I am always looking to enhance the products I sell. For my FX Autotrader Elite for instance http://www.fxautotraderelite.com/ which I launched in 2014, I have provided at least six enhancements - all free of charge to existing customers. Similarly for the DIY Trade Manager Plus http://diytrademanagerplus.com/  . I will do the same for the EA Controller http://exceptionalfx.com/ea-controller/

That is all part of the service in addition to responding to normal support queries, usually within 24 hrs.
Title: Re: EA Controller
Post by: Humble Trader's Fx on March 30, 2017, 01:20:32 PM
Not sure what all the fuss is about. Like they say, "Where is the beef"?

1- I have yet to see a winning myfxbook account using this EA and it amigos.

2- If this EA is still in development, without real results from the vendor, why is he selling it to users who may, in turn, lose more than their investment to purchase the product?

I would apologize in advance if I missed something while reading all the previous posts.

Regards,
Ilios Ellas

Hi Ilios

Thanks for the questions; and yes you have indeed missed several things.

1. The EA Controller is NOT and EA. It is an indicator which works in conjunction with EAs, acting as a filter if you like to help avoid DDs.

2. All products are subject to enhancement. The Reply you are referring too is part of an attempt to offer a second way of using the Controller with 3rd party EAs. The other way, currently available, being with the use of the FX Blue Trade Copier.

3. In the test that Donna is running with the Controller and the EAs that come as a bonus with the Controller, the account is currently in profit. See https://www.myfxbook.com/members/donnaforexreal/ea-controller/2011173

Just in reference to point 2 in the quote. I am always looking to enhance the products I sell. For my FX Autotrader Elite for instance http://www.fxautotraderelite.com/ which I launched in 2014, I have provided at least six enhancements - all free of charge to existing customers. Similarly for the DIY Trade Manager Plus http://diytrademanagerplus.com/ . I will do the same for the EA Controller http://exceptionalfx.com/ea-controller/

That is all part of the service in addition to responding to normal support queries, usually within 24 hrs.

Thank you, diyforexskills.

No, I don't think I missed much.

1- You are playing with words. I would say that your "program" is an EA but that it uses an "indicator" such as MA.

2- With regards to Fx Blue Copier, I have been using it since it was made available to manually do what your EA/Controller attempts to do. The way I have been doing this is to constantly analyzing the returns of my EA's (At least 8 EA's) and turning them on/off much like what you are trying to automate.

3- With regards to successful trading, the account which is provided is at a great loss and Donna's account is too short term to determine any success or praise after a month with a Monthly 0.97% return, Drawdown: 4.14% after; if you consider that this is the "composite" work of at least four "specific" EA's which have been fine-tuned to work with this EA/Indicator.

Having said this, I am still optimistic that what you are working on, is a much-needed product and I would be more than happy to become an additional 3rd party tester, to parallel that of Donna's evaluation... you can pm me.


Regards,
Ilios Ellas
Title: Re: EA Controller
Post by: donnaforex on March 30, 2017, 01:30:59 PM
Just a note re. my test, a couple of 'bad' trades were setup issues early on, and i have also missed a couple of positive trades that should have been taken in the last couple of days. Not that it makes much difference as it's still very early days, but wanted to note it here.
Title: Re: EA Controller
Post by: diyforexskills on March 31, 2017, 02:33:46 AM
Not sure what all the fuss is about. Like they say, "Where is the beef"?

1- I have yet to see a winning myfxbook account using this EA and it amigos.

2- If this EA is still in development, without real results from the vendor, why is he selling it to users who may, in turn, lose more than their investment to purchase the product?

I would apologize in advance if I missed something while reading all the previous posts.

Regards,
Ilios Ellas

Hi Ilios

Thanks for the questions; and yes you have indeed missed several things.

1. The EA Controller is NOT and EA. It is an indicator which works in conjunction with EAs, acting as a filter if you like to help avoid DDs.

2. All products are subject to enhancement. The Reply you are referring too is part of an attempt to offer a second way of using the Controller with 3rd party EAs. The other way, currently available, being with the use of the FX Blue Trade Copier.

3. In the test that Donna is running with the Controller and the EAs that come as a bonus with the Controller, the account is currently in profit. See https://www.myfxbook.com/members/donnaforexreal/ea-controller/2011173

Just in reference to point 2 in the quote. I am always looking to enhance the products I sell. For my FX Autotrader Elite for instance http://www.fxautotraderelite.com/ which I launched in 2014, I have provided at least six enhancements - all free of charge to existing customers. Similarly for the DIY Trade Manager Plus http://diytrademanagerplus.com/ . I will do the same for the EA Controller http://exceptionalfx.com/ea-controller/

That is all part of the service in addition to responding to normal support queries, usually within 24 hrs.

Thank you, diyforexskills.

No, I don't think I missed much.

1- You are playing with words. I would say that your "program" is an EA but that it uses an "indicator" such as MA.

2- With regards to Fx Blue Copier, I have been using it since it was made available to manually do what your EA/Controller attempts to do. The way I have been doing this is to constantly analyzing the returns of my EA's (At least 8 EA's) and turning them on/off much like what you are trying to automate.

3- With regards to successful trading, the account which is provided is at a great loss and Donna's account is too short term to determine any success or praise after a month with a Monthly 0.97% return, Drawdown: 4.14% after; if you consider that this is the "composite" work of at least four "specific" EA's which have been fine-tuned to work with this EA/Indicator.

Having said this, I am still optimistic that what you are working on, is a much-needed product and I would be more than happy to become an additional 3rd party tester, to parallel that of Donna's evaluation... you can pm me.


Regards,
Ilios Ellas

Hi Ilios
Thanks. I will pm you to see how we can set up another test. Will also be having some other tests as per the Wally thread.

Pls note however that the account that I provided and which is in DD, went into DD BEFORE I introduced the Controller onto that account. Since then I have been up but got hit by a bad week (trading 12 EAs on that account) so now essentially flat.  It was that previous large DD that spurred me to develop the Controller and the Controller is now doing exactly what it is meant to do - keep me out of DDs.

As shown in the image for one of the 12 EAs that I am running with this system.

So what is being tested is not the Controller per se. Nor is it the EA(s). Rather it is to see whether the performance of an EA, any non-grid/non-marty EA, can be improved if we can automatically have the EA trades copied selectively. That is, copy the trades to live account when EA performance is in uptrend. Stop copying the EA trades to live account when EA performance is in downtrend.

In order to do that we need to trade our EAs on demo 24/5, and selectively have the trades copied to live account.  Can be done manually, but with the Controller this is done automatically using the user-defined properties of a MA of closed profit of the EA.

The point I want to make in general is that the EA Controller does NOT place trades nor does it manage any open trades. It sits in the Indicator folder of MT4 on the demo account. To use it you need to run any EA(s) on demo and use the FX Blue Trade Copier to copy filtered trades to your live account. The EA Controller does the filtering if you like in that it only allows copying while the performance curve of your EA is in uptrend.

This filtered copying works. That is why the EA Controller is already on sale. It is up to users to run it with their own EAs so see whether it improves the performance outcomes of their EA(s). A bit like buying a Trade Manager to see if you can improve the performance of your manual trading strategies.


Title: Re: EA Controller
Post by: wroeckert on April 01, 2017, 06:28:58 AM
Hello, i read sometimes the Controller manage the EAs , as sample Wally on the Live side, in a other i read the Controller sends the Trade signals to the Live Account. hmm.
I have to install Wally on the Demo and on the Live Account, or only on the Demo Account????
Title: Re: EA Controller
Post by: diyforexskills on April 01, 2017, 07:51:09 AM
Hello, i read sometimes the Controller manage the EAs , as sample Wally on the Live side, in a other i read the Controller sends the Trade signals to the Live Account. hmm.
I have to install Wally on the Demo and on the Live Account, or only on the Demo Account????

Only on the demo, together with the EA Controller on the same chart as Wally (repeat if you are running Wally on several currencies).
Then add the FX Blue Trade Copier Sender to any other chart on that demo account.
Place a FX Blue Trade Copier Receiver on any chart on the live account.
Make sure the version of FX Blue Trade Copier that you have is v7.10 or higher. That version has the modification to run with the Controller.
Obviously all the required settings need to be entered as per User Guide

If you run Wally on more than one currency pair then you need a separate copy of the Trade Copier Sender and Receiver for each currency pair. Because each instance of Wally on different currency pairs needs to be controlled/managed individually.

What you read about having to place the EA on both demo and live applies only to when you are using one of the EAs supplied with the Controller, or made with the FX Autotrader Elite. Those EAs can be run in Signal mode which means that you don't have to use the Trade Copier.
Title: Re: EA Controller
Post by: wroeckert on April 01, 2017, 08:18:28 AM
Hello, i read sometimes the Controller manage the EAs , as sample Wally on the Live side, in a other i read the Controller sends the Trade signals to the Live Account. hmm.
I have to install Wally on the Demo and on the Live Account, or only on the Demo Account????

Only on the demo, together with the EA Controller on the same chart as Wally (repeat if you are running Wally on several currencies).
Then add the FX Blue Trade Copier Sender to any other chart on that demo account.
Place a FX Blue Trade Copier Receiver on any chart on the live account.
Make sure the version of FX Blue Trade Copier that you have is v7.10 or higher. That version has the modification to run with the Controller.
Obviously all the required settings need to be entered as per User Guide

If you run Wally on more than one currency pair then you need a separate copy of the Trade Copier Sender and Receiver for each currency pair. Because each instance of Wally on different currency pairs needs to be controlled/managed individually.

What you read about having to place the EA on both demo and live applies only to when you are using one of the EAs supplied with the Controller, or made with the FX Autotrader Elite. Those EAs can be run in Signal mode which means that you don't have to use the Trade Copier.

Thanks for your answer, i have to know my idear is working or not bevor i Buy. If i have a EA with sample 6 Strategies and 6 Magicnrs.  per pair on 5 Different Charts, this works also??


Regards , Roeckert
Title: Re: EA Controller
Post by: ianj on April 01, 2017, 08:26:06 AM
diyforexskills - Is the MA based on each trade (so not temporally linear, daily, weekly etc. I see you already commented on it being equity at trade close so i guess its the trade based MA. Am i right in assuming the Wally recovery is less than suitable for this exercise because of its aggressive sizing.

Is it an SMA, EMA, etc

I am considering exporting a few well known "performances" on myfxbook and seeing what application of such a trade filter has on equity

If you have any suggestions (other than my first donor) let me know

I shall look at this first (I have to write it so don't hold your breath today)
http://www.myfxbook.com/members/forexwallstreet/wallstreet-20-evolution-real/1834513 (http://www.myfxbook.com/members/forexwallstreet/wallstreet-20-evolution-real/1834513)
Title: Re: EA Controller
Post by: diyforexskills on April 01, 2017, 08:32:06 AM
Hello, i read sometimes the Controller manage the EAs , as sample Wally on the Live side, in a other i read the Controller sends the Trade signals to the Live Account. hmm.
I have to install Wally on the Demo and on the Live Account, or only on the Demo Account????

Only on the demo, together with the EA Controller on the same chart as Wally (repeat if you are running Wally on several currencies).
Then add the FX Blue Trade Copier Sender to any other chart on that demo account.
Place a FX Blue Trade Copier Receiver on any chart on the live account.
Make sure the version of FX Blue Trade Copier that you have is v7.10 or higher. That version has the modification to run with the Controller.
Obviously all the required settings need to be entered as per User Guide

If you run Wally on more than one currency pair then you need a separate copy of the Trade Copier Sender and Receiver for each currency pair. Because each instance of Wally on different currency pairs needs to be controlled/managed individually.

What you read about having to place the EA on both demo and live applies only to when you are using one of the EAs supplied with the Controller, or made with the FX Autotrader Elite. Those EAs can be run in Signal mode which means that you don't have to use the Trade Copier.

Thanks for your answer, i have to know my idear is working or not bevor i Buy. If i have a EA with sample 6 Strategies per pair on 5 Different Charts, this works also??


Regards , Roeckert

It would work in that the Controller can handle up to 10 magics/strategies per pair. Just be aware that you would need five instances of the Trade copier, one for each chart/currency pair. So your VPS would need to have a reasonable amount of grunt (RAM/CPU) to handle those five copiers and the five EAs that you would be running.
Presumably not all five pairs would always be trading at the same time, thus lessening the demand on the VPS resources.

You could also of course run say 3 pairs normally on your live account and then run two with the Controller on the demo, copying to the live account. So only two Trade Copiers.

You would decide which ones by looking at the past performance of the EA on the different pairs to data and see which ones are the more prone to go into DD. Of course the past is no guarantee for the future.... so investing in enough VPS power would be safer.
Title: Re: EA Controller
Post by: wroeckert on April 01, 2017, 08:48:04 AM
Hello, i read sometimes the Controller manage the EAs , as sample Wally on the Live side, in a other i read the Controller sends the Trade signals to the Live Account. hmm.
I have to install Wally on the Demo and on the Live Account, or only on the Demo Account????

Only on the demo, together with the EA Controller on the same chart as Wally (repeat if you are running Wally on several currencies).
Then add the FX Blue Trade Copier Sender to any other chart on that demo account.
Place a FX Blue Trade Copier Receiver on any chart on the live account.
Make sure the version of FX Blue Trade Copier that you have is v7.10 or higher. That version has the modification to run with the Controller.
Obviously all the required settings need to be entered as per User Guide

If you run Wally on more than one currency pair then you need a separate copy of the Trade Copier Sender and Receiver for each currency pair. Because each instance of Wally on different currency pairs needs to be controlled/managed individually.

What you read about having to place the EA on both demo and live applies only to when you are using one of the EAs supplied with the Controller, or made with the FX Autotrader Elite. Those EAs can be run in Signal mode which means that you don't have to use the Trade Copier.

Thanks for your answer, i have to know my idear is working or not bevor i Buy. If i have a EA with sample 6 Strategies per pair on 5 Different Charts, this works also??


Regards , Roeckert

It would work in that the Controller can handle up to 10 magics/strategies per pair. Just be aware that you would need five instances of the Trade copier, one for each chart/currency pair. So your VPS would need to have a reasonable amount of grunt (RAM/CPU) to handle those five copiers and the five EAs that you would be running.
Presumably not all five pairs would always be trading at the same time, thus lessening the demand on the VPS resources.

You could also of course run say 3 pairs normally on your live account and then run two with the Controller on the demo, copying to the live account. So only two Trade Copiers.

You would decide which ones by looking at the past performance of the EA on the different pairs to data and see which ones are the more prone to go into DD. Of course the past is no guarantee for the future.... so investing in enough VPS power would be safer.

thanks for Info, the Trade Copier is also in your Sell offer? , sorry for bad english
Title: Re: EA Controller
Post by: diyforexskills on April 01, 2017, 08:52:56 AM
diyforexskills - Is the MA based on each trade (so not temporally linear, daily, weekly etc. I see you already commented on it being equity at trade close so i guess its the trade based MA. Am i right in assuming the Wally recovery is less than suitable for this exercise because of its aggressive sizing.

Is it an SMA, EMA, etc

I am considering exporting a few well known "performances" on myfxbook and seeing what application of such a trade filter has on equity

If you have any suggestions (other than my first donor) let me know

I shall look at this first (I have to write it so don't hold your breath today)
http://www.myfxbook.com/members/forexwallstreet/wallstreet-20-evolution-real/1834513 (http://www.myfxbook.com/members/forexwallstreet/wallstreet-20-evolution-real/1834513)

Yes, the MA used on the Controller is an MA of closed trades profit/loss, ie balance from closed trades which is same as saying equity at close of trade if I understand you correctly. The MA is user-defined for the standard options for MAs in MT4 including period (=number of closed trades), type and shift. At this stage I am inclined to use SMMA of "period" 20. But I think that this setting will be EA dependent based on the nature of its performance curve over time. That is we will be able to "tune" MA being used by the Controller to the particular EA.

I am not familiar with Wally so can't comment on that one. In general it is not sizing that is so important in my view. More that it would not make much sense if you had an EA which was often in DD and relied on some occasional massive trade wins to be overall profitable. Because then the chance would be that copying would have been switched off just before we had this massive winning trade; and we would have missed it because copying has been on off.

I hope I have answered your questions.
Regards, Andrew
Title: Re: EA Controller
Post by: diyforexskills on April 01, 2017, 08:56:13 AM
Hello, i read sometimes the Controller manage the EAs , as sample Wally on the Live side, in a other i read the Controller sends the Trade signals to the Live Account. hmm.
I have to install Wally on the Demo and on the Live Account, or only on the Demo Account????

Only on the demo, together with the EA Controller on the same chart as Wally (repeat if you are running Wally on several currencies).
Then add the FX Blue Trade Copier Sender to any other chart on that demo account.
Place a FX Blue Trade Copier Receiver on any chart on the live account.
Make sure the version of FX Blue Trade Copier that you have is v7.10 or higher. That version has the modification to run with the Controller.
Obviously all the required settings need to be entered as per User Guide

If you run Wally on more than one currency pair then you need a separate copy of the Trade Copier Sender and Receiver for each currency pair. Because each instance of Wally on different currency pairs needs to be controlled/managed individually.

What you read about having to place the EA on both demo and live applies only to when you are using one of the EAs supplied with the Controller, or made with the FX Autotrader Elite. Those EAs can be run in Signal mode which means that you don't have to use the Trade Copier.

Thanks for your answer, i have to know my idear is working or not bevor i Buy. If i have a EA with sample 6 Strategies per pair on 5 Different Charts, this works also??


Regards , Roeckert

It would work in that the Controller can handle up to 10 magics/strategies per pair. Just be aware that you would need five instances of the Trade copier, one for each chart/currency pair. So your VPS would need to have a reasonable amount of grunt (RAM/CPU) to handle those five copiers and the five EAs that you would be running.
Presumably not all five pairs would always be trading at the same time, thus lessening the demand on the VPS resources.

You could also of course run say 3 pairs normally on your live account and then run two with the Controller on the demo, copying to the live account. So only two Trade Copiers.

You would decide which ones by looking at the past performance of the EA on the different pairs to data and see which ones are the more prone to go into DD. Of course the past is no guarantee for the future.... so investing in enough VPS power would be safer.

thanks for Info, the Trade Copier is also in your Sell offer? , sorry for bad english

The FX Blue Trade Copier is available for free from https://www.fxblue.com/appstore/2/mt4-personal-trade-copier

You just need to register, but the download and use is free.
Title: Re: EA Controller
Post by: wroeckert on April 01, 2017, 09:02:00 AM
Hello, i read sometimes the Controller manage the EAs , as sample Wally on the Live side, in a other i read the Controller sends the Trade signals to the Live Account. hmm.
I have to install Wally on the Demo and on the Live Account, or only on the Demo Account????

Only on the demo, together with the EA Controller on the same chart as Wally (repeat if you are running Wally on several currencies).
Then add the FX Blue Trade Copier Sender to any other chart on that demo account.
Place a FX Blue Trade Copier Receiver on any chart on the live account.
Make sure the version of FX Blue Trade Copier that you have is v7.10 or higher. That version has the modification to run with the Controller.
Obviously all the required settings need to be entered as per User Guide

If you run Wally on more than one currency pair then you need a separate copy of the Trade Copier Sender and Receiver for each currency pair. Because each instance of Wally on different currency pairs needs to be controlled/managed individually.

What you read about having to place the EA on both demo and live applies only to when you are using one of the EAs supplied with the Controller, or made with the FX Autotrader Elite. Those EAs can be run in Signal mode which means that you don't have to use the Trade Copier.

Thanks for your answer, i have to know my idear is working or not bevor i Buy. If i have a EA with sample 6 Strategies per pair on 5 Different Charts, this works also??


Regards , Roeckert

It would work in that the Controller can handle up to 10 magics/strategies per pair. Just be aware that you would need five instances of the Trade copier, one for each chart/currency pair. So your VPS would need to have a reasonable amount of grunt (RAM/CPU) to handle those five copiers and the five EAs that you would be running.
Presumably not all five pairs would always be trading at the same time, thus lessening the demand on the VPS resources.

You could also of course run say 3 pairs normally on your live account and then run two with the Controller on the demo, copying to the live account. So only two Trade Copiers.

You would decide which ones by looking at the past performance of the EA on the different pairs to data and see which ones are the more prone to go into DD. Of course the past is no guarantee for the future.... so investing in enough VPS power would be safer.

thanks for Info, the Trade Copier is also in your Sell offer? , sorry for bad english

The FX Blue Trade Copier is available for free from https://www.fxblue.com/appstore/2/mt4-personal-trade-copier

You just need to register, but the download and use is free.

fine, thanks.
Title: Re: EA Controller
Post by: wroeckert on April 01, 2017, 12:54:36 PM
I setup the EA, EAController, TRade Copier and after some Hours now i drink a Beer, was not easy.  the EA works on different Charts and use at any chart 6 Magicn. I use on different charts the same Magign. is this a proplem for the controller?

Which MA Settings are good for start? 5, 10, ore more?

regards
Title: Re: EA Controller
Post by: diyforexskills on April 02, 2017, 01:48:12 AM
I setup the EA, EAController, TRade Copier and after some Hours now i drink a Beer, was not easy.  the EA works on different Charts and use at any chart 6 Magicn. I use on different charts the same Magign. is this a proplem for the controller?

Which MA Settings are good for start? 5, 10, ore more?

regards

Well done. You certainly deserved that beer - no doubt one of those large 1 litre Gernan jugs!  :)

(In case you ever have to reset all this, it is good practice to save all the relevant SET files from the Controller and Trade Copier in your MQL4 presets folder under subfolders, eg Controller, Trade Copier or whatever. And if you are running on a VPS it also pays to copy and save the whole MQL4 folders from time to time in a Save and Replace folder so that if they have to reinstall or upgrade the server at any time you can ask them to save that Folder and replace after they have done the upgrade. Otherwise all data would be lost.)

The magics entered on the EA Controller are specific to that currency pair. So if the Wally User Guide says that it is OK to use the same magics for different currency pairs then that also applies to the EA Controller.
Make sure however that the Controller ID# and related Copier Channel inputs you have used for each currency pair are currency specific and distinct from one another for each of the Copiers you have set up. So perhaps just have the symbols as part of the ID#/Channel input, eg eurusd, gbpusd etc

I normally start with MA setting of 5 and use SMA. Reason is that an MA cannot be calculated until the the defined number of trades have been completed, in this case 5. So the MA will be a horizontal line until then. You can also decide whether you want to start copying immediately, (trade at start set to true), or whether you want to wait till 5 trades have been completed to see whether copying should be allowed. In the longer run after 30+ trades or so, MA 5 could see too much whipsaw (copier on/off) so I have progressively changed to 10 and now 20 and also selecting SMMA rather than SMA.

When you have had enough trades just test this for yourself (you'll see the chart in the indicator window) and see what you are comfortable with. Just like price action on a chart, balance curves also need some room to breathe. The Controller is there to keep us out of long and deep DDs while tolerating the small DDs/a few losing trades, that will inevitably occur from time to time.


Title: Re: EA Controller
Post by: ianj on April 02, 2017, 10:55:31 AM
So the MA will be a horizontal line until then. You can also decide whether you want to start copying immediately, (trade at start set to true), or whether you want to wait till 5 trades have been completed to see whether copying should be allowed. In the longer run after 30+ trades or so, MA 5 could see too much whipsaw (copier on/off) so I have progressively changed to 10 and now 20 and also selecting SMMA rather than SMA.

Sooo ! A little patience - this is all home written from scratch so it takes time.

I just wrote something to parse/import an exported CSV from myfxbook, mod my indicators to take arbitrary series rather than candlesticks, and apply to the balance chart for the strategy

The next step is to clip the trades from the imported strategy and generate a new trace
At the moment it includes all symbols - in reality the aggregate strategy would be split by symbol and/or magic etc

The indicator used is MA:20:SMMA

So far, http://www.myfxbook.com/members/forexwallstreet/wallstreet-20-evolution-real/1834513 (http://www.myfxbook.com/members/forexwallstreet/wallstreet-20-evolution-real/1834513) leads to the chart below - does this look ok so far (clipping to be written yet)


It is, as yet, unchecked - am not sure what those jumps back are - possibly because i am using the open date and the CSV i import is probably ordered by close date so it backwardates briefly

I also noticed it loads backwards, starting from 10k - so the start balance is equal to -ve the current balance - oops ! (not important to this though ) The use of open date might also have shifted the SMMA to the left slightly - i noticed on the uptick they track rather too closely
Title: Re: EA Controller
Post by: ianj on April 02, 2017, 11:16:04 AM
Use of Wally in DD across an aggregate of symbols might also be a problem if the DD is caused by a correlated failure on multiple pairs - a lot of the DD might be taken before the balance drops below the MA. I guess processing it will show as the drops are too steep to see clearly from the chart alone.

And i need an option to process the symbols seperately
Title: Re: EA Controller
Post by: ianj on April 02, 2017, 11:31:47 AM
What i am looking for is to see if there is a possibility to "tune" some form of curve (be it an MA or whatever) to a historical backtest (or better still forward performance) in order to accept most "expected" DD dips so that when the unexpected comes along it responds reasonably quickly without clipping out normal DD dips. The SMMA 20 might be a good rule of thumb but it may not be optimal across the board
Title: Re: EA Controller
Post by: diyforexskills on April 03, 2017, 02:45:05 AM
What i am looking for is to see if there is a possibility to "tune" some form of curve (be it an MA or whatever) to a historical backtest (or better still forward performance) in order to accept most "expected" DD dips so that when the unexpected comes along it responds reasonably quickly without clipping out normal DD dips. The SMMA 20 might be a good rule of thumb but it may not be optimal across the board

Yes tuning is important I feel. And will be EA and broker specific. I also think that this tuning should be currency specific. For instance in the myfxbook you shared of Wally, the vast bulk of the action is from GU. See image below. So would be better off doing the controlling and tuning separately for each currency pair. Which is how it works with the EA Controller which in its current version is currency specific.

As I understand Wally, it has six internal scalping strategies operating on the currency pair. So might be worthwhile to examine performance curves of each of these six internal strategies separately. If done with the EA controller, you would run six copies and select one of the six magics for each in the Controller settings. Alternatively one can presumably activate/deactivate any of the six internal strategies on the Wally EA.

As to the tuning instrument. MA is what I am using but one could also use eg a relative DD % to switch off, and then a relative uptrend % to switch back on. (relative to previous high/ low of performance curve).

And although the EA Controller is fully automated, I also believe in lending a helping manual hand from time to time. So for instance if we have had a sharp DD and performance history shows that these sharp DDs are normally followed by fairly speedy recoveries, I might well wind down the Controller EA back to SMA 5 once the DD is under way so that I get back into copying the trades to my live account pretty quickly following the end of the DD.

We need to tune in the Controller to both when to stop copying ("without clipping out normal DD dips") and when to restart copying (without missing out too much on the renewed uptrend in performance)..
Title: Re: EA Controller
Post by: wroeckert on April 03, 2017, 06:31:06 AM
What i am looking for is to see if there is a possibility to "tune" some form of curve (be it an MA or whatever) to a historical backtest (or better still forward performance) in order to accept most "expected" DD dips so that when the unexpected comes along it responds reasonably quickly without clipping out normal DD dips. The SMMA 20 might be a good rule of thumb but it may not be optimal across the board

Yes tuning is important I feel. And will be EA and broker specific. I also think that this tuning should be currency specific. For instance in the myfxbook you shared of Wally, the vast bulk of the action is from GU. See image below. So would be better off doing the controlling and tuning separately for each currency pair. Which is how it works with the EA Controller which in its current version is currency specific.

As I understand Wally, it has six internal scalping strategies operating on the currency pair. So might be worthwhile to examine performance curves of each of these six internal strategies separately. If done with the EA controller, you would run six copies and select one of the six magics for each in the Controller settings. Alternatively one can presumably activate/deactivate any of the six internal strategies on the Wally EA.

As to the tuning instrument. MA is what I am using but one could also use eg a relative DD % to switch off, and then a relative uptrend % to switch back on. (relative to previous high/ low of performance curve).

And although the EA Controller is fully automated, I also believe in lending a helping manual hand from time to time. So for instance if we have had a sharp DD and performance history shows that these sharp DDs are normally followed by fairly speedy recoveries, I might well wind down the Controller EA back to SMA 5 once the DD is under way so that I get back into copying the trades to my live account pretty quickly following the end of the DD.

We need to tune in the Controller to both when to stop copying ("without clipping out normal DD dips") and when to restart copying (without missing out too much on the renewed uptrend in performance)..

Hmm, as i understand, my EA has 6 Magicn. for 6 Strategys, i need for every Strategy/Magic one Controller? but with same ID for copier?

regards, Roeckert
Title: Re: EA Controller
Post by: diyforexskills on April 03, 2017, 06:54:46 AM
What i am looking for is to see if there is a possibility to "tune" some form of curve (be it an MA or whatever) to a historical backtest (or better still forward performance) in order to accept most "expected" DD dips so that when the unexpected comes along it responds reasonably quickly without clipping out normal DD dips. The SMMA 20 might be a good rule of thumb but it may not be optimal across the board

Yes tuning is important I feel. And will be EA and broker specific. I also think that this tuning should be currency specific. For instance in the myfxbook you shared of Wally, the vast bulk of the action is from GU. See image below. So would be better off doing the controlling and tuning separately for each currency pair. Which is how it works with the EA Controller which in its current version is currency specific.

As I understand Wally, it has six internal scalping strategies operating on the currency pair. So might be worthwhile to examine performance curves of each of these six internal strategies separately. If done with the EA controller, you would run six copies and select one of the six magics for each in the Controller settings. Alternatively one can presumably activate/deactivate any of the six internal strategies on the Wally EA.

As to the tuning instrument. MA is what I am using but one could also use eg a relative DD % to switch off, and then a relative uptrend % to switch back on. (relative to previous high/ low of performance curve).

And although the EA Controller is fully automated, I also believe in lending a helping manual hand from time to time. So for instance if we have had a sharp DD and performance history shows that these sharp DDs are normally followed by fairly speedy recoveries, I might well wind down the Controller EA back to SMA 5 once the DD is under way so that I get back into copying the trades to my live account pretty quickly following the end of the DD.

We need to tune in the Controller to both when to stop copying ("without clipping out normal DD dips") and when to restart copying (without missing out too much on the renewed uptrend in performance)..

Hmm, as i understand, my EA has 6 Magicn. for 6 Strategys, i need for every Strategy/Magic one Controller? but with same ID for copier?

regards, Roeckert

Unfortunately you would also need six copiers if you wanted to do that; and you are already running Wally on 5 pairs? That would make for 30 Copiers!
Maybe test Wally on one pair with separate magics individually and just see whether there is much difference in performance between the six strategies.

Or, if you just run Wally on one pair on demo for a while, without the Controller, and use the FX Blue Publisher EA to analyse the performance by magic number, you will see whether there is much difference between the six strategies. That would guide your future use of the Controller with Wally.
Title: Re: EA Controller
Post by: wroeckert on April 03, 2017, 07:09:31 AM
What i am looking for is to see if there is a possibility to "tune" some form of curve (be it an MA or whatever) to a historical backtest (or better still forward performance) in order to accept most "expected" DD dips so that when the unexpected comes along it responds reasonably quickly without clipping out normal DD dips. The SMMA 20 might be a good rule of thumb but it may not be optimal across the board

Yes tuning is important I feel. And will be EA and broker specific. I also think that this tuning should be currency specific. For instance in the myfxbook you shared of Wally, the vast bulk of the action is from GU. See image below. So would be better off doing the controlling and tuning separately for each currency pair. Which is how it works with the EA Controller which in its current version is currency specific.

As I understand Wally, it has six internal scalping strategies operating on the currency pair. So might be worthwhile to examine performance curves of each of these six internal strategies separately. If done with the EA controller, you would run six copies and select one of the six magics for each in the Controller settings. Alternatively one can presumably activate/deactivate any of the six internal strategies on the Wally EA.

As to the tuning instrument. MA is what I am using but one could also use eg a relative DD % to switch off, and then a relative uptrend % to switch back on. (relative to previous high/ low of performance curve).

And although the EA Controller is fully automated, I also believe in lending a helping manual hand from time to time. So for instance if we have had a sharp DD and performance history shows that these sharp DDs are normally followed by fairly speedy recoveries, I might well wind down the Controller EA back to SMA 5 once the DD is under way so that I get back into copying the trades to my live account pretty quickly following the end of the DD.

We need to tune in the Controller to both when to stop copying ("without clipping out normal DD dips") and when to restart copying (without missing out too much on the renewed uptrend in performance)..

Hmm, as i understand, my EA has 6 Magicn. for 6 Strategys, i need for every Strategy/Magic one Controller? but with same ID for copier?

regards, Roeckert

Unfortunately you would also need six copiers if you wanted to do that; and you are already running Wally on 5 pairs? That would make for 30 Copiers!
Maybe test Wally on one pair with separate magics individually and just see whether there is much difference in performance between the six strategies.

Or, if you just run Wally on one pair on demo for a while, without the Controller, and use the FX Blue Publisher EA to analyse the performance by magic number, you will see whether there is much difference between the six strategies. That would guide your future use of the Controller with Wally.

Hmm, actual i use not Wally, maybee later, dont know.  I use Forex Real Profit EA.. Now i have all 6 Magic in one Controller, i think i let them run how its run and after some weeks i Analyse how i setup the Controller and which Strategy i use..   Smoke over my Head, but have to think how i manage that. i also run a other Demo with free and Commercial EA and have to Analyze this also , if it is okay, then i add them also as sender2. There are a lot of possibilites, but now i drink a cool Beer, i am some Weeks in Philippines now..
regards Roeckert
Title: Re: EA Controller
Post by: diyforexskills on April 03, 2017, 07:19:58 AM
What i am looking for is to see if there is a possibility to "tune" some form of curve (be it an MA or whatever) to a historical backtest (or better still forward performance) in order to accept most "expected" DD dips so that when the unexpected comes along it responds reasonably quickly without clipping out normal DD dips. The SMMA 20 might be a good rule of thumb but it may not be optimal across the board

Yes tuning is important I feel. And will be EA and broker specific. I also think that this tuning should be currency specific. For instance in the myfxbook you shared of Wally, the vast bulk of the action is from GU. See image below. So would be better off doing the controlling and tuning separately for each currency pair. Which is how it works with the EA Controller which in its current version is currency specific.

As I understand Wally, it has six internal scalping strategies operating on the currency pair. So might be worthwhile to examine performance curves of each of these six internal strategies separately. If done with the EA controller, you would run six copies and select one of the six magics for each in the Controller settings. Alternatively one can presumably activate/deactivate any of the six internal strategies on the Wally EA.

As to the tuning instrument. MA is what I am using but one could also use eg a relative DD % to switch off, and then a relative uptrend % to switch back on. (relative to previous high/ low of performance curve).

And although the EA Controller is fully automated, I also believe in lending a helping manual hand from time to time. So for instance if we have had a sharp DD and performance history shows that these sharp DDs are normally followed by fairly speedy recoveries, I might well wind down the Controller EA back to SMA 5 once the DD is under way so that I get back into copying the trades to my live account pretty quickly following the end of the DD.

We need to tune in the Controller to both when to stop copying ("without clipping out normal DD dips") and when to restart copying (without missing out too much on the renewed uptrend in performance)..

Hmm, as i understand, my EA has 6 Magicn. for 6 Strategys, i need for every Strategy/Magic one Controller? but with same ID for copier?

regards, Roeckert

Unfortunately you would also need six copiers if you wanted to do that; and you are already running Wally on 5 pairs? That would make for 30 Copiers!
Maybe test Wally on one pair with separate magics individually and just see whether there is much difference in performance between the six strategies.

Or, if you just run Wally on one pair on demo for a while, without the Controller, and use the FX Blue Publisher EA to analyse the performance by magic number, you will see whether there is much difference between the six strategies. That would guide your future use of the Controller with Wally.

Hmm, actual i use not Wally, maybee later, dont know.  I use Forex Real Profit EA.. Now i have all 6 Magic in one Controller, i think i let them run how its run and after some weeks i Analyse how i setup the Controller and which Strategy i use..   Smoke over my Head, but have to think how i manage that. i also run a other Demo with free and Commercial EA and have to Analyze this also , if it is okay, then i add them also as sender2. There are a lot of possibilites, but now i drink a cool Beer, i am some Weeks in Philippines now..
regards Roeckert

I see that Forex real profit EA uses "Working method: The robot uses 6 different strategies, 2 for scalping on Asian session, 2 for scalping on trend all day and 2 breakout strategies, all day also". So after a few beers and weeks in Philippines, maybe do 2 Asian scalping strategies together, 2 scalp on trend together etc.  Just a thought.
Title: Re: EA Controller
Post by: wroeckert on April 03, 2017, 07:24:54 AM
What i am looking for is to see if there is a possibility to "tune" some form of curve (be it an MA or whatever) to a historical backtest (or better still forward performance) in order to accept most "expected" DD dips so that when the unexpected comes along it responds reasonably quickly without clipping out normal DD dips. The SMMA 20 might be a good rule of thumb but it may not be optimal across the board


Yes tuning is important I feel. And will be EA and broker specific. I also think that this tuning should be currency specific. For instance in the myfxbook you shared of Wally, the vast bulk of the action is from GU. See image below. So would be better off doing the controlling and tuning separately for each currency pair. Which is how it works with the EA Controller which in its current version is currency specific.

As I understand Wally, it has six internal scalping strategies operating on the currency pair. So might be worthwhile to examine performance curves of each of these six internal strategies separately. If done with the EA controller, you would run six copies and select one of the six magics for each in the Controller settings. Alternatively one can presumably activate/deactivate any of the six internal strategies on the Wally EA.

As to the tuning instrument. MA is what I am using but one could also use eg a relative DD % to switch off, and then a relative uptrend % to switch back on. (relative to previous high/ low of performance curve).

And although the EA Controller is fully automated, I also believe in lending a helping manual hand from time to time. So for instance if we have had a sharp DD and performance history shows that these sharp DDs are normally followed by fairly speedy recoveries, I might well wind down the Controller EA back to SMA 5 once the DD is under way so that I get back into copying the trades to my live account pretty quickly following the end of the DD.

We need to tune in the Controller to both when to stop copying ("without clipping out normal DD dips") and when to restart copying (without missing out too much on the renewed uptrend in performance)..

Hmm, as i understand, my EA has 6 Magicn. for 6 Strategys, i need for every Strategy/Magic one Controller? but with same ID for copier?

regards, Roeckert

Unfortunately you would also need six copiers if you wanted to do that; and you are already running Wally on 5 pairs? That would make for 30 Copiers!
Maybe test Wally on one pair with separate magics individually and just see whether there is much difference in performance between the six strategies.

Or, if you just run Wally on one pair on demo for a while, without the Controller, and use the FX Blue Publisher EA to analyse the performance by magic number, you will see whether there is much difference between the six strategies. That would guide your future use of the Controller with Wally.

Hmm, actual i use not Wally, maybee later, dont know.  I use Forex Real Profit EA.. Now i have all 6 Magic in one Controller, i think i let them run how its run and after some weeks i Analyse how i setup the Controller and which Strategy i use..   Smoke over my Head, but have to think how i manage that. i also run a other Demo with free and Commercial EA and have to Analyze this also , if it is okay, then i add them also as sender2. There are a lot of possibilites, but now i drink a cool Beer, i am some Weeks in Philippines now..
regards Roeckert

I see that Forex real profit EA uses "Working method: The robot uses 6 different strategies, 2 for scalping on Asian session, 2 for scalping on trend all day and 2 breakout strategies, all day also". So after a few beers and weeks in Philippines, maybe do 2 Asian scalping strategies together, 2 scalp on trend together etc.  Just a thought.

Thanks , good Idea, if i have some results i post them...

Title: Re: EA Controller
Post by: ianj on April 03, 2017, 11:25:06 AM
I also think that this tuning should be currency specific.
Absolutely - it is just that Rome was not built in a day. That is next

As I understand Wally, it has six internal scalping strategies operating on the currency pair. So might be worthwhile to examine performance curves of each of these six internal strategies separately.

Alternatively one can presumably activate/deactivate any of the six internal strategies on the Wally EA.

I also agree. Unfortunately the current Wally does not expose the sub-strategy it uses either in the comment or magic - so it's a black box. My knowledge of Wally is based on an older "educated" version and most of the useful trading "action" was contained in the first 3 sub strategies (WPR1, WPR2, CCI) Looking at the v5 (not Evolution) that behavior has not changed much other than a little tuning

I often wish they had exposed the sub strategies in the commercial offering but i guess i understand their reluctance to expose themselves to reverse engineering

So the answer is it's a shame, but no we can't

Symbol separation is all we have
Title: Re: EA Controller
Post by: wroeckert on April 03, 2017, 11:39:05 PM
Hello, tonight my Sender EA open two Trades one already close now, im lucky, in Profit, the proplem is , the trade copier opens 5 Trades!? and a warning popup activate Broker min Lot.
But i actvate this already. Now i activate also use fixed Lotsize.  But why the Copier open 5 trades instead of one??

regards
Title: Re: EA Controller
Post by: diyforexskills on April 04, 2017, 06:51:21 AM
Hello, tonight my Sender EA open two Trades one already close now, im lucky, in Profit, the proplem is , the trade copier opens 5 Trades!? and a warning popup activate Broker min Lot.
But i actvate this already. Now i activate also use fixed Lotsize.  But why the Copier open 5 trades instead of one??

regards
Hi
Pls have a look at the Copier User Guide, Section 3.4 (incl type of accounts etc, cents vs std and related issues) and Section 5 (problem diagnosis) and checking the Experts log.
Eg
"5.3Trades are opened multiple times
If the same trade is copied more than once on the receiver account then there is only one explanation: you are running more than one instance of the receiver copy of MT4.
Please use the Windows Task Manager to check that you only have the expected number of running copies of MT4 (terminal.exe), making sure to use the "Show processes from all users" option.
On a VPS in particular, it is quite easy to open multiple remote-desktop sessions by accident, and have the same copy of MT4 running in more than one session at once."

Hopefully you will find a resolution there. If you contact FX Blue Support, pls make sure you tell then your are controlling the Copier with the EA Controller as per Section 3.13 of their user Guide.
Title: Re: EA Controller
Post by: diyforexskills on April 04, 2017, 07:32:53 AM
I also think that this tuning should be currency specific.
Absolutely - it is just that Rome was not built in a day. That is next

We were in Rome last year on holidays. It is still being built and they are also still digging up ever more older ruins, so your time available is extending at both ends.   :)

Title: Re: EA Controller
Post by: wroeckert on April 04, 2017, 07:53:05 AM
Hello, tonight my Sender EA open two Trades one already close now, im lucky, in Profit, the proplem is , the trade copier opens 5 Trades!? and a warning popup activate Broker min Lot.
But i actvate this already. Now i activate also use fixed Lotsize.  But why the Copier open 5 trades instead of one??

regards
Hi
Pls have a look at the Copier User Guide, Section 3.4 (incl type of accounts etc, cents vs std and related issues) and Section 5 (problem diagnosis) and checking the Experts log.
Eg
"5.3Trades are opened multiple times
If the same trade is copied more than once on the receiver account then there is only one explanation: you are running more than one instance of the receiver copy of MT4.
Please use the Windows Task Manager to check that you only have the expected number of running copies of MT4 (terminal.exe), making sure to use the "Show processes from all users" option.
On a VPS in particular, it is quite easy to open multiple remote-desktop sessions by accident, and have the same copy of MT4 running in more than one session at once."

Hopefully you will find a resolution there. If you contact FX Blue Support, pls make sure you tell then your are controlling the Copier with the EA Controller as per Section 3.13 of their user Guide.

Thank you for Help, i have read this also, have to search and try.....   
Title: Re: EA Controller
Post by: Humble Trader's Fx on April 05, 2017, 01:03:29 AM
Donna, will you please update the myfxbook account for the controller. It has not updated since last week, March 31st.

Regards,
Ilios Ellas
Title: Re: EA Controller
Post by: wroeckert on April 05, 2017, 11:04:38 AM
Donna, will you please update the myfxbook account for the controller. It has not updated since last week, March 31st.

Regards,
Ilios Ellas

Reload your  Site
Title: Re: EA Controller
Post by: wroeckert on April 06, 2017, 09:51:04 AM
Hello, tonight my Sender EA open two Trades one already close now, im lucky, in Profit, the proplem is , the trade copier opens 5 Trades!? and a warning popup activate Broker min Lot.
But i actvate this already. Now i activate also use fixed Lotsize.  But why the Copier open 5 trades instead of one??

regards
Hi
Pls have a look at the Copier User Guide, Section 3.4 (incl type of accounts etc, cents vs std and related issues) and Section 5 (problem diagnosis) and checking the Experts log.
Eg
"5.3Trades are opened multiple times
If the same trade is copied more than once on the receiver account then there is only one explanation: you are running more than one instance of the receiver copy of MT4.
Please use the Windows Task Manager to check that you only have the expected number of running copies of MT4 (terminal.exe), making sure to use the "Show processes from all users" option.
On a VPS in particular, it is quite easy to open multiple remote-desktop sessions by accident, and have the same copy of MT4 running in more than one session at once."

Hopefully you will find a resolution there. If you contact FX Blue Support, pls make sure you tell then your are controlling the Copier with the EA Controller as per Section 3.13 of their user Guide.

solve the Proplem, i was think 5 times sender / reciever with 5 different channelnames enought was wrong, one order was send and recieve 5 times. Have put now for any pair 6 Magicnumbers in the copier. Any pair/Strategie use another Magic.

i use also 6 times the EA Controller per pair, any for different Strategie/Magic but same ID for the Copier, any pair has a other ID.
Title: Re: EA Controller
Post by: diyforexskills on April 08, 2017, 08:20:59 AM
I just wish i could programmatically enable/disable individual EA's regardless of whether i had the code from them or not.

Anything i write for myself checks global variables to check it is allowed to trade for a given PAIR and a given EA and the global variables are remotely updatable but i can't do the same for commercial EA's

Am sure the EA Controller would benefit from the same rather than having to copy trades

Might scratch my head for a while but iterating though windows, finding an EA and disabling it seem pretty convoluted in the Windows APi and would no doubt be a bit flaky

Just picking up on this earlier part of the thread. I now have another option for controlling a 3rd party EA, one which does not involve using the Trade Copier as the alternative.

Does not shut down the EA, but stops a trade generated by an EA very early in its life, hence minimizing any loss. But not too soon lest the EA tries to place the order again, and again and again....

So now we run the 3rd party EA on both demo and live. Add the Controller to the demo. And add the DIY Trade Manager Plus ( http://diytrademanagerplus.com/  ), now configured with the Signal code, not yet publicly available, to the live account. The TM has a SL set to say 5 pips and either a small TP or none.

The Controller on the demo now communicates with the TM on the live, signalling it On (for when the EA is in DD and hence when we don't want it to be trading on live) or Off (for when the EA is in uptrend and we want the EA on live to be trading).

So when we encounter a DD, the TM is activated and will close any trades generated by the EA on live account at a very small 5 pips SL (not as good as no trade and zero loss, ie not fully disabled, but could be an acceptable outcome. Should the trade surge into profit, well then we have been lucky. When the EA is in uptrend, we want to be trading on live and so the TM is not active and so the EA itself will control the trade as normal.

So now need to do some testing.

Title: Re: EA Controller
Post by: wroeckert on April 08, 2017, 08:49:09 AM
I just wish i could programmatically enable/disable individual EA's regardless of whether i had the code from them or not.

Anything i write for myself checks global variables to check it is allowed to trade for a given PAIR and a given EA and the global variables are remotely updatable but i can't do the same for commercial EA's

Am sure the EA Controller would benefit from the same rather than having to copy trades

Might scratch my head for a while but iterating though windows, finding an EA and disabling it seem pretty convoluted in the Windows APi and would no doubt be a bit flaky

Just picking up on this earlier part of the thread. I now have another option for controlling a 3rd party EA, one which does not involve using the Trade Copier as the alternative.

Does not shut down the EA, but stops a trade generated by an EA very early in its life, hence minimizing any loss. But not too soon lest the EA tries to place the order again, and again and again....

So now we run the 3rd party EA on both demo and live. Add the Controller to the demo. And add the DIY Trade Manager Plus ( http://diytrademanagerplus.com/  ), now configured with the Signal code, not yet publicly available, to the live account. The TM has a SL set to say 5 pips and either a small TP or none.

The Controller on the demo now communicates with the TM on the live, signalling it On (for when the EA is in DD and hence when we don't want it to be trading on live) or Off (for when the EA is in uptrend and we want the EA on live to be trading).

So when we encounter a DD, the TM is activated and will close any trades generated by the EA on live account at a very small 5 pips SL (not as good as no trade and zero loss, ie not fully disabled, but could be an acceptable outcome. Should the trade surge into profit, well then we have been lucky. When the EA is in uptrend, we want to be trading on live and so the TM is not active and so the EA itself will control the trade as normal.

So now need to do some testing.

Hmm, why you need the DIY ? we have the TradeCopier and the EAController, the EAC stop sending if the EA is in DD and start if the EA start winning
Title: Re: EA Controller
Post by: diyforexskills on April 08, 2017, 09:40:13 AM
I just wish i could programmatically enable/disable individual EA's regardless of whether i had the code from them or not.

Anything i write for myself checks global variables to check it is allowed to trade for a given PAIR and a given EA and the global variables are remotely updatable but i can't do the same for commercial EA's

Am sure the EA Controller would benefit from the same rather than having to copy trades

Might scratch my head for a while but iterating though windows, finding an EA and disabling it seem pretty convoluted in the Windows APi and would no doubt be a bit flaky

Just picking up on this earlier part of the thread. I now have another option for controlling a 3rd party EA, one which does not involve using the Trade Copier as the alternative.

Does not shut down the EA, but stops a trade generated by an EA very early in its life, hence minimizing any loss. But not too soon lest the EA tries to place the order again, and again and again....

So now we run the 3rd party EA on both demo and live. Add the Controller to the demo. And add the DIY Trade Manager Plus ( http://diytrademanagerplus.com/  ), now configured with the Signal code, not yet publicly available, to the live account. The TM has a SL set to say 5 pips and either a small TP or none.

The Controller on the demo now communicates with the TM on the live, signalling it On (for when the EA is in DD and hence when we don't want it to be trading on live) or Off (for when the EA is in uptrend and we want the EA on live to be trading).

So when we encounter a DD, the TM is activated and will close any trades generated by the EA on live account at a very small 5 pips SL (not as good as no trade and zero loss, ie not fully disabled, but could be an acceptable outcome. Should the trade surge into profit, well then we have been lucky. When the EA is in uptrend, we want to be trading on live and so the TM is not active and so the EA itself will control the trade as normal.

So now need to do some testing.

Hmm, why you need the DIY ? we have the TradeCopier and the EAController, the EAC stop sending if the EA is in DD and start if the EA start winning

Just another possible option in future for people who don't want to use a Trade Copier and/or whose low-grade VPS cannot handle more than one instance of the Copier. Still experimental at this stage.
Title: Re: EA Controller
Post by: wroeckert on April 08, 2017, 11:08:44 AM
I just wish i could programmatically enable/disable individual EA's regardless of whether i had the code from them or not.

Anything i write for myself checks global variables to check it is allowed to trade for a given PAIR and a given EA and the global variables are remotely updatable but i can't do the same for commercial EA's

Am sure the EA Controller would benefit from the same rather than having to copy trades

Might scratch my head for a while but iterating though windows, finding an EA and disabling it seem pretty convoluted in the Windows APi and would no doubt be a bit flaky

Just picking up on this earlier part of the thread. I now have another option for controlling a 3rd party EA, one which does not involve using the Trade Copier as the alternative.

Does not shut down the EA, but stops a trade generated by an EA very early in its life, hence minimizing any loss. But not too soon lest the EA tries to place the order again, and again and again....

So now we run the 3rd party EA on both demo and live. Add the Controller to the demo. And add the DIY Trade Manager Plus ( http://diytrademanagerplus.com/  ), now configured with the Signal code, not yet publicly available, to the live account. The TM has a SL set to say 5 pips and either a small TP or none.

The Controller on the demo now communicates with the TM on the live, signalling it On (for when the EA is in DD and hence when we don't want it to be trading on live) or Off (for when the EA is in uptrend and we want the EA on live to be trading).

So when we encounter a DD, the TM is activated and will close any trades generated by the EA on live account at a very small 5 pips SL (not as good as no trade and zero loss, ie not fully disabled, but could be an acceptable outcome. Should the trade surge into profit, well then we have been lucky. When the EA is in uptrend, we want to be trading on live and so the TM is not active and so the EA itself will control the trade as normal.

So now need to do some testing.

Hmm, why you need the DIY ? we have the TradeCopier and the EAController, the EAC stop sending if the EA is in DD and start if the EA start winning

Just another possible option in future for people who don't want to use a Trade Copier and/or whose low-grade VPS cannot handle more than one instance of the Copier. Still experimental at this stage.

Yes , as option helpful. but, for now, think about the EAController there is a great potenzial and i think you can add some futures. maybee only one for all EAs with MAs for all Magics and free configuration, incl. complete account , tradeanalyse
Title: Re: EA Controller
Post by: diyforexskills on April 09, 2017, 08:50:30 AM
Not sure I understand these proposed features - see previous Reply. It is always helpful to have things on screen, but I find the FX Blue Publisher EA analysis tool meets my needs for analysis, offline of course.

Not ready for any major upgrades at this stage but will keep your suggestions in mind and contact you for clarification at the time.
Title: Re: EA Controller
Post by: diyforexskills on April 20, 2017, 08:53:07 AM
When we trade EAs with the EA Controller system, we need to adopt a different way of thinking.

In normal EA trading, we try to optimise our EA at regular intervals to keep it "tuned in" to the changing market conditions.

But when trading with the EA Controller system, we optimise the EA just once over some 200 to 400 trades (about a year's worth); and then we wait for the market dynamics to "tune in" to our EA settings.

So the reverse of what we normally do. Does require having some patience and does mean running a portfolio.

In the example shown we can see that the market is changing back to being in tune with this EA, and if this keeps going, we should soon be trading this EA on our live account again. And importantly, we will have missed out on losses from the DD which began when the red line moved below the blue line.

The second image shows the On (Green)/Off (Red) conditions for the 12 EAs that I am trading with the EA Controller system.
Title: Re: EA Controller
Post by: diyforexskills on April 26, 2017, 09:50:53 AM
"Back Testing" Controller settings for MA

I have recently been made aware of a facility on the Quant Analyzer 4 which can help us to select an optimum SMA setting for the Controller, based on back test results for the particular EA(s).

The relevant article describing this feature can be found here. Well worth a read.

http://www.strategyquant.com/doc/article/better-results-with-equity-control.html (http://www.strategyquant.com/doc/article/better-results-with-equity-control.html)

I have applied this analysis to the back tests of three of the EAs which I am currently running with the Controller. The FX10 1901 GU H1 has an Order Multiple setting and the FXAE V481630 EU M15 and FXAE V481614 EU H1 which do not. The results can be viewed here. Note that we can only test with SMAs, not SMMAs:

http://exceptionalfx.com/wp-content/uploads/2017/04/Importance-of-monitoring-Moving-Average-Selection-for-EA-Controller-1.pdf (http://exceptionalfx.com/wp-content/uploads/2017/04/Importance-of-monitoring-Moving-Average-Selection-for-EA-Controller-1.pdf)
 
The key things from my point of view are these:

1. Allow your balance curves some room to breathe. That is, use MAs of 10 to 20 or higher, but not too high, eg not 60 or 80. At this stage of my experience a SMMA of 30 would be a good starting point.

2. As always there is a tradeoff - a tight MA will get us out of DDs sooner; but if DDs are only shallow, then a tight MA will lead to worse performance.

3. The greatest benefit of using the Controller would be for EAs that have a deepish DD, but do pick up again. In those cases we can more than double the return as shown with the last example - from $229 to $676.

4. There are other ways of triggering the Yes or No signal from the Controller, apart from a MA cross. Eg the Quant article suggests and enables testing using a Trailing Profit; a bit like selecting an acceptable DD limit. Or perhaps a double MA crossover? I will investigate this further as a possible extra option on the Controller.

So if you have the Quant Analyser and a Report of your EA from a back test or a demo or live trading account, you can now make a more informed judgment as to what setting you should use for the MA of the Controller.
Title: Re: EA Controller
Post by: wroeckert on April 26, 2017, 03:11:43 PM
"Back Testing" Controller settings for MA

I have recently been made aware of a facility on the Quant Analyzer 4 which can help us to select an optimum SMA setting for the Controller, based on back test results for the particular EA(s).

The relevant article describing this feature can be found here. Well worth a read.

http://www.strategyquant.com/doc/article/better-results-with-equity-control.html (http://www.strategyquant.com/doc/article/better-results-with-equity-control.html)



I have applied this analysis to the back tests of three of the EAs which I am currently running with the Controller. The FX10 1901 GU H1 has an Order Multiple setting and the FXAE V481630 EU M15 and FXAE V481614 EU H1 which do not. The results can be viewed here. Note that we can only test with SMAs, not SMMAs:

http://exceptionalfx.com/wp-content/uploads/2017/04/Importance-of-monitoring-Moving-Average-Selection-for-EA-Controller-1.pdf (http://exceptionalfx.com/wp-content/uploads/2017/04/Importance-of-monitoring-Moving-Average-Selection-for-EA-Controller-1.pdf)
 
The key things from my point of view are these:

1. Allow your balance curves some room to breathe. That is, use MAs of 10 to 20 or higher, but not too high, eg not 60 or 80. At this stage of my experience a SMMA of 30 would be a good starting point.

2. As always there is a tradeoff - a tight MA will get us out of DDs sooner; but if DDs are only shallow, then a tight MA will lead to worse performance.

3. The greatest benefit of using the Controller would be for EAs that have a deepish DD, but do pick up again. In those cases we can more than double the return as shown with the last example - from $229 to $676.

4. There are other ways of triggering the Yes or No signal from the Controller, apart from a MA cross. Eg the Quant article suggests and enables testing using a Trailing Profit; a bit like selecting an acceptable DD limit. Or perhaps a double MA crossover? I will investigate this further as a possible extra option on the Controller.

So if you have the Quant Analyser and a Report of your EA from a back test or a demo or live trading account, you can now make a more informed judgment as to what setting you should use for the MA of the Controller.


Hmm, yesterday i think about how i manage a Strategie with, sample, 3 Controllern with different settings , any with 0.01 in Tradecopy  (3Channel) , so we start with 0.03. after some looser , the first controller close 0.01, later next Controller close 0.01 and so on. Next winner trade start with controller 3 , 0.01, next Contr. 2 0.01 , last controller 1 0.01 , so we have 0.03 if the Strategie win more Trades.
 Only a Idea
Title: Re: EA Controller
Post by: ianj on April 28, 2017, 01:46:43 AM
I have recently been made aware of a facility on the Quant Analyzer 4 which can help us to select an optimum SMA setting for the Controller, based on back test results for the particular EA(s).

The relevant article describing this feature can be found here. Well worth a read.

http://www.strategyquant.com/doc/article/better-results-with-equity-control.html (http://www.strategyquant.com/doc/article/better-results-with-equity-control.html)

That is EXACTLY what i was on about - excellent !

I was part way through working on something similar so great minds :)
Title: Re: EA Controller
Post by: ianj on April 28, 2017, 04:36:16 AM
Sooo, my first attempt - added a Bollinger Lower (yellow) to my donor balance curve (Red) - not sure i like the BB actually but it will do until i get the money management working (equity control is simply a form of money management)

Played with QuantAnalyzer and you have to adjust the parameters manually it seems. Given a few basic indicators to choose from i wonder if i can get a decent first fit automatically or i should just add sliders to adjust the parameters in real time

(I only used the BB because it was head of the list)
Title: Re: EA Controller
Post by: diyforexskills on April 28, 2017, 06:02:35 AM
Sooo, my first attempt - added a Bollinger Lower (yellow) to my donor balance curve (Red) - not sure i like the BB actually but it will do until i get the money management working (equity control is simply a form of money management)

Played with QuantAnalyzer and you have to adjust the parameters manually it seems. Given a few basic indicators to choose from i wonder if i can get a decent first fit automatically or i should just add sliders to adjust the parameters in real time

(I only used the BB because it was head of the list)

Yes, BB lower did not work well for the Reports i tested. I got the impression that users can derive their own control functions?

"Quant Analyzer v3 now allows you to programm your own equity control function and test your own ideas. In this example we'll use special equity control function that you can download below.

MovingAverageAddContracts.java
Simply download this file, place it into {Quant Analyzer}/extend/code/EquityControl folder and restart the program."

So maybe you could do one for z score?  And share that?
Title: Re: EA Controller
Post by: ianj on April 28, 2017, 10:00:11 AM
Simply download this file, place it into {Quant Analyzer}/extend/code/EquityControl folder and restart the program."

So maybe you could do one for z score?  And share that?

Yeah it returns a simple coefficient which is used to multiply the next balance delta. Their example boosts the size when it drops below the chosen indicator so it acts as a form of Recovery - you can implement your own in the function.

My own works the same way - you just implement the Transformer interface:

/* Record is the trade, value is the original value to be transformed and balance is running balance */
public interface Transformer {
   double transform(Record record, double value, double balance);
}

This is a simple lot multiplier

public class TransformSimple implements Transformer {
   public double mx;
   public TransformSimple(double mx) {
      this.mx= mx;
   }
   public double transform(Record record, double value, double balance) {
      return value*mx;
   }   
}


This is a super simplistic compounder

public class TransformCompound implements Transformer {
   int pc;
   int cf;
   public TransformCompound(int pc, int cf) {
      this.pc = pc;
      this.cf = cf;
   }
   public double transform(Record record, double value, double balance) {
      return value*balance*pc/(100*cf);
   }   
}


Just gotta add an EquityControl Transformer ...
Title: Re: EA Controller
Post by: ianj on April 28, 2017, 11:11:51 AM
And this is my first real run - using a shifted MA:60:SMA:CLOSE to mark the boundary

I have annotated where the controlled (Cyan) was clipped by the original curve (Red) dipping under the MA (Yellow) -

On the point of it helping (or not) - If you apply it to a reasonable smooth curve with fast recovery it wont appear to help (as in my curve)  - it is intended to protect against future significant and protracted dips. You can fit the curve closer but you run the chance of clipping more of the upside if and when it recovers

Will mull over options for delaying clipping slightly if the curve tends to recover quickly

This is binary equity control - it is either included or excluded depending on where it is relative to the reference indicator - it gets more interesting as the control becomes non binary and may be more suited to tuning a curve that looks reasonable to start with
Title: Re: EA Controller
Post by: ianj on April 28, 2017, 11:33:22 AM
Equity control clipping uses coefficients of 1(whilst above), and 0(whilst below)

And this is what happens with coefficients of 1(whilst above), and 2(whilst below) - you get a recovery function (hopefully)

Title: Re: EA Controller
Post by: supertrader on May 01, 2017, 10:06:01 PM
@diyforexskills Ihave been lurking around a bit but still like your concept of on SMA on profit and loss to see what works. I will take some historical date from live bots on Myfxbook and download the statements and built the SMAs in Excel to see what trades would have been filtered.

As it is all about portfolio trading and some Eas will be blocked and some Eas will not would it be possible to add some asset allocation in your next version.

Say you have 5 robots each get 20% assets allocated. After a while you have 2 bots trading below the ma and 3 above it and they should trade at 33% asset allocation.
Title: Re: EA Controller
Post by: ianj on May 01, 2017, 11:49:52 PM
@diyforexskills Ihave been lurking around a bit but still like your concept of on SMA on profit and loss to see what works. I will take some historical date from live bots on Myfxbook and download the statements and built the SMAs in Excel to see what trades would have been filtered.

If you do find any useful ones to process throw some links this way (or post on here) - i have the capabilities to load exported CSV and analyse what happens when they are clipped by MA (Though not actual control - that is @diyforexskills game) and assemble into a portfolio with asset allocation (with a few changes)
Title: Re: EA Controller
Post by: diyforexskills on May 02, 2017, 09:06:32 AM
@diyforexskills Ihave been lurking around a bit but still like your concept of on SMA on profit and loss to see what works. I will take some historical date from live bots on Myfxbook and download the statements and built the SMAs in Excel to see what trades would have been filtered.

As it is all about portfolio trading and some Eas will be blocked and some Eas will not would it be possible to add some asset allocation in your next version.

Say you have 5 robots each get 20% assets allocated. After a while you have 2 bots trading below the ma and 3 above it and they should trade at 33% asset allocation.

Sorry, missed these last few Posts whilst I have been having deep and meaningful conversations with my errant computer!

Anyway, things are sort of back to normal.

I like the assets (re)allocation idea. Makes sense. But don't think that can be done from the Controller. We can remotely switch an EA On and Off, but as yest we have not figured out a way to remotely alter a setting within an EA.

And I presume in your example that you are talking about EAs which allow you to set the amount of capital of your account that you want the EA to trade with.

However, depending on the timeframe the EAs are trading and hence the frequency of trades, one could do the alterations manually. With the EAs I am trading, the time between On and Off is measured in days or weeks, so it would be simple enough to change the asset allocation manually if one were to check on trades at least every few days.

There is a Yes or No display on the chart of the Controlled EA, so easy to see what the asset allocation should be set to when you have Tiled the five charts.
Title: Re: EA Controller
Post by: diyforexskills on May 02, 2017, 09:21:24 AM
Equity control clipping uses coefficients of 1(whilst above), and 0(whilst below)

And this is what happens with coefficients of 1(whilst above), and 2(whilst below) - you get a recovery function (hopefully)

I like the positive impact of the coefficient! But not sure I understand what the coefficient is and on what it works??

I strongly support your comment
"On the point of it helping (or not) - If you apply it to a reasonable smooth curve with fast recovery it wont appear to help (as in my curve)  - it is intended to protect against future significant and protracted dips. You can fit the curve closer but you run the chance of clipping more of the upside if and when it recovers"

This really comes to the fore when you have an EA which increases lot size after every loss. Because the Controlled EA then tends to miss out on the big recovery trade and hence falls behind. As shown in image.

It's a pity that we can't use a MA Shift in the Quant Analyser because that would improve things I believe. Anther option with spiky curves could be to use a MA crossover as the trigger?
Title: Re: EA Controller
Post by: ianj on May 02, 2017, 11:02:52 AM
Equity control clipping uses coefficients of 1(whilst above), and 0(whilst below)

And this is what happens with coefficients of 1(whilst above), and 2(whilst below) - you get a recovery function (hopefully)

I like the positive impact of the coefficient! But not sure I understand what the coefficient is and on what it works??
(and yes i know i am using a synthetic deposit of 10k, not the actual 700 in the statement)

I have 2 coefficients - the first when the equity is above the reference line (MA or whatever) and the second when it is below

1, 0 implies full size when above and 0 (trade cut) when it dips below
1, 2 implies full size when above and 2 (trade size doubled) when it dips below

Its just a simple way of gaining more flexibility as the coefficients don't have to be simply 0, 1, 2

And just to be clear - this is in MY solution, not that from Quant Analyzer (in case you are looking for it)

Am just adding the ability to split an imported myfxbook statement (from the exported CSV) by symbol (and maybe magic if it is available) - that might add other possibilities as well

The one below is "WallStreet 2.0 Evolution REAL" all currencies combined (to begin April) - coefficients 1, 0 (clipping)  - it looks nice but the the SMA/shift is quite tightly defined to get that - should be able to play about more easily soon though
Title: Re: EA Controller
Post by: diyforexskills on May 08, 2017, 01:01:59 AM
Controller Updates

EA Controller v03.02
The previous version (v03.01) was limited to reading only the last 10,000 trades in history. That restriction has now been removed in v03.02

The revised User Guide can be accessed from here
http://exceptionalfx.com/wp-content/uploads/2017/05/User-Guide-for-FX-EA-Controller-v03.02-7-May-2017.pdf

FX11 Series EAs (v04.02)
These replace the previous FX10 Series EAs which had several bugs and which had only limited user input selections. With FX11 Series EAs:

1. All Inputs apart from TS can now be modified
2. Can choose between Fixed Lots or % Risk lot size as described in the revised User Guide.
(Note that in FX10 Series EAs, the % lot size is a % Equity lot size calculation which does not take into account the SL set. In FX11 Series EAs, we have reverted to the more commonly used %Risk calculation involving the SL setting and the Balance of the account.)
3. Order Multiple now takes effect after a losing trade by the EA. In FX10 the Order Multiple takes effect when equity of the account has dropped irrespective of which EA that was due to. This is not helpful when we are running a portfolio of EAs.

Back Test results for the new FX11 Series EAs can be viewed here
http://exceptionalfx.com/wp-content/uploads/2017/05/Portfolio-1A-of-Exceptional-EAs.pdf

and a revised User Guide is accessible from here
http://exceptionalfx.com/wp-content/uploads/2017/05/User-Guide-for-Exceptional-EAs-v04.02-and-v03.01.48.pdf

As mentioned previously, and as shown in the Back test results, now that we can analyse back tests using the Quant Analyser for what might be an appropriate MA setting for running these EAs with the Controller, the following is clear.

FX10 and FX11 Series EAs, that is, ones that have the Order Multiple function, require a high setting for the Controller's MA - I am suggesting something around 100. Please look at the examples.

For FX50 EAs, like the USDCHF one which do NOT have Order Multiples, a setting of around 30 would seem more appropriate.

Title: Re: EA Controller
Post by: diyforexskills on May 09, 2017, 02:14:51 AM
Maintenance

I try to practice what I preach and yesterday I actually did so and was rewarded.

The practice is the establishment of a routine to check on what's happening on your trading platform. Preferably daily but at least weekly. After all we are dealing with computers and programs.

And one of the key things to check when running EAs is to check the Experts tab, and the Journal tab. Things that go wrong but which are not necessarily obvious from the charts are recorded here.

On Sunday night I added three new EAs with the Controller system to my accounts. But when I checked on Monday night, the Experts tab was showing an endless stream of error messages for one of the three saying that the Controller was not communicating with the live EA (message failed). And when I checked the charts, I could see that yes, two were working just fine, but one was not.

The fix was easy, involving reloading and restarting. The restart itself showed that something had gone wrong with the MT4 since the first restart shut itself down within seconds. The second restart went fine and everything is still fine today.

I have no idea as to what caused the glitch but I have worked with computers long enough to know that glitches will occur - often for no apparent reason.

So it pays to be vigilant and to have a routine in place for monitoring. Check the Experts tab regularly!
Title: Re: EA Controller
Post by: ianj on May 18, 2017, 04:10:24 AM
This might be of interest as it is related - "The Cold Blood Index" (It's not mine)

http://www.financial-hacker.com/the-cold-blood-index/ (http://www.financial-hacker.com/the-cold-blood-index/)
Title: Re: EA Controller
Post by: diyforexskills on May 18, 2017, 05:13:21 AM
This might be of interest as it is related - "The Cold Blood Index" (It's not mine)

http://www.financial-hacker.com/the-cold-blood-index/ (http://www.financial-hacker.com/the-cold-blood-index/)
Very interesting indeed. Not just for the balance curve management but the whole Zorro software and approach. Opens up a whole new world. Thanks for sharing.
Title: Re: EA Controller
Post by: diyforexskills on May 20, 2017, 06:34:02 AM
Here is another interesting concept in the equity control space.

It comes from Shaun Overton, a bit of a maths nerd, but he has some really interesting products.

The one that caught my attention  is all about an indicator to help you decided when to exit a price trend, and when it might be good to get back in.

Obviously I have asked him if it can be applied to an equity/balance curve of an EA, and he suggests it can. But we have not figured out how as yet. In the meantime we could of course just apply it to our manual trading.

You can read about it here
https://q.onestepremoved.com/indicator/mappz/
Title: Re: EA Controller
Post by: wroeckert on May 20, 2017, 04:41:34 PM
This might be of interest as it is related - "The Cold Blood Index" (It's not mine)

http://www.financial-hacker.com/the-cold-blood-index/ (http://www.financial-hacker.com/the-cold-blood-index/)

Wow, nice Site, have start testing the free Software
Title: Re: EA Controller
Post by: diyforexskills on May 23, 2017, 06:22:53 AM
Here is another interesting concept in the equity control space.

It comes from Shaun Overton, a bit of a maths nerd, but he has some really interesting products.

The one that caught my attention  is all about an indicator to help you decided when to exit a price trend, and when it might be good to get back in.

Obviously I have asked him if it can be applied to an equity/balance curve of an EA, and he suggests it can. But we have not figured out how as yet. In the meantime we could of course just apply it to our manual trading.

You can read about it here
https://q.onestepremoved.com/indicator/mappz/

Following some further discussion with Shaun, and doing some googling, we can actually use the MAPPZ indicator to control our EAs via its equity curve. At least manually at this stage and on auto if and when I create a second version of the EA Controller which uses MAPPZ rather than a MA.

Steps involved are:
1. Create an equity curve of the EA on demo on an offline chart on MT4 using the mqh file and instructions from here https://www.mql5.com/en/code/9343
(note the modification at 17 Feb 2016).

2. Add the MAPPZ indicator to this chart.
When indicator goes above 2, uptrend exhausted, switch off the EA on live account.
When indicator goes back to zero on the demo offline chart, DD or retracement likely to be complete, switch EA on live back on.

To use this method we obviously need to have confidence in our EA. We are letting it run even if it goes into a down trend. Because we expect it to turn profitable again. And when it does, we stop it every time that the profit curve gets overextended as determined by the MAPPZ indicator going above 2. And then wait for a retrace before re-starting.
Title: Re: EA Controller
Post by: diyforexskills on June 08, 2017, 09:31:08 AM
Use of Balance Curve to control Trade Manager

Analysis of performance curves with the Equity Control feature of the Quant Analyser repeatedly shows that adding to the lot size when EA goes into a DD can be beneficial in genertaing larger profits over time. A bit like a martingale type action and works as long as DDs are not continuous.

In order to automate that I have modified the DIY Trade Manager Plus so that it can be controlled by the EA Controller.

So we can now run our EA on a live account with the EA Controller, and then open a second chart of the same pair on which we load the Trade Manager.

While the EA's closed profit is above its MA, the TM is disabled. When the closed profit falls below its MA, the TM is enabled. And with the TM we have several options:

1. Set a scale-in pending order at say 5 pips so that we effectively "increase" the lot size of the next trade. Set SL, TP etc for the scale-in same as on the EA.

2. Set tight SL and/or TP and TS for our EA's trade so that if the DD continues, we will be losing far less.

3. Set a tighter SL (in case the DD continues) but also add the scale-in (in case the trade turns profitable).

This new version of the TM is available on request to existing owners of the TM. Properties are shown below.
http://diytrademanagerplus.com/
Title: Re: EA Controller
Post by: diyforexskills on June 25, 2017, 11:04:10 AM
A new option for Controller with the FX Autotrader Elite

Normally we use the EA Controller to stop trading an EA when it is in DD.

But then it occurred to me that it might be more profitable if instead of stopping the EA from trading during a DD, we get the EA to trade in reverse. ie, a Buy becomes a Sell and a Sell becomes a Buy.

I back tested this idea over a period when the normal EA was in DD and then back tested again with the Reverse Entry set to True on the FX Autotrader Elite EA. Results are shown below. So for this 4 month period, instead of losing around $400 with the normal setting, we would make around $400 by reversing the entry signal.

The way we would accomplish this is as follows.

We place the FXAE EA and EA Controller on the demo platform.

We then place two copies of the EA on the live account. One with normal version of FXAE; the other with the "Controller signal reversed" version of FXAE; and Reverse Entry set to True.
("Controller signal reversed" means that when this FXAE receives a Yes signal from the Controller, it will stop trading. Normally a Yes signal enables trading. And the opposite for a No signal.)

So when Closed Profit on demo is above its MA, the Signal is Yes, and the normal FXAE EA will trade.

When Closed Profit is below its MA (EA in DD), the normal FXAE EA will be stopped from trading and the "Controller signal reverse" FXAE EA will be trading but with Reverse Entry set to true, ie, it will take Buys instead of Sells and Sells instead of Buys.

This special version of the FXAE will be available soon as a free bonus for those who own the Controller and FXAE.
Title: Re: EA Controller
Post by: jwatts7701 on June 25, 2017, 02:46:04 PM
This is pretty interesting, as I so a manual version almost of this. YOu are right in letting the market come to you. What i have lerned to come to terms with, is that EAs, dont "just stop working" as we often tell ourselves. In fact they NEVER stop working, and always do waht they are supposed to do. Its the market that stops working - for them!

I know a lot of complex algo's that track their own internal MA, but when an algo is underperforming, after a period of tiem, wouldn't that be the best time to add it in, if its workign on cycles, and you have enough data to support that it comes back in to play after a serious downturn? Basically what are you looking for as an indicator for it to come back in? That it heads back up towards its MA?

The demo concept is not going to be practical for any EAs which need fast execution, in which copying kills them. For less sensitive ones its not a problem of course.
Title: Re: EA Controller
Post by: wroeckert on June 25, 2017, 09:38:40 PM
Hi, I've been working on a system for a couple of weeks, my EAs are Zamolxis, FRPEA, FXAE EA. The system is controlled by EA Controller, DIY Trade Manager Plus and FXBlue TradeCopier. Zamolxis had lost the last weeks. But the EA controller has saved me from loss. I have gains through the reverse function of the TradeCopier. I will also use the reverse function of FXAE EA. My proplem is, I need a stronger computer and more memory. And still a few weeks time for tests. The idea I had when the EA Controller came onto the market. How strong should a computer be connected for 5 terminals through Tradecopier and 30 EAs?
Title: Re: EA Controller
Post by: diyforexskills on June 26, 2017, 05:40:11 AM
This is pretty interesting, as I so a manual version almost of this. YOu are right in letting the market come to you. What i have lerned to come to terms with, is that EAs, dont "just stop working" as we often tell ourselves. In fact they NEVER stop working, and always do waht they are supposed to do. Its the market that stops working - for them!

I know a lot of complex algo's that track their own internal MA, but when an algo is underperforming, after a period of tiem, wouldn't that be the best time to add it in, if its workign on cycles, and you have enough data to support that it comes back in to play after a serious downturn? Basically what are you looking for as an indicator for it to come back in? That it heads back up towards its MA?

The demo concept is not going to be practical for any EAs which need fast execution, in which copying kills them. For less sensitive ones its not a problem of course.

Yes, what we should say is that the EA has stopped working , the way I want it too! ie make money.  :-)

As to your question, yes when closed profit from the EA rises back above its own MA, then EA is activated again. It is disabled when the closed profit falls below its own MA. But what I am now going to do effectively, is just reverse the trade when closed profit falls below its MA instead of disabling it. So the EA will be running all the time - sometimes on normal mode, sometimes on reverse entry mode.
(Due to limitations of the communication technology between the Controller and FXAE EA, ie we cannot alter a setting we can only switch on or off, we have to do that using the two copies of the EA as I described in my previous Post).

Agree that Copier mode is probably not suitable for fast execution EAs. With FXAE EAs (which could be set to be a fast execution scalper) that is not an issue since we don't need to use a Copier - the Controller on the demo connects directly to the EA on the live account and the signal only occurs after a trade is closed to either switch the FXAE on or off as required in readiness for the next trade opportunity.
Title: Re: EA Controller
Post by: diyforexskills on June 26, 2017, 05:55:44 AM
Hi, I've been working on a system for a couple of weeks, my EAs are Zamolxis, FRPEA, FXAE EA. The system is controlled by EA Controller, DIY Trade Manager Plus and FXBlue TradeCopier. Zamolxis had lost the last weeks. But the EA controller has saved me from loss. I have gains through the reverse function of the TradeCopier. I will also use the reverse function of FXAE EA. My proplem is, I need a stronger computer and more memory. And still a few weeks time for tests. The idea I had when the EA Controller came onto the market. How strong should a computer be connected for 5 terminals through Tradecopier and 30 EAs?

Hopefully Chris will answer your computer requirement question. But if you have not already done so, there are ways to reduce computing requirements for your MT4s
http://4xtrader.net/simple-tips-to-reduce-mt4-memory-use/

Nice to hear you are using the reverse feature on the Copier. I assume you are doing that manually now? I think that I should be able to get a Controller version with signal reversed. So you could then use the two Controllers with different ID#s, one linked to one copy of the Copier, normal, and one to a second copy of the Copier in which you have set the trades to be reversed. The first would be active when closed profit is above MA and the second would be active when the closed profit is below its MA.
Title: Re: EA Controller
Post by: wroeckert on June 26, 2017, 09:04:01 AM
Hi, I've been working on a system for a couple of weeks, my EAs are Zamolxis, FRPEA, FXAE EA. The system is controlled by EA Controller, DIY Trade Manager Plus and FXBlue TradeCopier. Zamolxis had lost the last weeks. But the EA controller has saved me from loss. I have gains through the reverse function of the TradeCopier. I will also use the reverse function of FXAE EA. My proplem is, I need a stronger computer and more memory. And still a few weeks time for tests. The idea I had when the EA Controller came onto the market. How strong should a computer be connected for 5 terminals through Tradecopier and 30 EAs?

Hopefully Chris will answer your computer requirement question. But if you have not already done so, there are ways to reduce computing requirements for your MT4s
http://4xtrader.net/simple-tips-to-reduce-mt4-memory-use/

Nice to hear you are using the reverse feature on the Copier. I assume you are doing that manually now? I think that I should be able to get a Controller version with signal reversed. So you could then use the two Controllers with different ID#s, one linked to one copy of the Copier, normal, and one to a second copy of the Copier in which you have set the trades to be reversed. The first would be active when closed profit is above MA and the second would be active when the closed profit is below its MA.

Yes, if the controller has a reverse function, the whole is better adjustable.
Now I use 2 DemoTerminal, one with short period for normal trades and long period in controller for reverse trades linked to tradeanager with small SL in live terminal. Since I also use the reverse function in the copier
Title: Re: EA Controller
Post by: diyforexskills on June 26, 2017, 10:41:37 AM
Hi, I've been working on a system for a couple of weeks, my EAs are Zamolxis, FRPEA, FXAE EA. The system is controlled by EA Controller, DIY Trade Manager Plus and FXBlue TradeCopier. Zamolxis had lost the last weeks. But the EA controller has saved me from loss. I have gains through the reverse function of the TradeCopier. I will also use the reverse function of FXAE EA. My proplem is, I need a stronger computer and more memory. And still a few weeks time for tests. The idea I had when the EA Controller came onto the market. How strong should a computer be connected for 5 terminals through Tradecopier and 30 EAs?

Hopefully Chris will answer your computer requirement question. But if you have not already done so, there are ways to reduce computing requirements for your MT4s
http://4xtrader.net/simple-tips-to-reduce-mt4-memory-use/

Nice to hear you are using the reverse feature on the Copier. I assume you are doing that manually now? I think that I should be able to get a Controller version with signal reversed. So you could then use the two Controllers with different ID#s, one linked to one copy of the Copier, normal, and one to a second copy of the Copier in which you have set the trades to be reversed. The first would be active when closed profit is above MA and the second would be active when the closed profit is below its MA.

Yes, if the controller has a reverse function, the whole is better adjustable.
Now I use 2 DemoTerminal, one with short period for normal trades and long period in controller for reverse trades linked to tradeanager with small SL in live terminal. Since I also use the reverse function in the copier

Thanks to my generous coder, http://www.ervent.net/index.php#tools , this feature will be available in a few days to all owners of the EA Controller. Now I just need to write some clear and simple instructions on how to use this new feature in conjunction with the Trade Copier. Quite straightforward with FXAE EAs with V48d (also to be made available soon) having a simple Reverse Signal true/false option.
Title: Re: EA Controller
Post by: wroeckert on June 26, 2017, 11:31:13 AM
Hi, I've been working on a system for a couple of weeks, my EAs are Zamolxis, FRPEA, FXAE EA. The system is controlled by EA Controller, DIY Trade Manager Plus and FXBlue TradeCopier. Zamolxis had lost the last weeks. But the EA controller has saved me from loss. I have gains through the reverse function of the TradeCopier. I will also use the reverse function of FXAE EA. My proplem is, I need a stronger computer and more memory. And still a few weeks time for tests. The idea I had when the EA Controller came onto the market. How strong should a computer be connected for 5 terminals through Tradecopier and 30 EAs?



Hopefully Chris will answer your computer requirement question. But if you have not already done so, there are ways to reduce computing requirements for your MT4s
http://4xtrader.net/simple-tips-to-reduce-mt4-memory-use/

Nice to hear you are using the reverse feature on the Copier. I assume you are doing that manually now? I think that I should be able to get a Controller version with signal reversed. So you could then use the two Controllers with different ID#s, one linked to one copy of the Copier, normal, and one to a second copy of the Copier in which you have set the trades to be reversed. The first would be active when closed profit is above MA and the second would be active when the closed profit is below its MA.

Yes, if the controller has a reverse function, the whole is better adjustable.
Now I use 2 DemoTerminal, one with short period for normal trades and long period in controller for reverse trades linked to tradeanager with small SL in live terminal. Since I also use the reverse function in the copier

Thanks to my generous coder, http://www.ervent.net/index.php#tools , this feature will be available in a few days to all owners of the EA Controller. Now I just need to write some clear and simple instructions on how to use this new feature in conjunction with the Trade Copier. Quite straightforward with FXAE EAs with V48d (also to be made available soon) having a simple Reverse Signal true/false option.

Great  :)
Title: Re: EA Controller
Post by: jwatts7701 on June 26, 2017, 07:35:02 PM
DIY, is it possible to just get notification of the EA under performing on the demo, then we can manually turn it on or off on the live? Instead of copying? Or is the copying piece forced?
Title: Re: EA Controller
Post by: diyforexskills on June 27, 2017, 02:54:17 AM
DIY, is it possible to just get notification of the EA under performing on the demo, then we can manually turn it on or off on the live? Instead of copying? Or is the copying piece forced?

Yes that is possible. Just place the Controller on the demo chart and then enter the settings as required (magic, MA properties) EXCEPT for:
1. Do NOT select a Signal mode (You will get a constant stream of Message Failed notices in the Experts folder if you do select a mode - Signal or Copier)
2. Leave ID# field blank

The Controller then essentially becomes just an on-chart performance monitor.

If you have a good deal of history for the EA on your live account, you can also place the Controller on the live chart with settings as described above, and then optimise the MA settings for that EA's performance curve. And then use those settings on the demo chart for the purpose of deciding when to stop and when to restart the EA on live account.
Title: Re: EA Controller
Post by: wroeckert on June 30, 2017, 06:53:35 PM
Hello, i install now the new EA Controller in the System, what you think about if i use different Period? as Sample, the normal Controller with 30 and the reverse with 34 ? if DD starts , then the reverse wait 4 trades to start , if DD ends , the normal Controller start and trade 4 times together with the reverse Controller. Can this Idea work so?

regards Roeckert
Title: Re: EA Controller
Post by: diyforexskills on July 01, 2017, 05:54:55 AM
Hello, i install now the new EA Controller in the System, what you think about if i use different Period? as Sample, the normal Controller with 30 and the reverse with 34 ? if DD starts , then the reverse wait 4 trades to start , if DD ends , the normal Controller start and trade 4 times together with the reverse Controller. Can this Idea work so?

regards Roeckert

Interesting idea. From a technical standpoint that would work - the Controllers are independently linked to their respective EAs or Copier so we can have different MA settings.

The other option of course is to have the Reverse start earlier than the normal so that both are running in the early stages of a DD; and then the Reverse will be stopped sooner as the EA goes into uptrend.

Either way, you can also change the MA value at any time during a DD. Eg start with later entry for Reverse (MA34 rather than 30) but then at some stage set a quicker exit for Reverse (MA26 instead of 30).

I have no idea what would work best. Depends on how the market dynamics change. But now that you have floated the idea I am going to try the Reverse earlier setting with one of my EAs.
Title: Re: EA Controller
Post by: wroeckert on July 11, 2017, 06:25:43 PM
Hello, i install now the new EA Controller in the System, what you think about if i use different Period? as Sample, the normal Controller with 30 and the reverse with 34 ? if DD starts , then the reverse wait 4 trades to start , if DD ends , the normal Controller start and trade 4 times together with the reverse Controller. Can this Idea work so?

regards Roeckert

Interesting idea. From a technical standpoint that would work - the Controllers are independently linked to their respective EAs or Copier so we can have different MA settings.

The other option of course is to have the Reverse start earlier than the normal so that both are running in the early stages of a DD; and then the Reverse will be stopped sooner as the EA goes into uptrend.

Either way, you can also change the MA value at any time during a DD. Eg start with later entry for Reverse (MA34 rather than 30) but then at some stage set a quicker exit for Reverse (MA26 instead of 30).

I have no idea what would work best. Depends on how the market dynamics change. But now that you have floated the idea I am going to try the Reverse earlier setting with one of my EAs.

Hmm, i forget, i think we need a other Magicnumber for the reverse !?
Title: Re: EA Controller
Post by: diyforexskills on July 12, 2017, 12:45:02 AM

Hello, i install now the new EA Controller in the System, what you think about if i use different Period? as Sample, the normal Controller with 30 and the reverse with 34 ? if DD starts , then the reverse wait 4 trades to start , if DD ends , the normal Controller start and trade 4 times together with the reverse Controller. Can this Idea work so?

regards Roeckert

Interesting idea. From a technical standpoint that would work - the Controllers are independently linked to their respective EAs or Copier so we can have different MA settings.

The other option of course is to have the Reverse start earlier than the normal so that both are running in the early stages of a DD; and then the Reverse will be stopped sooner as the EA goes into uptrend.

Either way, you can also change the MA value at any time during a DD. Eg start with later entry for Reverse (MA34 rather than 30) but then at some stage set a quicker exit for Reverse (MA26 instead of 30).

I have no idea what would work best. Depends on how the market dynamics change. But now that you have floated the idea I am going to try the Reverse earlier setting with one of my EAs.

Hmm, i forget, i think we need a other Magicnumber for the reverse !?

Ah yes, since you will have the two versions running at the same time every now and then. In my numbering convention for magics I add a 9 to the front of the magic for a strategy with trade entry reversed. An 8 if I make a version to only take Buys and a 7 for Sells only.
That way I can always analyse the performance of strategy variants that I might use from time to time.

Let me know how you go with this setup. I can then add the idea to the next version of the User Guide.
Title: Re: EA Controller
Post by: wroeckert on July 12, 2017, 06:41:37 AM

Hello, i install now the new EA Controller in the System, what you think about if i use different Period? as Sample, the normal Controller with 30 and the reverse with 34 ? if DD starts , then the reverse wait 4 trades to start , if DD ends , the normal Controller start and trade 4 times together with the reverse Controller. Can this Idea work so?

regards Roeckert

Interesting idea. From a technical standpoint that would work - the Controllers are independently linked to their respective EAs or Copier so we can have different MA settings.

The other option of course is to have the Reverse start earlier than the normal so that both are running in the early stages of a DD; and then the Reverse will be stopped sooner as the EA goes into uptrend.

Either way, you can also change the MA value at any time during a DD. Eg start with later entry for Reverse (MA34 rather than 30) but then at some stage set a quicker exit for Reverse (MA26 instead of 30).

I have no idea what would work best. Depends on how the market dynamics change. But now that you have floated the idea I am going to try the Reverse earlier setting with one of my EAs.

Hmm, i forget, i think we need a other Magicnumber for the reverse !?

Ah yes, since you will have the two versions running at the same time every now and then. In my numbering convention for magics I add a 9 to the front of the magic for a strategy with trade entry reversed. An 8 if I make a version to only take Buys and a 7 for Sells only.
That way I can always analyse the performance of strategy variants that I might use from time to time.

Let me know how you go with this setup. I can then add the idea to the next version of the User Guide.

Good idea, Thank you, i will finish the setup today.
 Have some more questions about fx11.
 If i need Fixed lots, is the entry for initial lot risk 0 ? and must i setup the same in the sender and reciever or only in sender?

Title: Re: EA Controller
Post by: diyforexskills on July 12, 2017, 07:10:08 AM
First set Lot Size Selection to Fixed lots from the dropdown menu. %Risk setting will be disabled. And then enter lot size.

Unless you want different lot sizes to be copied, why not just set LotSizeMultiplier to 1 in both Sender and Receiver.

And thinking further, the LotSizeMultiplier feature is a nice way to vary the lot size between normal and reversed if you were so inclined. Don't forget that you can access the FX Blue Trade Copier Online Manual from here https://www.fxblue.com/appstore/u2/mt4-personal-trade-copier/user-guide
Title: Re: EA Controller
Post by: wroeckert on July 12, 2017, 08:12:00 AM
First set Lot Size Selection to Fixed lots from the dropdown menu. %Risk setting will be disabled. And then enter lot size.

Unless you want different lot sizes to be copied, why not just set LotSizeMultiplier to 1 in both Sender and Receiver.

And thinking further, the LotSizeMultiplier feature is a nice way to vary the lot size between normal and reversed if you were so inclined. Don't forget that you can access the FX Blue Trade Copier Online Manual from here https://www.fxblue.com/appstore/u2/mt4-personal-trade-copier/user-guide

thank you, Was just to clarify.  I use also the fx11 (great results) with the copier for the reverse Trades. No proplem there. But always must wait for the trades ( forward test) to see how it works. Unfortunately there is no backtest possible.

My other proplem is the mt4/ hardware, sometimes lost the key in the EAs, sometimes changes the Period.

But i see the System works great with the EA Controller, also with your Trademanager, i have testet them with my first system. I add them later to my new system but first must my system run perfect.

Currently I have a BUY trade on demo FX11 GBPUSD with loss, but on LIVE a SELL trade in profit!
Title: Re: EA Controller
Post by: diyforexskills on July 12, 2017, 08:23:13 AM
First set Lot Size Selection to Fixed lots from the dropdown menu. %Risk setting will be disabled. And then enter lot size.

Unless you want different lot sizes to be copied, why not just set LotSizeMultiplier to 1 in both Sender and Receiver.

And thinking further, the LotSizeMultiplier feature is a nice way to vary the lot size between normal and reversed if you were so inclined. Don't forget that you can access the FX Blue Trade Copier Online Manual from here https://www.fxblue.com/appstore/u2/mt4-personal-trade-copier/user-guide

thank you, Was just to clarify.  I use also the fx11 (great results) with the copier for the reverse Trades. No proplem there. But always must wait for the trades ( forward test) to see how it works. Unfortunately there is no backtest possible.

My other proplem is the mt4/ hardware, sometimes lost the key in the EAs, sometimes changes the Period.

But i see the System works great with the EA Controller, also with your Trademanager, i have testet them with my first system. I add them later to my new system but first must my system run perfect.

Great. Remember that the FX11 series, unlike the FX50, has an inbuilt lot size increaser after a losing trade. Eg goes from 0.02 to 0.03 to 0,05 to 0.08 upon successive losses; and then restarts. So if DD signal is triggered after a third loss (lot size 0.05 in this example) and reverse now starts trading it will start at a 0.02 lot size. Not necessarily a problem, just need to be aware.
Title: Re: EA Controller
Post by: diyforexskills on July 16, 2017, 09:05:47 AM
Another Option to Improve Performance

In previous Posts we have described using the Controller to either switch off the live EA when demo EA is in DD, or to trigger a second copy of the EA on the live account, one whose trade entry settings have been reversed. In this latter approach, we again have two options. Either have both normal and reversed EAs running (thus yielding a net zero result or thereabouts) or just have the reverse running. All these examples however requires us to run two MT4s - one on demo, one on live.

The other option that comes to mind is to run the two EAs, one normal, one reversed, both on the live account. To the normal EA we add the Controller and enter the appropriate settings. When the normal EA is in uptrend it will be the only EA that is trading, profitably. When the normal EA goes into DD, it will signal the reverse EA to also start trading, thus minimizing the overall losses on the account. The normal EA will be losing; the reverse EA will be winning. So we have neutralized the DD.

Not as good as having the two trade profitably alternately, but does mean we now only need to run EAs on the one, live account.
Title: Re: EA Controller
Post by: wroeckert on July 16, 2017, 07:36:51 PM
Another Option to Improve Performance

In previous Posts we have described using the Controller to either switch off the live EA when demo EA is in DD, or to trigger a second copy of the EA on the live account, one whose trade entry settings have been reversed. In this latter approach, we again have two options. Either have both normal and reversed EAs running (thus yielding a net zero result or thereabouts) or just have the reverse running. All these examples however requires us to run two MT4s - one on demo, one on live.

The other option that comes to mind is to run the two EAs, one normal, one reversed, both on the live account. To the normal EA we add the Controller and enter the appropriate settings. When the normal EA is in uptrend it will be the only EA that is trading, profitably. When the normal EA goes into DD, it will signal the reverse EA to also start trading, thus minimizing the overall losses on the account. The normal EA will be losing; the reverse EA will be winning. So we have neutralized the DD.

Not as good as having the two trade profitably alternately, but does mean we now only need to run EAs on the one, live account.

The controller is very flexible to use, to reduce the DD and increase the profit
Title: Re: EA Controller
Post by: wroeckert on July 18, 2017, 04:01:37 PM
Good results, i use Controller for different EAs in normal and Reverse mode.
Get some reverse Trades with Profit and some Hedge Trades with small Profit instead of a loss. I use trade at Start false, then works.

Great results, Hope it becomes a self-regulating system
Title: Re: EA Controller
Post by: diyforexskills on July 22, 2017, 07:18:51 AM
In Reply #125 I wrote:
"The other option that comes to mind is to run the two EAs, one normal, one reversed, both on the live account. To the normal EA we add the Controller and enter the appropriate settings. When the normal EA is in uptrend it will be the only EA that is trading, profitably. When the normal EA goes into DD, it will signal the reverse EA to also start trading, thus minimizing the overall losses on the account. The normal EA will be losing; the reverse EA will be winning. So we have neutralized the DD."

Have now tested this successfully with FXAE 48 2310 EA. The normal version of the EA was in DD so the Reversed EA was activated by the Controller.
As it turns out the last two trades appear to be the start of a renewed uptrend in performance, and so in this case the two reversed trades closed at a loss while the normal trades closed in profit. Pls see image below.
But still with a small net gain since the TPs were larger than the SLs with this EA.
However, if the DD had continued, the reversed EA would have covered most of the losses from the normal EA. So a good insurance option.
Title: Re: EA Controller
Post by: diyforexskills on August 01, 2017, 01:01:34 AM
Brief update on the previous Post.

Have now had three more trades on the USDCHF while it is in DD.
The normal EA had one win and two losses during this period; the Reversed entry EA had two wins and one loss.

So instead of losing about $104 on the three normal EA trades in DD, we have come out about net zero with the three reversed entry version EA making $107 during this same period.

We could of course also have had the Controller closing the normal EA during this DD period and only have the Reversed Entry version running. In that case we would have been $107 ahead. But this method requires running the EAs on both demo and live simultaneously, since we need a continuously running EA to monitor the performance of the EA from DD to uptrend ( or should we call that a Draw Up) :-)

This current example is where we use the Controller with EAs running only on the live account. The normal EA runs all the time; the reversed entry EA runs only during normal EA DDs in order to offset the losses from the normal EA during these DD periods.
Title: Re: EA Controller
Post by: Nadir on August 11, 2017, 10:41:30 AM
Only from reading the last pages my head is almost done for the day  ;D

What happened to the forex diamond and wallstreet testing approach? It was mentioned here and there but I never succeeded in finding some myfxbooks.

I feel like we definitely need more myfxbook like donnas.

It feels like we basically make a currency curve out of the close profit curve. And then we can apply MA, SMMA and whatever on it and try to forecast a positive trend. "Forex" trading on the profit curve of a bot. lol. This is actually genius. But I see a problem, that maybe, just putting MAs on a currency curve is way too simple, I don't think one of the profitable EAs is only using MA for judging a good entry point. Same with the Close Profit curve, maybe just applying some MA is simply by far not enough. How I see it, we might need EAs for trading the profit curve of another EA. (That EA would then give "true" signals to the actual trading EA and it would trade). Then we could even make a binary curve out of those true-false-signals and apply filters on it again  ;D

Ok I might have lost my readers here. Anyway what I simply wanted to say is that it would be cool to get more myfxbooks, preferably with known bots like wally. Maybe it is already there and I haven't found.
Title: Re: EA Controller
Post by: diyforexskills on August 12, 2017, 05:18:58 AM
Only from reading the last pages my head is almost done for the day  ;D

What happened to the forex diamond and wallstreet testing approach? It was mentioned here and there but I never succeeded in finding some myfxbooks.

I feel like we definitely need more myfxbook like donnas.

It feels like we basically make a currency curve out of the close profit curve. And then we can apply MA, SMMA and whatever on it and try to forecast a positive trend. "Forex" trading on the profit curve of a bot. lol. This is actually genius. But I see a problem, that maybe, just putting MAs on a currency curve is way too simple, I don't think one of the profitable EAs is only using MA for judging a good entry point. Same with the Close Profit curve, maybe just applying some MA is simply by far not enough. How I see it, we might need EAs for trading the profit curve of another EA. (That EA would then give "true" signals to the actual trading EA and it would trade). Then we could even make a binary curve out of those true-false-signals and apply filters on it again  ;D

Ok I might have lost my readers here. Anyway what I simply wanted to say is that it would be cool to get more myfxbooks, preferably with known bots like wally. Maybe it is already there and I haven't found.

Hi Nadir
Your head might be spinning; but my back is killing me, so just a short response.
The offer to test the Controller on Wally etc by a DF member was withdrawn because he had too much on his plate already.
I am busy testing different ways of using the Controller, eg as per my last few Posts. And managing a set of strategies which are currently running live and which will be made public later this year on myfxbook and as a signal service in conjunction with a finance company. So far after 6 weeks, achieving 7% pm but let's see what the current geopolitical shenanigans will do to the FX market.

PS I am also thinking of using a MA crossover for monitoring performance by the Controller. Would help to reduce chop I think. My product offerings (Controller, Autotrader and Trade Manager) are all tools; for traders to construct their own trading systems. As opposed to shrink-wrapped optimised EAs. Hence the title DIY!  :-)

Cheers
Title: Re: EA Controller
Post by: wroeckert on August 13, 2017, 05:08:44 PM
Only from reading the last pages my head is almost done for the day  ;D

What happened to the forex diamond and wallstreet testing approach? It was mentioned here and there but I never succeeded in finding some myfxbooks.

I feel like we definitely need more myfxbook like donnas.

It feels like we basically make a currency curve out of the close profit curve. And then we can apply MA, SMMA and whatever on it and try to forecast a positive trend. "Forex" trading on the profit curve of a bot. lol. This is actually genius. But I see a problem, that maybe, just putting MAs on a currency curve is way too simple, I don't think one of the profitable EAs is only using MA for judging a good entry point. Same with the Close Profit curve, maybe just applying some MA is simply by far not enough. How I see it, we might need EAs for trading the profit curve of another EA. (That EA would then give "true" signals to the actual trading EA and it would trade). Then we could even make a binary curve out of those true-false-signals and apply filters on it again  ;D

Ok I might have lost my readers here. Anyway what I simply wanted to say is that it would be cool to get more myfxbooks, preferably with known bots like wally. Maybe it is already there and I haven't found.

Hi Nadir
Your head might be spinning; but my back is killing me, so just a short response.
The offer to test the Controller on Wally etc by a DF member was withdrawn because he had too much on his plate already.
I am busy testing different ways of using the Controller, eg as per my last few Posts. And managing a set of strategies which are currently running live and which will be made public later this year on myfxbook and as a signal service in conjunction with a finance company. So far after 6 weeks, achieving 7% pm but let's see what the current geopolitical shenanigans will do to the FX market.

PS I am also thinking of using a MA crossover for monitoring performance by the Controller. Would help to reduce chop I think. My product offerings (Controller, Autotrader and Trade Manager) are all tools; for traders to construct their own trading systems. As opposed to shrink-wrapped optimised EAs. Hence the title DIY!  :-)

Cheers

Hello, i use the Controller on a lot on different Strategies , the FX11 EAs, Zamolxis and ForexRealProfit EA with 5*6 Strategies. You need for different Settings and Tests for any Strategie. The tests needs some Weeks and Month. Sometimes change the settings and add new Idea, like the reverse Trade  i can say it works and prefent me from some losses .

If you have some EAs , test them with the Controller and search your best settings.



Title: Re: EA Controller
Post by: diyforexskills on August 15, 2017, 03:20:18 AM
Yes, as per previous Reply, using the Controller profitably does require testing, and forward tests do take time unfortunately. But that is really the only way to test.
Alternatively, at least for starters, you can back test the normal EA and then if the EA has a reverse trade entry feature like the Autotrader EAs, you can back test that version for the periods in your BT that showed the normal EA in DD. If the reverse EA is profitable during those periods, then using the Controller makes sense.

I now have two months of forward demo test with the FXAE 2310 USDCHF that I have posted on before. During this period the EA was largely in DD and I had the Controller switch on the reversed EA as well during the DD periods, as per my previous Posts.
The results are shown in the image and show how we were able to reduce net (Combined) DD, compared to DD on Normal, and how we have been net profitable for a few weeks now rather than still pulling out of DD with the normal EA.

So in this example of using the Controller (and it is just one of many ways of using the Controller), we leave the normal EA running all the time and have the reversed entry EA switched on when normal EA is in DD. So sometimes we have two EAs running at the same time, with the only difference being that the second one has reversed trade entries. And we do this on the same MT4 - just use two charts.
Title: Re: EA Controller
Post by: diyforexskills on September 27, 2017, 05:40:39 AM
Another way of using the EA Controller
http://exceptionalfx.com/ea-controller/

As we have said before there are many ways of using the EA Controller to improve an EAs performance by matching it to current market conditions. In this new trial I am doing the following, all on the same MT4 account (the traditional use of the Controller is to run the Controller across two accounts, a demo and a live):

1. The normal version of the EA is set to trade 0.01 lot, the minimum possible. This version will run all the time and it will host two copies of the EA Controller. The Controller measures the Closed Profit relative to the MA of Closed Profit. When Closed Profit is above its MA it means that market conditions are suitable for the EA and the EA is profitable, ie, performance is in uptrend. When Closed Profit falls below its own MA, market conditions are not suitable and the EA is in DD.

2. The same version of the EA, the normal one, is run on a second chart and trading 0.04 lots.  It is linked to the first copy of the Controller. This copy allows the EA on this second chart to run when the EA is in uptrend, favourable market conditions.

3. On a third chart, we run the same EA but with entry direction reversed (a simple change in setting on all EAs made with the FX Autotrader Elite (http://www.fxautotraderelite.com/ )
With this reversed EA we trade 0.05 lots. This EA is triggered when the second copy of the Controller on the first chart indicates that Closed Profit is below its own MA. That is, market conditions are NOT favourable and the normal EA is in DD.

So when the market is favourable we have a total of 0.05 lots of normal EA being traded (0.01 + 0.04).
When the market is unfavourable we have a net of 0.04 lots being traded by the reversed EA (0.05 reverse - 0.01 normal).

TP and SL have different pip values and the EA has a BE setting; hence there are times when both versions finish in profit. And sometimes MT4 misses one of the trades due to whatever glitch.

At this stage, the Controller MA is set to "period" 5 and Trade at Start is set to true; hence until the sixth trade on the Controller chart is closed, all three copies of the EA will be trading. After that it will depend on whether Closed Profit is above or below its MA as to whether the second normal EA or the reverse EA will be trading. The first normal EA, 0.01 lot will trade all the time.

You can follow the fortunes of this approach on my FX Blue link https://www.fxblue.com/users/sydapaxi2016demo2
Just set the filter conditions as shown on the image below (Start date 25 Sep 2017 and Symbol usdchf), and you will avoid all the other "junk" that is on that "having fun" demo account.


 
Title: Re: EA Controller
Post by: diyforexskills on September 30, 2017, 01:20:01 PM
Progress with experiment described in previous Post

The Controller chart missed one trade but it has now completed 5 trades and so the controlling feature will be active once the open trades are closed. This is shown in the chart image below.

The LH chart trades the 0.01 lot and has the two copies of the Controller. Since we have completed 5 trades, and closed profit for the normal entry EA is less than its MA 5 (red line below blue line), the signal to the second, normal entry EA, is now NO and hence once the current trade is completed, this chart, the middle one trading 0.04 lots, will not trade again until closed profit moves above its MA 5 on the LH (Controller) chart.

The Signal to the RH chart (which trades the reverse entry version of the EA) however is YES because the Controller for this one has been set to Reverse Signal is true. So from now on, since the normal EA trading just 0.01 lot is in DD, only the reverse entry EA, trading 0.05 lot, will also be active during this DD.

The second image shows the closed orders to date. A net loss but it does show that when the normal entry EA is in DD, ie loses, the reverse entry EA makes profits.
Title: Re: EA Controller
Post by: diyforexskills on October 11, 2017, 04:03:56 AM
Not there yet but a few lessons...

Two weeks of trading and 10 Initial normal entry trades.
I have now reset the MA to 10 (previously 5) and we can see that the EA with normal entry is in a downtrend.
Hence at the same time the reverse entry version of the EA has been trading, and since we have the re-entry feature engaged, it has actually made 12 trades, and is in profit.
Unfortunately we had set Trade at Start to True so for the first little while the normal entry version with larger lot size also traded, creating a loss. But this version is now prevented from trading by the Controller, while the normal EA remains in downtrend.
So net we are still in a loss but closing the gap even though market conditions are not favourable for this strategy at the moment. And that is because we are running the EA as a system with the Controller; alternating between normal entry and reverse entry as dictated by the market.
(if you are reading this thread for the first time, you will need to read the previous two Posts to make sense of my rambling Post today!)
Title: Re: EA Controller
Post by: diyforexskills on October 14, 2017, 07:10:31 AM
The concept is working

The normal entry EA is still in downtrend and has now lost nearly $40 trading 0.01 lot.
However the Controller has had the reverse entry version of the EA switched on during this time, and so trading 0.05 lot, this version is now $67 in profit.  So on this basis the system is $37 in net profit (67 - 40).
When the market dynamics change and the normal entry version goes into uptrend, the reverse entry version will be switched off by the Controller, and the second normal entry version trading 0.04 lot, will be switched on to add to the profits during that market phase.

But for that we have to wait. The market has a mind of its own. We just need to work with it, and not try to outguess what it will do. That is the whole point of this experiment.
Title: Re: EA Controller
Post by: Trunk on October 16, 2017, 08:15:13 AM
The concept is working

The normal entry EA is still in downtrend and has now lost nearly $40 trading 0.01 lot.
However the Controller has had the reverse entry version of the EA switched on during this time, and so trading 0.05 lot, this version is now $67 in profit.  So on this basis the system is $37 in net profit (67 - 40).
When the market dynamics change and the normal entry version goes into uptrend, the reverse entry version will be switched off by the Controller, and the second normal entry version trading 0.04 lot, will be switched on to add to the profits during that market phase.

But for that we have to wait. The market has a mind of its own. We just need to work with it, and not try to outguess what it will do. That is the whole point of this experiment.

Oh to cover loss it needs to ramp up risks, increasing lot size. Not a good behavior for an EA, risk management sucks...
And is there demo version? Can I run it on Hotforex platform for some days?
Title: Re: EA Controller
Post by: diyforexskills on October 16, 2017, 09:46:52 AM
The concept is working

The normal entry EA is still in downtrend and has now lost nearly $40 trading 0.01 lot.
However the Controller has had the reverse entry version of the EA switched on during this time, and so trading 0.05 lot, this version is now $67 in profit.  So on this basis the system is $37 in net profit (67 - 40).
When the market dynamics change and the normal entry version goes into uptrend, the reverse entry version will be switched off by the Controller, and the second normal entry version trading 0.04 lot, will be switched on to add to the profits during that market phase.

But for that we have to wait. The market has a mind of its own. We just need to work with it, and not try to outguess what it will do. That is the whole point of this experiment.

Oh to cover loss it needs to ramp up risks, increasing lot size. Not a good behavior for an EA, risk management sucks...
And is there demo version? Can I run it on Hotforex platform for some days?

Hi, I think you may have misunderstood what is going on in this experiment. We are not ramping up risk; if anything we are reducing risk.
The normal entry version trading at 0.01 lot trades all the time at 0.01 lot - we need it to do that so that we can see whether or not market conditions are favourable for the EA's strategy.
When this EA is in downtrend, as it is now, a reverse entry version is initiated at 0.05 lot. Or we could call it a counter trade version. A Buy becomes a Sell and a Sell becomes a Buy.
I have chosen 0.05 lot since with SL of 50 pips, such a trade would represent a 2.5% risk on a $1K account. I am actually trading on a $5K account (so 0.5% risk) but with other EAs running as well.

When the normal 0.01 lot EA goes into uptrend, ie market conditions have become favourable, the reverse EA will be closed down, and an extra 0.04 lot of normal EA will be triggered bringing the total to 0.05 lot when EA is in uptrend.

So we are not increasing risk. We just switch between normal and reverse entry/counter trade as dictated by market dynamics.

Yes the system can run on any MT4 broker; but I want to run this trial for at least two months so that hopefully we can also see the switch from downtrend to uptrend; that would mean the reverse entry EA (0.05 lot) being switched off and the normal entry version (0.04 lot) being switched on.

The turning period from downtrend performance to uptrend performance will be interesting to watch and is the period most likely when the system might lose a little.

Thanks for your interest. I will post here when I have finalised a package for demo testing.
Title: Re: EA Controller
Post by: diyforexskills on October 21, 2017, 04:31:54 AM
After 4 weeks...

The system as described in Post on 27 Sep, is in profit after 4 weeks. So although the EA being tested is in downtrend, by running it with this system using the EA Controller, we are in profit thanks to the reverse/counter entry version of the EA being brought into play during this downtrend.
http://exceptionalfx.com/ea-controller/

As shown in various ways in the images below.

But I am still nervous about the long term outcome which led me to do some simulated backtests odf the system with another EA. The current EA has a nominal 1.2:1 reward to risk ratio (TP 60, SL 50) but the BE and TS features means that on average the ratio will be less. This is borne out by some longer term data (4 months) that I have for this EA which shows that even with a 60% win ratio, the EA can still be in downtrend, ie lose money. The normal version  EA for this test currently has a 44% win ratio; the reverse entry has a 76% win ratio. Hence the system is winning.

Testing with a true, say 2:1 reward:risk ratio EA, should show different/better results over the long term.

This has also led me to think that maybe I should make a version of the EA Controller based on %win calculation rather than MA of performance.
Then if we had an EA with a 1:1 reward to risk ratio, we would trigger a normal version when the main EA has a %win > 60, and we would trigger a reverse entry version when %win drops below 40%. After all with a 1:1 risk:reward, a 50%win ratio would result in the same outcomes for both the normal and reverse entry versions. And between 40 and 60% the performance would probably be flat-lining.
However if we have a 2:1 reward:risk ratio EA, then we would trigger a normal version above say 35 to 40%win ratio (still profitable) and only trigger the reverse entry version when %win drops below say 30 to 25%.

Comments, suggestions welcome.
Title: Re: EA Controller
Post by: diyforexskills on October 25, 2017, 12:13:58 AM
Moving into uptrend

The balance/closed profit of the EA has closed just above its MA 10, and so now the reverse entry version of the EA has been switched off, and the normal entry, 0.04 lot version has been switched on and a trade initiated. Let's see how that goes; will the uptrend last for a while or is this just a false signal?

In the meantime, since start at 25 September, our EA has been in downtrend losing some $35 but this has been more than offset by the reverse entry version returning a profit of nearly $70. So even during a downtrend we have made $35 profit with this system. Let's see if we can keep this up.
Title: Re: EA Controller
Post by: diyforexskills on October 26, 2017, 08:11:08 AM
Moving into uptrend

The balance/closed profit of the EA has closed just above its MA 10, and so now the reverse entry version of the EA has been switched off, and the normal entry, 0.04 lot version has been switched on and a trade initiated. Let's see how that goes; will the uptrend last for a while or is this just a false signal?

In the meantime, since start at 25 September, our EA has been in downtrend losing some $35 but this has been more than offset by the reverse entry version returning a profit of nearly $70. So even during a downtrend we have made $35 profit with this system. Let's see if we can keep this up.

In context

We are trying to replicate in forward testing what was shown up in 5 year back tests as shown below.

This showed that during the 5 year period, whenever the normal entry version of the EA went into downtrend, the reverse entry version tended to be profitable; and vice versa. Not exactly, but does indeed look promising. So far the current experiment is bearing this out.
Title: Re: EA Controller
Post by: diyforexskills on October 27, 2017, 07:16:07 AM
In stormy waters

It is always preferable to post positive results but forex does not work that way.

As I said a few Posts ago, when the EA starts to move back into an uptrend, the road can be rocky.

So in our experiment we moved back into uptrend as a false move and are now back into downtrend having lost some trades along the way.

In summary we are down about $60 since 25 Sep 2017.

But at least we have seen the Controller switching back and forth from Yes to No as Closed Profit crossed back up and down across its MA.

And soon we will have a momentum rather than a MA based EA Controller - more on that later.

Title: Re: EA Controller
Post by: diyforexskills on October 29, 2017, 07:46:10 AM
Flat-lining

After 5 weeks, 21 trades with the Controller EA, we are now down -$130 with the system.

The reason for this can be seen in the image where we see the closed profit straddling its MA, flat-lining. So each time the reverse entry EA is engaged, it has lost; and vice versa. So I have now changed the MA period (= number of closed trades) from 10 to 20. Over the longer term I feel that a period 30 would be optimal. Allows for more "flat-lining" of the balance curve but does of course also mean getting into normal and reverse modes with a greater lag.

On the bright side, if we had traded 0.05 lots normally with this EA during this period, we would have been -$200 in the red. So we are $70 better off by trading this EA with this system over this period so far. But yes, a negative profit is still a loss!!   :)
Title: Re: EA Controller
Post by: diyforexskills on October 31, 2017, 12:00:18 AM
More testing, including a different way

A colleague has lent me his VPS for the remaining two months of the contract, so we can run some more tests of this system.

For starters, am now running two different FXAE EAs in the same way as I have been testing the USDCHF - see recent previous Posts.

But also trying out a slightly different system where we run the same three copies of the EA (normal, 0.01 as monitoring EA, and 0.1 normal entry and 0.1 reverse entry). However in this case, all three versions are running continuously with the two Controllers now controlling copies of the DIY Trade Manager Plus. So instead of an EA being turned off, the TM reduces the SL to 10 (from 50) and reduces the TP to 50 (from 60). So instead of being off, the EAs can still make a profit; if not, the trade will be closed at a very small loss.
This could be helpful during flat-lining periods as described in previous Post.

http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
http://www.fxautotraderelite.com/
Title: Re: EA Controller
Post by: diyforexskills on November 04, 2017, 03:14:52 AM
Progress with USDCHF testing

Have clawed back some more losses with the reverse entry EA over the past week, having reset the MA of the Controller from 10 to 20 closed trades/periods. So since 25 Sep the EA has been in DD losing some $52; but the reverse entry version of the EA is $48 in profit over the same period.
(Note that having set the MA for the Controller to 20, then the EA has never been out of DD as shown on the graph below; and hence I am not noting the $90 loss that occurred when the MA had been set to 10 previously. Refer Reply #144).

Still too early to say anything about the new tests as described in previous Post.
Title: Re: EA Controller
Post by: diyforexskills on November 07, 2017, 03:35:27 AM
Momentum-based version of the EA Controller

The current version of the EA Controller uses a MA of closed profit/loss to indicate whether an EA is in uptrend (making money) or in downtrend (losing money).
We now have a new version of the Controller which uses the RSI (momentum) calculation of closed profit/loss to decide whether the EA is in uptrend or downtrend.
Not sure at this stage which version will work better, but at least we now have a choice. And it might be easier to work with setting a RSI level rather than altering the MA period.
Two levels can be set; one to signal an uptrend, when above a level; and one to signal a downtrend when below a set RSI level.

A couple of comparative examples are shown below.

I will commence testing the two in tandem.
Title: Re: EA Controller
Post by: diyforexskills on November 08, 2017, 05:30:32 AM
Momentum-based version of the EA Controller

The current version of the EA Controller uses a MA of closed profit/loss to indicate whether an EA is in uptrend (making money) or in downtrend (losing money).
We now have a new version of the Controller which uses the RSI (momentum) calculation of closed profit/loss to decide whether the EA is in uptrend or downtrend.
Not sure at this stage which version will work better, but at least we now have a choice. And it might be easier to work with setting a RSI level rather than altering the MA period.
Two levels can be set; one to signal an uptrend, when above a level; and one to signal a downtrend when below a set RSI level.

A couple of comparative examples are shown below.

I will commence testing the two in tandem.

Using the Controller with an Over-Won and Over-Lost Approach
A comment by reinerh in the Fidelitas thread "sitting at current equity highs always makes me a little bit uneasy" (Reply #139) reminded me that one of the ways we could use the new RSI version of the EA Controller is to apply the OB/OS approach of using RSI.

So if our EA has been in a nice winning uptrend, then the RSI of the performance curve should be around 70 or higher (the Over-Won state). And when the market dynamics change and our EA starts a losing trend, the RSI will fall below 70 and continue down depending on the trading results.
So rather than waiting till RSI hits 50 or lower (losses exceeding gains), we could, in situations like this, move our RSI trigger level for the Controller to say 65 or 70.
Similarly if we had had a bad run with our EA, and RSI was down to less than 30 (Over-Lost), we could trigger the EA to re-start trading when RSI hit 30 or 35, rather than wait till 50.

The image below shows what could be an Over-Won moment for one of the FXAE EAs, 481630 EURUSD. So it could be time for me to raise the Controller RSI to 65 if I felt that market conditions may well have moved to an ufavourable dynamic for this EA.

Eg imagine an EA coded for trending markets, having done well while price was trending; but price has now hit a major S/R zone and will most likely range for a while.
Title: Re: EA Controller
Post by: diyforexskills on November 11, 2017, 06:00:49 AM
Many options with the EA Controller

In my thread on the FX Autotrader Elite today https://donnaforex.com/index.php?topic=12561.msg371599#new I showed the results for four EURUSD SET files which have been profitable this year without the need for the Controller.

But I have also been running the USDCAD SET file over this period, and it is currently in a small loss situation as shown in the first image.

This one does look like it could have benefited from use of the Controller, either manually or automated. The second image shows various settings we could have used on the Controller to protect us from the large DD and get us back in as the markets turned more favourable. A Smoothed MA (SMMA) or a SMA with Shift looks to be most suitable in that they avoid us getting caught in whipsaws.

The second image is wide, so pls use the scroll bar to view the whole image.

(On the MA version of the Controller, the red line is the performance curve (P/L from closed trades) and the blue line is its MA. On the one RSI version of the Controller the red line is the RSI of the performance curve/closed trades.)
Title: Re: EA Controller
Post by: diyforexskills on November 13, 2017, 01:00:24 AM
Progress with USDCHF testing

Have clawed back some more losses with the reverse entry EA over the past week, having reset the MA of the Controller from 10 to 20 closed trades/periods. So since 25 Sep the EA has been in DD losing some $52; but the reverse entry version of the EA is $48 in profit over the same period.
(Note that having set the MA for the Controller to 20, then the EA has never been out of DD as shown on the graph below; and hence I am not noting the $90 loss that occurred when the MA had been set to 10 previously. Refer Reply #144).

Market conditions are still not favouring the USDCHF 482310 strategy and so the version used to monitor market conditions is still in DD.
However, since the reverse entry version has been triggered to trade during this DD period, we are sitting at a tiny profit, so let's say net zero gain or loss.
Gaining capital is obviously our aim in trading but preserving capital in unfavourable markets also has a role to play.
That is what the EA Controller sets out to do; and is currently doing for this EA.
Title: Re: EA Controller
Post by: diyforexskills on November 16, 2017, 05:01:15 AM
Momentum-based version of the EA Controller

The current version of the EA Controller uses a MA of closed profit/loss to indicate whether an EA is in uptrend (making money) or in downtrend (losing money).
We now have a new version of the Controller which uses the RSI (momentum) calculation of closed profit/loss to decide whether the EA is in uptrend or downtrend.
Not sure at this stage which version will work better, but at least we now have a choice. And it might be easier to work with setting a RSI level rather than altering the MA period.
Two levels can be set; one to signal an uptrend, when above a level; and one to signal a downtrend when below a set RSI level.

A couple of comparative examples are shown below.

I will commence testing the two in tandem.

Decision looming

We now have both a MA and a RSI-based version of the EA Controller. See image below. At this stage it is hard to tell which one will work better.

With the USDCHF trial we will soon have to make a decision as to which signal to go with. Closed profit/loss above its SMA 20; or RSI 10 above 50? (I chose RSI 10 since we don't have many trades to play with so choosing a RSI 20 at this stage would give us only a very short RSI history.)
Or maybe they will signal at the same time.
Title: Re: EA Controller
Post by: diyforexskills on November 21, 2017, 07:48:08 AM
More testing, including a different way

A colleague has lent me his VPS for the remaining two months of the contract, so we can run some more tests of this system.

For starters, am now running two different FXAE EAs in the same way as I have been testing the USDCHF - see recent previous Posts.

But also trying out a slightly different system where we run the same three copies of the EA (normal, 0.01 as monitoring EA, and 0.1 normal entry and 0.1 reverse entry). However in this case, all three versions are running continuously with the two Controllers now controlling copies of the DIY Trade Manager Plus. So instead of an EA being turned off, the TM reduces the SL to 10 (from 50) and reduces the TP to 50 (from 60). So instead of being off, the EAs can still make a profit; if not, the trade will be closed at a very small loss.
This could be helpful during flat-lining periods as described in previous Post.

http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
http://www.fxautotraderelite.com/

Progress with EA Controller controlling the DIY Trade Manager Plus

The EA, 48164, has now completed 6 trades and so the TMs have been activated since the MA has been set to 5. This is a bit tight but it gets our testing under way.

So all three copies of the EA are running continuously with the corresponding TMs varying SL and TP depending on whether the monitoring EA is in uptrend or downtrend. Currently just sitting in uptrend after a few losses.

Results to date are as shown below. Which shows we have been lucky in that the reverse entry EA has been in play and has made a nice profit over this short period.

48164 is the monitoring EA trading at 0.01 lot; 648164 is the normal entry version trading at 0.1 lot; and 948164 is the reverse entry version trading at 0.1 lot.
Title: Re: EA Controller
Post by: diyforexskills on November 26, 2017, 12:55:38 AM
Comparing Results

I am currently testing two different ways of using the Controller with the same two EAs - FXAE V48164 and a 3rd party EA, VFX London Breakout; the version which has both a normal entry and a reverse entry.

In the first test the Controller is directly controlling the EAs; in the second test the Controller is controlling the Trade Managers linked to the two versions - normal entry and reverse entry (as described in previous Post).

At this stage the use of the TM is showing the better result but that is partly due to the fact that in this mode both the normal entry and reverse entry are trading from the start and the TM does not kick in till after the first five trades.

Once we have traded a bit longer I will explain the performance in more detail.

At this stage it is just nice to see that both systems are in profit.
Title: Re: EA Controller
Post by: diyforexskills on November 30, 2017, 11:34:45 PM
Release your creative juices and have some fun for just $100 in 2018

I am finalising the documentation for a special package of my three forex trading tools for just $100 for use throughout 2018.
http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
http://www.fxautotraderelite.com/

There are lots of things you can do with these, especially in combination as per my previous Post. And 30 days or 60 days is not enough time to do the proper testing; hence I will do a full 12 month licence for all three trading tools for just $100 in 2018. This will include the SET files required to run the test I am reporting on most recently.

(The money will not be refundable but you will get to keep at least one of the tools with a lifetime licence. And the opportunity to keep all three at a 50% discount with the $100 counting towards the payment. I will post a special link for this in the next week or so.)

The first 30 day test results for two different ways of running the two EAs are shown below.

PS The USDCHF test is running at just under BE at this stage. Took a couple of hits recently.
Title: Re: EA Controller
Post by: diyforexskills on December 05, 2017, 11:44:25 AM
Still ahead with a "losing" EA

I have been trading FXAE V482310 USDCHF H1 since 25 Sep using the Controller system in which we trade both the normal entry and reverse entry versions of the EA depending on the performance curve - in uptrend or downtrend.

Currently the EA is still in a drawn-out downtrend. Top image

However the system as a whole is still in profit. Bottom image.

I am now also testing this EA with the system that uses the Trade Manager for the Controlling. But too early to share any data.

(And I have almost completed updating the User Guide for the Controller. Just need to make a couple of short videos to illustrate the methodology and setup.)
Title: Re: EA Controller
Post by: diyforexskills on December 07, 2017, 06:37:40 AM
Release your creative juices and have some fun for just $100 in 2018

I am finalising the documentation for a special package of my three forex trading tools for just $100 for use throughout 2018.
http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
http://www.fxautotraderelite.com/

There are lots of things you can do with these, especially in combination as per my previous Post. And 30 days or 60 days is not enough time to do the proper testing; hence I will do a full 12 month licence for all three trading tools for just $100 in 2018. This will include the SET files required to run the test I am reporting on most recently.

(The money will not be refundable but you will get to keep at least one of the tools with a lifetime licence. And the opportunity to keep all three at a 50% discount with the $100 counting towards the payment. I will post a special link for this in the next week or so.)

The first 30 day test results for two different ways of running the two EAs are shown below.

PS The USDCHF test is running at just under BE at this stage. Took a couple of hits recently.

What you will get and how you might use it

Since I am going to be away for a week, I will delay the release of the Special Package until the weekend after next, 16 December. That way I can be sure to to be able to respond quickly to any questions or issues.

In the meantime, I have finished the first video which covers the setup and illustrates one of the systems you can set up.
https://www.youtube.com/watch?v=v7n2Ec8ZRZM

I will be following that up later this year or early next year with a couple more including how to use the tools with the FX Blue Trade Copier to generate reverse entry trades; and on using the Controller with the Trade Manager instead of the EA direct.

Title: Re: EA Controller
Post by: diyforexskills on December 15, 2017, 07:55:03 AM
Set to go!

The Special Package of DIY ForexSkills trading tools is now available - for just $100 with a licence till 31 December 2018.

And only available for one week until 22 December 2017.

Please order via this special link and I will email you the complete package within 12 hours (usually much quicker but I do need to sleep some time.)

https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2

For details about this special offer, please see the previous Post.

After 31 days of trading using the system approach with the Controller operating on the Trade Manager on two of the EAs supplied, the results are as shown.

EURJPY is magic 112237 series and EURUSD is 48164 series.
 
Title: Re: EA Controller
Post by: Humble Trader's Fx on December 15, 2017, 05:35:37 PM
Set to go!

The Special Package of DIY ForexSkills trading tools is now available - for just $100 with a licence till 31 December 2018.

And only available for one week until 22 December 2017.

Please order via this special link and I will email you the complete package within 12 hours (usually much quicker but I do need to sleep some time.)

https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2

For details about this special offer, please see the previous Post.

After 31 days of trading using the system approach with the Controller operating on the Trade Manager on two of the EAs supplied, the results are as shown.

EURJPY is magic 112237 series and EURUSD is 48164 series.

Please give us a myfxbook "verified account" to examine.

Regards,
HumbleTrader
Title: Re: EA Controller
Post by: diyforexskills on December 15, 2017, 09:51:15 PM
Set to go!

The Special Package of DIY ForexSkills trading tools is now available - for just $100 with a licence till 31 December 2018.

And only available for one week until 22 December 2017.

Please order via this special link and I will email you the complete package within 12 hours (usually much quicker but I do need to sleep some time.)

https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2

For details about this special offer, please see the previous Post.

After 31 days of trading using the system approach with the Controller operating on the Trade Manager on two of the EAs supplied, the results are as shown.

EURJPY is magic 112237 series and EURUSD is 48164 series.

Please give us a myfxbook "verified account" to examine.

Regards,
HumbleTrader

Hello Humble Trader

As you know I am a FX Blue Publisher man rather than myfxbook. Over the next week or so I will make available 4 or perhaps 5 links to demo accounts via FX Blue Publisher on which i will be conducting my experiments with the trading tools that comprise this Special Package - $100 for a full one year licence of the Autotrader, Trade Manager and EA Controller. That is less than $3 per month for each of the three products.

The purpose of this special offer is to give people a chance to try out these products.

So, for those who only have time and/or interest to run a standard EA, this package is not for you. Better off buying a $300 to $500 robot from the many available. And just let it run.

On the other hand if, for example, you want to "program" your own EAs, this will be an opportunity to try the FX Autotrader to do just that.

Or if you want to see if and how the Trade Manager, alone or under the control of the EA Controller, can improve the performance of your existing EAs, then this is your chance.

Or maybe you want to control the copying of trades, again using the EA Controller, to achieve better performance from your EAs. Note that you can use the FX Blue Copier to invert trades also, giving you even more possibilities.

So although I will be sharing my results via the FX Blue Publisher app, I am not trying to use those results to convince anyone to buy the Special Package.

The purpose of the Special package is to give people cheap access to a set of trading tools, for a WHOLE YEAR. To see if one or all three of them will help give them better results in forex trading. By all means duplicate what I am doing as I share the setups via email and/or video as well as on this Forum over the year, but hopefully you can try out those methods on your own EAs as well.

So hopefully we will have some interesting and lively discussions and sharing of experiments and results.

(And yes, I am a scientist by training so experimentation is in my blood!   :)  )
Title: Re: EA Controller
Post by: diyforexskills on December 16, 2017, 04:14:54 AM
Monitoring the Performance

At this stage I have two trials underway. Both began on 14 Nov 2017.

In one, we are trading FXAE 48164 (EURUSD) and VFX 1.4 (EURJPY), modified with the Controller code, and using the Trade Manager on the normal entry or reverse entry version of the EAs to vary the TP and SL depending on whether the EA is in uptrend or downtrend. At this early stage the MA on the Controller is set to 5. We will increase that over time to avoid too much whipsaw.

In the second, we are trading these same EAs as well as FXAE 481614 (EURUSD) but letting the Controller control the EAs directly rather than via the Trade Manager.

So at this stage in order to compare the two systems, you will need to filter out the FXAE 481614 trades on the FX Blue Publisher app for account 20469928

When we do this we can see that using the Controller with the Trade Manager is far superior, at least at this stage. See image below. That is good news since the Controller cannot communicate directly with 3rd party EAs, unless modified with the Controller code, but we now don't need to since can use the Trade Manager to do the work for us. (We would still need to find a way to invert the trades from a 3rd party EA, but we can use the FX Blue Trade Copier, on the same MT4, to do that as I will show early next year.)

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063
Controlling the EA - https://www.fxblue.com/users/20469928
Title: Re: EA Controller
Post by: Nadir on December 16, 2017, 10:10:51 AM
Hi, as I understood the EA Controller is giving permissions to an EA depending on the parameters given to give that permission. But if the EA then had permission to trade and opened a trade the EA will manage the trade completely normal, yes?

And the Trade Manager lets the EA open to its own entry point but then the TM will manage the opened trade with SLs and TPs? Will it override the attempts of the EA to change SLs and TPs? How come they don't fight for eternity against each other with setting tp and sl?

And is it possible to Backtest an EA with the Trade Manager?

Thanks
Regards

Gesendet von meinem S8 mit Tapatalk

Title: Re: EA Controller
Post by: diyforexskills on December 16, 2017, 10:26:56 AM
Hi, as I understood the EA Controller is giving permissions to an EA depending on the parameters given to give that permission. But if the EA then had permission to trade and opened a trade the EA will manage the trade completely normal, yes?

And the Trade Manager lets the EA open to its own entry point but then the TM will manage the opened trade with SLs and TPs? Will it override the attempts of the EA to change SLs and TPs? How come they don't fight for eternity against each other with setting tp and sl?

And is it possible to Backtest an EA with the Trade Manager?

Thanks
Regards

Gesendet von meinem S8 mit Tapatalk

Thanks for your questions. In response:

Yes, the EA will then manage its own trade as normal. The Controller only functions to enable or disable an EA to operate.
(Someone has just suggested using the profit factor as an alternative to using a Closed Profit/Loss relative to its MA to do the enabling/disabling. Will look at that.)

There is no "fighting". Whichever TP or SL level occurs first, whether as set by EA or by TM (either fixed or dynamic), will close the trade.

Unfortunately no. We cannot back test a TM, nor can we backtest a system running an EA, a TM and a Controller. That is one of the main reasons why I am making the package available for a full year. We can only forward test and that takes time, frustratingly so.
Title: Re: EA Controller
Post by: diyforexskills on December 18, 2017, 03:27:35 AM
Hi, as I understood the EA Controller is giving permissions to an EA depending on the parameters given to give that permission. But if the EA then had permission to trade and opened a trade the EA will manage the trade completely normal, yes?

And the Trade Manager lets the EA open to its own entry point but then the TM will manage the opened trade with SLs and TPs? Will it override the attempts of the EA to change SLs and TPs? How come they don't fight for eternity against each other with setting tp and sl?

And is it possible to Backtest an EA with the Trade Manager?

Thanks
Regards

Gesendet von meinem S8 mit Tapatalk

Thanks for your questions. In response:

Yes, the EA will then manage its own trade as normal. The Controller only functions to enable or disable an EA to operate.
(Someone has just suggested using the profit factor as an alternative to using a Closed Profit/Loss relative to its MA to do the enabling/disabling. Will look at that.)

There is no "fighting". Whichever TP or SL level occurs first, whether as set by EA or by TM (either fixed or dynamic), will close the trade.

Unfortunately no. We cannot back test a TM, nor can we backtest a system running an EA, a TM and a Controller. That is one of the main reasons why I am making the package available for a full year. We can only forward test and that takes time, frustratingly so.

... Of course the TM can be set to do more than just alter TP and SL levels. For instance you could set it to scale-in further orders when the trade goes into profit during uptrends for the EA; and you could set a Partial close of say 90% when the trade is into SL territory at say -10 pips during downtrends. And you could add BEs and/or TSs etc


The Special Package of DIY ForexSkills trading tools is now available - for just $100 with a licence till 31 December 2018.

And only available for one week until 22 December 2017.

Please order via this special link and I will email you the complete package within 12 hours (usually much quicker but I do need to sleep some time.)

https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2

For details about this special offer, please see Reply #154.
Title: Re: EA Controller
Post by: Nadir on December 20, 2017, 01:21:47 PM
Hi Andrew,
thanks for you answers.

I watched a bit more into the product and another question did come to my mind. I have EAs which I coded myself and I wonder if I could use the EA Controller with them without using a trade copier. On your site you write:
"6. Works seamlessly in Signal mode with FX Autotrader Elite EAs and other 3rd party EAs that can be modified with the addition of the Controller code (access to the EA’s source file is needed)"

So I wonder if I would need to give you the code and then you code it in. But if you give it to me back with closed code I can't continue developing the EA which would not really work out. If you give it to me back open source, I would be able to copy-paste it myself into my other bots which I would like but maybe you don't  ;)

Is it possible to provide me with the code needed to build it in myself or maybe giving me a closed source file which I would just need to call in my EA?

Best Regards
Title: Re: EA Controller
Post by: diyforexskills on December 20, 2017, 08:23:11 PM
Hi Andrew,
thanks for you answers.

I watched a bit more into the product and another question did come to my mind. I have EAs which I coded myself and I wonder if I could use the EA Controller with them without using a trade copier. On your site you write:
"6. Works seamlessly in Signal mode with FX Autotrader Elite EAs and other 3rd party EAs that can be modified with the addition of the Controller code (access to the EA’s source file is needed)"

So I wonder if I would need to give you the code and then you code it in. But if you give it to me back with closed code I can't continue developing the EA which would not really work out. If you give it to me back open source, I would be able to copy-paste it myself into my other bots which I would like but maybe you don't  ;)

Is it possible to provide me with the code needed to build it in myself or maybe giving me a closed source file which I would just need to call in my EA?

Best Regards

Hi Nadir
Yes, I will PM you the source code. I t is only a few lines of code. Happy to provide it to anyone else as well on request.
Title: Re: EA Controller
Post by: diyforexskills on December 20, 2017, 11:57:31 PM
Set to go!

The Special Package of DIY ForexSkills trading tools is now available - for just $100 with a licence till 31 December 2018.

And only available for one week until 22 December 2017.

Please order via this special link and I will email you the complete package within 12 hours (usually much quicker but I do need to sleep some time.)

https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2

For details about this special offer, please see the previous Post.

After 31 days of trading using the system approach with the Controller operating on the Trade Manager on two of the EAs supplied, the results are as shown.

EURJPY is magic 112237 series and EURUSD is 48164 series.

Crunch time is approaching fast - time to act

The Special Package offer providing a low-cost entry to the use of the Autotrader, Trade Manager and Controller, will close tomorrow, 22 December. Pls use this link to order https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2

In the meantime I have added a further three strategies (USDCAD, GBPJPY and another EURUSD) to the demonstration accounts which have now been trading for 37 days. (SET files for these will also be provided to subscribers once we have some more data to warrant that. ) Both accounts are in profit and the use of the Controller with the TM is still proving superior as shown in attached image.

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063
Controlling the EA - https://www.fxblue.com/users/20469928

Title: Re: EA Controller
Post by: Nadir on December 21, 2017, 10:29:36 AM
Hi,

I wanted to give some feedback, mainly for other people reading this. Who knows, maybe there are readers who are thinking of buying this but are not sure.

I wanted to make myself a christmas gift and had the coice between Best Scalper and this Package. After struggling for some days I decided to buy this. There are a lot of commecial EAs out there and however good they may be for a certain time, with this product you can create your own thing. The lack of long-term proven live accounts is not sexy but actually this is not about certain EAs but about making or controlling your own. Yes, Andrew gives you some finished EAs together with this package but that's just a little piece of what you can and should do.

Overall it's pretty possible to make more money than Andrew himself since there are unlimited possibilities (If you use 3rd party Bots or develop your own - But even with just the Autotrader Elite EA, together with TM and EA Controller you can easily test all your life time and still not done).

However it's for people who already know pretty well what an EA is, what it does, what different indicators do and stuff. Needs overall much more knowledge than set-and-forget EAs (Set-and-Forget is 95% not profitable anyway).

Anyway, I'm not related to this products in any way, this is just an opinion of some average forums user. I plan to set up about 5-15 systems with this and will tell from time to time how it's going. Unfortunately I need to go into holidays in a few hours (Wait, did I really say unfortunately??? Yeah it is cruel when you get a new toy and need to go away :'( ) and because I don't want to experience what happens when wife comes back and sees that I "played computer" (OMG wife this is WORK, not PLAYING!!!  ::) ) instead of packing some stuff together, I will set it up throughout january  :D

On a side note: Received the source code (look above) from Andrew pretty fast (thanks!), so for now I have to say that you do not buy the package and are left alone but good support together with it.

Best Regards and merry christmas


Title: Re: EA Controller
Post by: diyforexskills on December 21, 2017, 11:41:21 AM
Thanks for the feedback Nadir. Not asked for but appreciated. (And have a great holiday.)

I was going to leave this information for a later video but just wanted to note it now for anyone who is concerned about using the Controller and TM with their own bots - which don't have, or cannot have the signal code incorporated and/or which don't have a reverse/invert trade function.

In the current documentation and website, it would suggest that you would need to use separate FX Blue Trade copier sender and receiver setups for each EA; and then a separate second series to copy the inverted trades. That would put a helluva strain on the VPS resources.

It turns out that by using the Controller with the TM you can use just a single Trade Copier to copy  normal entry trades from all EAs; and a single second instance of the Copier to copy the inverted trades from all the EAs.
As long as you select for copying all trades and set "UseOriginalOrderComment" to true.

That will enable the TM (set to manage by Order Comment) to identify the copied trades it needs to control. (You just need a TM for each EA linked to its respective Controller but that will not place a huge strain on VPS resources; unlike Trade Copiers.)

Hopefully that all makes sense. Time to catch some sleep. Back in 8 hours to attend to any orders!  Ever the optimist. Should be some interesting times next year.  :)
Title: Re: EA Controller
Post by: diyforexskills on December 23, 2017, 12:24:50 AM
Can you improve the performance of your EAs?

If you are currently running one or more EAs and wondering whether you could increase their return, then you can use the EA Controller and Trade Manager, along with the FX Blue Trade Copier, to test for that without changing anything in the way you are running the EAs now.

Just set up a second (demo) platform, and apply these tools in the way I will show you, linking it to the EAs trading on your live account, and over time you will see which platform performs better. The normal way you have been trading, or the way in which the Controller and TM moderate the action using both normal entry and reverse entry trades depending on the EA's performance/market conditions.

All for just $100 for a full year till end 2018. So plenty of time to get meaningful results.

Interested? Order now. Only $100 for a full year and at the end you get to keep one of two products for free

Order your Special Package here, but only until 24 December 2017 https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2&DESIGN_TYPE=2

Please Note. This method does not work for marty/grid type EAs since the Controller operates on account Balance, not account Equity. As we all know marty/grid EAs always have positive balance curves UNTIL equity drops to zero and the account is wiped.
Title: Re: EA Controller
Post by: petermatt on December 24, 2017, 07:15:01 PM
Hi Andrew,

I don't think the Presets for the VFX London Breakout are correct. In mine at least for example the EA Magic numbers are the same for each preset and there are no Lot sizes entered so this leaves me wondering if the other settings are correct. Maybe something to review after Xmas.
I'll look forward to the video in the New Year showing how to set up the Trade Manager as well.
All the best
Pete
Title: Re: EA Controller
Post by: diyforexskills on December 24, 2017, 10:43:22 PM
Hi Andrew,

I don't think the Presets for the VFX London Breakout are correct. In mine at least for example the EA Magic numbers are the same for each preset and there are no Lot sizes entered so this leaves me wondering if the other settings are correct. Maybe something to review after Xmas.
I'll look forward to the video in the New Year showing how to set up the Trade Manager as well.
All the best
Pete

Hi Peter
On a quick check before the kids arrive, only the EURJPY Normal does not have the correct magic - should be 6112237 rather than 112237 as you point out. Lot size on eurjpy are a bit odd in that both normal and reverse must have a lot size. So normal is 0.1 and 0.01 ; and Reverse is 0.01 and 0.1. This is a 3rd party EA modified with signal code.
The others look correct but i will double check tomorrow. Thanks for checking.
Title: Re: EA Controller
Post by: diyforexskills on December 26, 2017, 04:46:17 AM
Hi Andrew,

I don't think the Presets for the VFX London Breakout are correct. In mine at least for example the EA Magic numbers are the same for each preset and there are no Lot sizes entered so this leaves me wondering if the other settings are correct. Maybe something to review after Xmas.
I'll look forward to the video in the New Year showing how to set up the Trade Manager as well.
All the best
Pete

Hi Peter
On a quick check before the kids arrive, only the EURJPY Normal does not have the correct magic - should be 6112237 rather than 112237 as you point out. Lot size on eurjpy are a bit odd in that both normal and reverse must have a lot size. So normal is 0.1 and 0.01 ; and Reverse is 0.01 and 0.1. This is a 3rd party EA modified with signal code.
The others look correct but i will double check tomorrow. Thanks for checking.

Have taken another look. All lot sizes are fine. Perhaps you were looking at an .ex file, the Autotrader itself rather than the SET file. The Autotrader is set as a "blank" canvass.

But I did pick up some other ID# issues for the USDCHF collection.

All corrected SET files can be downloaded from here - http://www.fxautotraderelite.com/resources/  under SET Files and Notes.

The Controller communicates with the EA or TM via the ID# Input so always make sure (as I should have in this case!) that these match up correctly. And when you don't want to control an EA or TM, make sure that in that case the ID# Input is left blank.

Note also that when using the TM to manage via Symbol, that you use the exact same symbol description as it appears on your Market Watch window. The TM SET files provided are set for running on MT4s that use, eg EURUSD, rather than for instance EURUSD.pro  So please adjust as necessary remembering that these inputs are case sensitive.
Title: Re: EA Controller
Post by: petermatt on December 26, 2017, 07:36:39 PM
Hi Andrew,
Thanks for the revised files which I have now installed and I'm up and running on each pair. I have noticed one anomoly in the Controller screen where the VFX London Breakout shows "PerformanceAverage Signal =" but this is not shown in either the EURUSD or USDCHF Controller screens (see attached).
Regards
Pete
Title: Re: EA Controller
Post by: diyforexskills on December 26, 2017, 09:36:30 PM
Hi Andrew,
Thanks for the revised files which I have now installed and I'm up and running on each pair. I have noticed one anomoly in the Controller screen where the VFX London Breakout shows "PerformanceAverage Signal =" but this is not shown in either the EURUSD or USDCHF Controller screens (see attached).
Regards
Pete
Hi Pete
Looks like the ID# Input on the VFX on that chart is not blank. Might have a 1 in it. If so, just delete whatever is there so that the Input is blank/empty. The Controller EA (ie the EA running on the Controller chart, or on the Controller platform if you are using two platforms) needs to run all the time so it must not be controlled. Having the ID# Input blank means that the control functionality is disabled.
(You should of course have the Performance Signal showing on the other two charts for each pair - Normal Entry and Reverse entry)
Title: Re: EA Controller
Post by: petermatt on December 26, 2017, 11:16:14 PM
Hi Pete
Looks like the ID# Input on the VFX on that chart is not blank. Might have a 1 in it. If so, just delete whatever is there so that the Input is blank/empty. The Controller EA (ie the EA running on the Controller chart, or on the Controller platform if you are using two platforms) needs to run all the time so it must not be controlled. Having the ID# Input blank means that the control functionality is disabled.
(You should of course have the Performance Signal showing on the other two charts for each pair - Normal Entry and Reverse entry)

Hi Andrew
Thanks for your prompt reply.
I had my email address in the ID# Input field.  :-[  :-[. The "PerformanceAverage Signal = YES" is showing on the other 2 charts as it is with the other 2 currency pairs.  I have each of the pairs running on a separate platform but on the same Demo account. Now all that needs to happen is for a few trades to open.
Pete
Title: Re: EA Controller
Post by: diyforexskills on December 26, 2017, 11:36:59 PM
Hi Pete
Looks like the ID# Input on the VFX on that chart is not blank. Might have a 1 in it. If so, just delete whatever is there so that the Input is blank/empty. The Controller EA (ie the EA running on the Controller chart, or on the Controller platform if you are using two platforms) needs to run all the time so it must not be controlled. Having the ID# Input blank means that the control functionality is disabled.
(You should of course have the Performance Signal showing on the other two charts for each pair - Normal Entry and Reverse entry)

Hi Andrew
Thanks for your prompt reply.
I had my email address in the ID# Input field.  :-[  :-[. The "PerformanceAverage Signal = YES" is showing on the other 2 charts as it is with the other 2 currency pairs.  I have each of the pairs running on a separate platform but on the same Demo account. Now all that needs to happen is for a few trades to open.
Pete

Good. Glad I am not the only one who sometimes gets careless.  :)

By way of general info, the Performance Signal is showing YES on the other two charts because TradeAtStart is set to True on the Controller with the SET files I have provided.
If you wanted to wait for 5 trades to be completed so that the MA, set to 5 in this case, can be calculated, and hence the controlling can begin, then you would set TradeAtStart to false. The PerformanceSignal would then signal NO (and no trades would be taken on those charts) for the first 5 trades taken by the Controller EA, and then either YES or NO as appropriate depending on whether Closed Profit/Loss (= Balance) was above or below its MA 5 on the Controller chart.
Title: Re: EA Controller
Post by: diyforexskills on December 28, 2017, 04:02:04 AM
Can you improve the performance of your EAs?

If you are currently running one or more EAs and wondering whether you could increase their return, then you can use the EA Controller and Trade Manager, along with the FX Blue Trade Copier, to test for that without changing anything in the way you are running the EAs now.

Just set up a second (demo) platform, and apply these tools in the way I will show you, linking it to the EAs trading on your live account, and over time you will see which platform performs better. The normal way you have been trading, or the way in which the Controller and TM moderate the action using both normal entry and reverse entry trades depending on the EA's performance/market conditions.

All for just $100 for a full year till end 2018. So plenty of time to get meaningful results.

Interested? Order now. Only $100 for a full year and at the end you get to keep one of two products for free

Order your Special Package here, but only until 24 December 2017 https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2&DESIGN_TYPE=2

Please Note. This method does not work for marty/grid type EAs since the Controller operates on account Balance, not account Equity. As we all know marty/grid EAs always have positive balance curves UNTIL equity drops to zero and the account is wiped.

Video Instructions - Episode Two

In this second video, I demonstrate the use of the Controller in conjunction with the DIY Trade Manager Plus.
https://www.youtube.com/watch?v=KTnVd7Wnjr4

This TM mode of operation is proving more profitable than the system version in which the Controller controls the EA directly by making use of the signal code of the Autotrader and VFX London Breakout EAs.

This TM version is also useful for when you are running your own or a third party EA which does not have the signal code.

In summary, the TM in this system of trading closes an unwanted trade at say 5 or 10 pip SL; and can also modify other aspects of the unwanted trade, eg with BE, TS or different TP level if you want to try that. (Remember that the purpose of this Special Package is to enable traders to experiment for a full year to see what system works best for their EAs.)

The previous video can be viewed here https://www.youtube.com/watch?v=v7n2Ec8ZRZM

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063
Controlling the EA - https://www.fxblue.com/users/20469928

(Please note that I have added some extra strategies to these two account recently. I will be adding more and also setting up two other accounts. The whole purpose is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)
Title: Re: EA Controller
Post by: diyforexskills on December 29, 2017, 03:43:57 AM
If you missed out

In response to several requests I have decided to keep the Special Package available for purchase.

Please note that the licence still only applies to 2018, so the later you buy it, the less time you will have to run the tests with any or all of these three trading products. But you will still have the same end of year options, namely:

1. Select either the trade manager or controller for a lifetime licence and pay nothing more; or
2. Select both the trade manager and the controller and pay just $50 for a lifetime licence for both; or
3. Select the Autotrader only and pay just $100 for a lifetime licence; or
4. Select all three trading tools, Autotrader, Trade Manager and Controller, and pay just $150 for a lifetime licence for all three; or
5. Do nothing, but hopefully having learned something from working with these unique trading tools.

You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on December 31, 2017, 06:39:04 AM
VFX London BreakOut EURJPY

A main interest in this yearlong test of the DIY ForexSkills trading tools is to see whether the performance of EAs, any (non-marty/grid) EA that we might have in our collection, can be improved.

The VFX London Breakout EA (https://www.mql5.com/en/code/17465) that I have included in the Package is one such EA, specifically v1.3, available at Reply #97 in the mql5 thread.  I have found this EA with the Yen pair sets (as per SET file provided by the developer) does pretty well. Since the developer supplies the source code I modified it to incorporate the signal code for direct communication with Controller. So now I have v1.4 which is included in the Special Package.

VFX v1.4 (as does v1.3) has a reverse function of sorts.

When a breakout occurs, it takes that trade and then sets a reverse entry pending order at the SL value of the trade that was triggered. So if price reverses after breakout and keeps moving, you can lose on the first trade but gain back that loss and more from the reverse pending order.

Or, if Murphy interferes, you could lose twice if price whipsaws.   >:(

Anyway, in my trial, see EURJPY results in account links below, I have set lot sizes for this EA at 0.1 and 0.01 for the Normal version, and at 0.01 and 0.1 (ie the reverse) for the Reverse version of the EA. And that seems to work pretty well. Better with controller to TM than direct control.
The EA also has BE and TS function so there are lots of options for further optimisation. Experience to date suggests that BE and TS are best left unused. But maybe there are better combinations for lot sizing.

A more general/versatile version of the breakout EA is available at Reply #112 in the mql5 thread above, VFX Breakout 21. I have not tested that one yet.

Happy trading, and please do share results over the year if you are trading an EA with the Controller and Trade Manager. In my next video I will show the use of the Controller with the FX Blue Trade Copier to control copying (normal and inverse) depending on EA performance.


Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063
Controlling the EA - https://www.fxblue.com/users/20469928

(Please note that I have added some extra strategies to these two account recently. I will be adding more and also setting up two other accounts. The whole purpose is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)


You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on January 03, 2018, 11:27:54 AM
Using the EA Controller to control the copying of trades depending on market conditions

The Controller cannot work directly with 3rd party EAs unless they have incorporated the signal code; nor do most 3rd party EAs have an invert/reverse entry trade function.

We can overcome these limitations with 3rd party EAs with the Controller system of trading, by using the FX Blue Trade Copier. A Copier that can be controlled by the EA Controller.

So when the EA is in uptrend, the normal entry trades will be copied.
When the EA is in downtrend, normal entry trades cease being copied while inverted or reversed entry trades will be copied.

This setup is described in Episode 3 of the video series and can be viewed here https://www.youtube.com/watch?v=4ZJtDNdtyiU

For this demonstration I have used the free EA generously supplied by donbon2 for donna forex subscribers - the SQ EURNZD EA. See thread https://donnaforex.com/index.php?topic=19943.msg372991#msg372991   Note that running this EA requires that the TEMA indicator is on the MT4 platform.

I will also set this up on my third account soon so that we will be able to see whether the performance of this EA, which has been good up to date, can be improved over time by trading the inverted copies of the trades (rather than closing down the EA) should market conditions change and cause the normal EA to go into DD.

You could replicate this setup with one or more of your own EAs to see if long term performance can be improved despite changing market conditions which normally would send the EA into DD.

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063
Controlling the EA - https://www.fxblue.com/users/20469928
Controlling the Trade Copier - to come

(Please note that I have added some extra strategies to these two account recently. I will be adding more and also setting up two other accounts. The whole purpose is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on January 06, 2018, 05:19:42 AM
A comparison of the two systems

At this stage we are running two systems with the Controller. One in which the Controller controls the EAs directly; the other in which the Controller controls the Trade Manager which then manages the trades.

The image below shows the comparison to date for four different pairs. I have excluded a second EURUSD pair (FXAE V481614), which is not doing so well on either system at this stage. You can examine all the data on the test accounts by using the links below. As also noted in Post on 31 December 2017, the VFX EURJPY is performing really well, on both systems. At this stage the VFX GBPJPY is line ball. Overall the TM approach is the better system at this stage.

It is also the more versatile system since the TM can manage 3rd party EAs.


Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Controlling the Trade Copier - to come     See video  https://www.youtube.com/watch?v=4ZJtDNdtyiU

(Please note that I have added some extra strategies to these two account recently. I will be adding more and also setting up two other accounts. The whole purpose is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on January 08, 2018, 06:33:20 AM
Setting up 3rd Party EAs for Controlled trading

Have now set up the two trading platforms using IC Markets for the sending account running the 3rd party EAs; and AxiTrader for the receiver account. Using the FX Blue Trade Copier to copy trades between the two. See image below for Sender platform.

I will be running SQ EURNZD, three other free EAs from Dan Murakai and Anna Monti, and the Onda EA which I found in my folder from Andre Salvatori (not free). They provide a mix of trading styles. More on these later.

At this stage I am just going to run them without the Controller and make sure that they are all working properly and that the trade copying (one normal, one inverted/reverse) is as I need it.

The Controlling will be done in the future using the Trade Manager rather than controlling the Copier. By doing it this way, I can just use the one Sender and two Receivers (one Normal one Inverted). Otherwise I would need separate instances of both Senders and Receivers for each EA. That would require a lot of grunt on the VPS.

The one limitation with this method is that we can only have one EA per symbol. Otherwise we would confuse the Trade Manager as to which trades each has to manage.


Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Controlling the Trade Copier - to come     See video  https://www.youtube.com/watch?v=4ZJtDNdtyiU

(Please note that I have added some extra strategies to these two account recently. I will be adding more and also setting up two other accounts. The whole purpose is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2


Title: Re: EA Controller
Post by: diyforexskills on January 08, 2018, 11:20:27 AM
Setting up 3rd Party EAs for Controlled trading

Have now set up the two trading platforms using IC Markets for the sending account running the 3rd party EAs; and AxiTrader for the receiver account. Using the FX Blue Trade Copier to copy trades between the two. See image below for Sender platform.

I will be running SQ EURNZD, three other free EAs from Dan Murakai and Anna Monti, and the Onda EA which I found in my folder from Andre Salvatori (not free). They provide a mix of trading styles. More on these later.

At this stage I am just going to run them without the Controller and make sure that they are all working properly and that the trade copying (one normal, one inverted/reverse) is as I need it.

The Controlling will be done in the future using the Trade Manager rather than controlling the Copier. By doing it this way, I can just use the one Sender and two Receivers (one Normal one Inverted). Otherwise I would need separate instances of both Senders and Receivers for each EA. That would require a lot of grunt on the VPS.

The one limitation with this method is that we can only have one EA per symbol. Otherwise we would confuse the Trade Manager as to which trades each has to manage.


Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Controlling the Trade Copier - to come     See video  https://www.youtube.com/watch?v=4ZJtDNdtyiU

(Please note that I have added some extra strategies to these two account recently. I will be adding more and also setting up two other accounts. The whole purpose is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2


First trade copied as Normal and Inverted

Looks like I have set things up correctly. The Samurai EA took a Sell trade and it was copied both as Normal and as an Inverted trade; at 10x lot size. And the trade Comment has come through correctly.
A 13 pip difference between the Buy and Sell opening price, as shown below.
Title: Re: EA Controller
Post by: diyforexskills on January 09, 2018, 04:17:05 AM
Almost Ready

So by now three EAs have traded and have been copied. Pls see image below.

One EA, AutoPips GU, failed to copy due to Error 130, but I think I have fixed that now, having to do with pending orders. Still waiting for Monti to do its thing on USDCHF.

So now all I still have to do is to add two copies of the Controller to each EA chart on the Sender platform; and then two copies of the Trade Manager for each pair on the Receiver platform, linked to their respective Controllers for Normal and Reverse/Inverted trades. Will get that done by the weekend. Better to have had a few trades so that the Controller can calculate a MA of performance.

See previous two Posts for details on the Special Package.
Title: Re: EA Controller
Post by: diyforexskills on January 10, 2018, 04:59:31 AM
Off to a flying start

The 3rd party EAs are off to a good start and you can monitor the account here https://www.fxblue.com/users/diyforexskillsicm

Of course if this had been a live account, Murphy's law would have been invoked by the universe and the slope would have been down. But we have green pips so far on this demo account. Just trading with 0.01 lots.

The Monti EA USDCHF is still to trade waiting for the Gann2-1 indicator signal. Price is a fair way removed at this stage so might take a while.

I will set up the controllers and TMs on the weekend and record as a (summarised) video.
Title: Re: EA Controller
Post by: diyforexskills on January 11, 2018, 12:55:55 AM
just testing something. can't seem to delete
Title: Re: EA Controller
Post by: diyforexskills on January 11, 2018, 03:37:26 AM
Controlling the EA direct vs Controlling the EA via the Trade Manager

The FXAE V48164 EURUSD M15 EA is exhibiting a nice example of why controlling via the TM can be more profitable.  See image. Scroll fully to the right to see the current values of trades.

Because the market is currently unfavorable for this strategy (closed profit/loss is below its MA), the Normal entry version of the EA has been disabled in the Direct control setup. In the other setup using the TM, the TM for the normal entry has been enabled with SL set to 10 pips. And in both cases the Reverse entry version is now trading.

However, price turned quickly once the trade was entered and so in fact it is the Normal entry version that is in profit, while the Reverse entry is in loss. Since this turnaround in price happened almost immediately, the 10 pip SL was not hit and so on the TM version of the setup, the Normal entry is now nicely in profit offsetting the loss that has occurred on the Reverse entry. Overall a $1 loss vs a $9 loss at this stage.

Of course there is still a long way to go before the trades are closed but hopefully this gives some insight as to why these two systems behave differently. Currently the TM version is way outperforming the direct control version of the system.

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Controlling the Trade Copier - to come     See video  https://www.youtube.com/watch?v=4ZJtDNdtyiU

Title: Re: EA Controller
Post by: diyforexskills on January 12, 2018, 01:53:17 AM
Setting up 3rd Party EAs for Controlled trading

Have now set up the two trading platforms using IC Markets for the sending account running the 3rd party EAs; and AxiTrader for the receiver account. Using the FX Blue Trade Copier to copy trades between the two. See image below for Sender platform.

I will be running SQ EURNZD, three other free EAs from Dan Murakai and Anna Monti, and the Onda EA which I found in my folder from Andre Salvatori (not free). They provide a mix of trading styles. More on these later.

At this stage I am just going to run them without the Controller and make sure that they are all working properly and that the trade copying (one normal, one inverted/reverse) is as I need it.

The Controlling will be done in the future using the Trade Manager rather than controlling the Copier. By doing it this way, I can just use the one Sender and two Receivers (one Normal one Inverted). Otherwise I would need separate instances of both Senders and Receivers for each EA. That would require a lot of grunt on the VPS.

The one limitation with this method is that we can only have one EA per symbol. Otherwise we would confuse the Trade Manager as to which trades each has to manage.


Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Controlling the Trade Copier - to come     See video  https://www.youtube.com/watch?v=4ZJtDNdtyiU

(Please note that I have added some extra strategies to these two account recently. I will be adding more and also setting up two other accounts. The whole purpose is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2


Multiple MT4s on the one account

Pete reminded me last week that we can run one account over several MT4s. Once I finally got my brain into gear, I realised that this could be another, and perhaps better way of setting up the system to run 3rd party EAs in which we use the Trade Copier to copy both Normal entry and Reverse entry trades to a second platform.

So we would have one MT4 on the Controller account on which we run our EAs normally with the Controllers and Trade Copier Sender; and then two other MT4s both on the same Controlled account; one MT4 would have the Trade Copier Receiver to copy the trades in Normal fashion; the other MT4 would have the Receiver to copy the trades in the Inverted/Reversed fashion. And so we would have far less chance of the Trade Managers managing the wrong trades.

In this way we optimise the MT4 performance which is important since we are loading up the MT4s with a fair bit of processing requirements - EAs, indicators, TMs, Trade Copiers.

A step by step guide on setting up multiple MT4s on the one account is given here
https://mt4.quantumtrading.com/support/how-to-install-multiple-instances-of-metatrader-4-terminal/

As the author points out:

"The primary goal of this setup is to effectively distribute memory usage and optimize the performance of each MT4 instance. The MetaTrader 4 platform is a 32-bit application which means that it is unable to utilize and maximize the full extent of your hardware."

It is also worth remembering to do the simple things like hiding unused symbols and reducing max history bars etc on each MT4 to improve performance as pointed out by jagzfx in this thread, Rely #1  https://donnaforex.com/index.php?topic=19949.msg373269#new
Title: Re: EA Controller
Post by: diyforexskills on January 14, 2018, 12:34:29 PM
Off to a flying start

The 3rd party EAs are off to a good start and you can monitor the account here https://www.fxblue.com/users/diyforexskillsicm

Of course if this had been a live account, Murphy's law would have been invoked by the universe and the slope would have been down. But we have green pips so far on this demo account. Just trading with 0.01 lots.

The Monti EA USDCHF is still to trade waiting for the Gann2-1 indicator signal. Price is a fair way removed at this stage so might take a while.

I will set up the controllers and TMs on the weekend and record as a (summarized) video.

Up and running

I have now completed the setup for running the 3rd party EAs and managing the copied trades with the Trade Manager under the control of the EA Controller. You can view the video for that here
https://youtu.be/XAF4WmJE9mg

At this stage 4 of the 5 EAs have traded but the controlling will only be starting this week. The two accounts can be monitored here

https://www.fxblue.com/users/diyforexskillsicm  - the 3rd party EAs controller platform; and

https://www.fxblue.com/users/20419065  - the copied trades platform managed by the Trade Managers via the Controller. This account is currently in small deficit because both normal and reversed trades have been taken irrespective of whether the EA was in uptrend or downtrend. We just needed to establish a short trading history and we wanted to make sure that the system was copying all trades in both the normal and inverted fashion. Only one reversed trade was missed in the copying process. So comparisons for the first week, just passed, should be ignored.

And now it's time for some sleep!! :(
Title: Re: EA Controller
Post by: petermatt on January 17, 2018, 02:17:20 AM
Hi Andrew,

2 queries on my Demo of the Special Package:

At the moment I have all 3 pairs (EURUSD, USDCHF and VFX)  setup under the control of the Controller on a single Demo account and on a single platform. Trading started on 27th December and so far has generated a $650 profit including 2 EURNZD trades (1 profit/1 loss) from donbon2's SQ EURNZD EA. I have now also setup a separate Demo account with just the VFX EAs trading under the control of the Controller/Trade Manager to test this as well.

I look forward to your reply in due course.

Pete
[/list]
Title: Re: EA Controller
Post by: diyforexskills on January 17, 2018, 03:24:21 AM
Hi Andrew,

2 queries on my Demo of the Special Package:
  • a. Although in the EURUSD Normal and Reverse Preset files there is  the Order_Comment "V48 164 EURUSD Normal M15" and "V48 164 EURUSD Reverse M15" respectively, these comments do not appear in the MT4 Comment open or closed trades for that pair. The Preset comment "FXAE V48 164 EURUSD M15 Init" does however appear in the MT4 Comment column for the EURUSD Controller EA. Neither the USDCHF or VFX EAs have this issue.
  • b. The Controller indicator Preset supplied has, as you know, settings for Trade At Start = True and the Average Period = 5. What is the effect of changing the Average Period to a higher number - say 10 or 20? Does this mean there would be fewer trades or more accurate entries or does it not really change anything about the way the EA's trade or, if so, what exactly?.

At the moment I have all 3 pairs (EURUSD, USDCHF and VFX)  setup under the control of the Controller on a single Demo account and on a single platform. Trading started on 27th December and so far has generated a $650 profit including 2 EURNZD trades (1 profit/1 loss) from donbon2's SQ EURNZD EA. I have now also setup a separate Demo account with just the VFX EAs trading under the control of the Controller/Trade Manager to test this as well.

I look forward to your reply in due course.

Pete
[/list]

Hi Pete

a. Looks like I made the Order Comment too long. So pls go into Order Comment on Inputs and change to something like V48 164 N EUM15 and V48 164 R EUM15

b. The Average period setting for the Controller's MA specifies over how many closed trades the MA of profit/loss should be calculated. So has no impact on number of trades taken.
But just like using short MAs of price as entry/exit signals can lead to being chopped in and out of trades, the same applies to short MAs of account Balance (closed profit/loss). EAs in this case will be enabled/disabled due to whipsaw.

Balance/performance curves also need "room to breathe" just like individual trades. Pls see image below for the VFX EJ EA that I have been trading for a while.

So I normally start with MA 5, especially when trade at start is set to false, so that the trading on the controlled account can start reasonably quickly (ie after 5 trades), and then increase it to 10, then 20 and maybe 30 as trades accumulate.
The point is that controlling can only start once a MA of Balance can be calculated. So if we were to start with MA20, controlling cannot start till after 20 trades have been closed. Only then would we know whether the EA is in uptrend (closed profit/loss above its MA), or in downtrend (closed profit/loss below its MA).

Title: Re: EA Controller
Post by: 5ninefish on January 19, 2018, 01:51:46 AM
Maybe I'm misunderstanding the purpose of this EA, but could it be used to control an EA like SFE PA or Momentum that go through long periods of stagnation and steady drawdown? Could this "turn off" the EA during those periods then turn it on when it goes profitable? I've suffered through extended periods of drawdown with SFE punctuated by occasional bursts of green, and I'm willing to try any method to ease that pain.
Title: Re: EA Controller
Post by: diyforexskills on January 19, 2018, 03:23:55 AM
Maybe I'm misunderstanding the purpose of this EA, but could it be used to control an EA like SFE PA or Momentum that go through long periods of stagnation and steady drawdown? Could this "turn off" the EA during those periods then turn it on when it goes profitable? I've suffered through extended periods of drawdown with SFE punctuated by occasional bursts of green, and I'm willing to try any method to ease that pain.

It could but indirectly. The Controller can directly control another EA but only if that EA has incorporated the signal code. Most developers are reluctant to do that even though I am willing to give that bit of code away for free.

So there are two alternatives.
1. Run the EAs on a demo account, or at microlot on a live account, add the Controller, and then copy the trades to the (main) live account using the FX Blue Copier under the control of the Controller. So when the EA goes into a DD period, the copying will be stopped; and the copying will restart when the EA goes into uptrend.
2. Run the EAs as normal, add the Controller and link the Controller to the DIY Trade Manager Plus with a SL setting of just a few pips. All on the same platform. When the EA goes into DD, the TM will be activated so any losing trade will be closed very quickly for only a few pips loss. When the EA goes into uptrend, the TM will be disabled and so the EA will trade as normal.

You can get both the Controller and the TM for just $100 for the rest of the year as per details at Reply#178. You would need to see what would be the best setting for the Controller, especially during stagnation periods (fairly flat performance curve) to avoid being whipsawed on and off. But if you have been trading these EAs for a while, you will have a nice data set so that you can visually determine what are likely to be the best settings, using either the MA or RSI version of the Controller.

You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on January 19, 2018, 03:51:58 AM
Maybe I'm misunderstanding the purpose of this EA, but could it be used to control an EA like SFE PA or Momentum that go through long periods of stagnation and steady drawdown? Could this "turn off" the EA during those periods then turn it on when it goes profitable? I've suffered through extended periods of drawdown with SFE punctuated by occasional bursts of green, and I'm willing to try any method to ease that pain.

It could but indirectly. The Controller can directly control another EA but only if that EA has incorporated the signal code. Most developers are reluctant to do that even though I am willing to give that bit of code away for free.

So there are two alternatives.
1. Run the EAs on a demo account, or at microlot on a live account, add the Controller, and then copy the trades to the (main) live account using the FX Blue Copier under the control of the Controller. So when the EA goes into a DD period, the copying will be stopped; and the copying will restart when the EA goes into uptrend.
2. Run the EAs as normal, add the Controller and link the Controller to the DIY Trade Manager Plus with a SL setting of just a few pips. All on the same platform. When the EA goes into DD, the TM will be activated so any losing trade will be closed very quickly for only a few pips loss. When the EA goes into uptrend, the TM will be disabled and so the EA will trade as normal.

You can get both the Controller and the TM for just $100 for the rest of the year as per details at Reply#178. You would need to see what would be the best setting for the Controller, especially during stagnation periods (fairly flat performance curve) to avoid being whipsawed on and off. But if you have been trading these EAs for a while, you will have a nice data set so that you can visually determine what are likely to be the best settings, using either the MA or RSI version of the Controller.

You can purchase the licence for 2018 from here
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2

I just had a look at the features of these two EAs, SPE PA and Momentum.

And see that each of them can be traded on many different pairs.

So I need to provide some qualifications on using the Controller with these types of EAs..

The Controller can have up to 10 magics per EA buy they have to be for the same pair - so for different strategies for the same pair. In your case they are the same strategy but on different pairs.
So if you were to trade the EA on say 5 of these pairs, you would need a copy of the Controller for each of the pairs and so each symbol/pair would be controlled individually.
You would have to use 5 sets of the Trade Copier as well which I would not recommend since it would place a large strain on the VPS.
So use the TM route - one copy of the TM for each pair.
Title: Re: EA Controller
Post by: petermatt on January 20, 2018, 12:27:27 AM
I'm sorry but I still don't get it.
I set up a separate Demo account to test the VFX EA with the Controller/Trade Manager. The Controller Trade at Start was set to True MA5 but all other Presets are default.

What I expected was that with the Trade Manager managing the trades there would be a 10 pip loss on losing trades. What I actually got was:
1. Controller EA - SL 28.2 pips (Expected as EA Default SL is 30 and Controller EA is not managed by the Trade Manager)
2. Normal EA - SL 10 pips (Expected)
2. Reverse EA - SL 30 pips (Expected only 10 Pips).

See attached.

Pete
Title: Re: EA Controller
Post by: diyforexskills on January 20, 2018, 03:53:06 AM
I'm sorry but I still don't get it.
I set up a separate Demo account to test the VFX EA with the Controller/Trade Manager. The Controller Trade at Start was set to True MA5 but all other Presets are default.

What I expected was that with the Trade Manager managing the trades there would be a 10 pip loss on losing trades. What I actually got was:
1. Controller EA - SL 28.2 pips (Expected as EA Default SL is 30 and Controller EA is not managed by the Trade Manager)
2. Normal EA - SL 10 pips (Expected)
2. Reverse EA - SL 30 pips (Expected only 10 Pips).

See attached.

Pete

Hi Pete
For testing/understanding purpose, you would be better off trying this system on either of the FXAE EAs.

Reason is that the VFX EA is a bit of an unusual beast in terms of its Reverse function. Let me try and explain.

The VFX EA v1.4, a 3rd party EA, has two trade entries; one is the normal one and the other is the reverse which is set as a pending order and  only triggered at the SL level set for the normal entry. It is NOT triggered at the same level as the normal one.

So in the SET files I have provided, I have set Normal version of the EA (magic  6112237) to trade at 0.1 for the normal entry and 0.01 for the reverse entry. And then for the Reverse version of the EA (magic 9112237) I have set normal entry at 0.01 and Reverse at 0.1. (Note that we have to set lot sizes for both entries otherwise the EA won't trade.)

In other words it is not a true Reversed EA. But since it is a 3rd party EA there is nothing I can do about that. And it is proving to be profitable when run in this setup you are testing.

Except for the trade on 18 Jan! That day we got badly whipsawed. So the normal entry was triggered; closed at SL and then the reverse entry was triggered. But then price reversed again and so the reverse entry was also closed at its SL.

From the record you have provided and looking at the trades by magic number, it looks as if the three trades were opened correctly at 11.40 but for some reason the reverse entry on the Normal EA (6112237) was cancelled immediately and for some reason the TM for the Normal EA (6112237) was activated closing the trade at 17.23. Since you had trade at start true and MA 5, the TM should not have been active since these were the first trades on this account, (ie less than 5 completed trades); so this has to be a glitch. I have not seen this before but I have had other sorts of glitches on MT4 from time to time.

The other trades were opened at 18.23 and closed correctly.

(When a No shows on the TM chart, the No means that the EA on the Controller chart or platform is in downtrend/DD and hence the EA should not be trading. So since we are controlling EAs via the TM in this case, then the TM needs to be activated when this occurs, ie when the signal is No. So that it can then apply the tight SL of 10 pips or whatever. Hence the TM interprets a No signal as a sign that it has to be active - the TM is thinking "this trade should not be occurring so I have to close it quickly if it indeed it goes into a loss".)

If you look at my test account for this setup at https://www.fxblue.com/users/20419063, and Filter for 18 Jan 2018 and eurjpy, then for the same day/same trades the setup worked correctly. But then this account has a longer history, the VFX EA is in uptrend and so the TM closed the normal trade (0.01 lot) on the Reverse EA (magic 9112237) at 10 pips SL thus cancelling the other one. So the 5 trades collectively only suffered a $28 loss.
Title: Re: EA Controller
Post by: petermatt on January 20, 2018, 07:46:31 PM
Hi Andrew,

So I guess, in a nutshell, the Trade Manager does not really control the trades once they are triggered as the 10 pip Stop Loss only appeared to worked in your account on one trade.  Can I therefore assume that there is no history showing that using the Trade Manager 10 pip S/L with VFX is more profitable than just using the Controller. I do have another Trade Manager that I can test with VFX which will overide the SL/TP of the EA in all cases.

Pete


Title: Re: EA Controller
Post by: diyforexskills on January 20, 2018, 09:14:59 PM
Hi Andrew,

So I guess, in a nutshell, the Trade Manager does not really control the trades once they are triggered as the 10 pip Stop Loss only appeared to worked in your account on one trade.  Can I therefore assume that there is no history showing that using the Trade Manager 10 pip S/L with VFX is more profitable than just using the Controller. I do have another Trade Manager that I can test with VFX which will overide the SL/TP of the EA in all cases.

Pete

Hi Pete

Don't have time now to show you, (off to Melbourne for the tennis) but the TM does work and it did exactly as it should in the example I shared; it was only supposed to work on that one trade since that was the one that had to be stopped based on the performance curve. The EA on my account is in uptrend and therefore the TM was deactivated for the Normal version of the EA (6112237). Your other TM won't have the signal code so it won't be able to respond to the signals from the Controller. In this setup the TM is under the control of the Controller calculating when the EA is in uptrend or downtrend, and activating the TM to manage accordingly.
Title: Re: EA Controller
Post by: diyforexskills on January 22, 2018, 06:08:44 AM
Hi Andrew,

So I guess, in a nutshell, the Trade Manager does not really control the trades once they are triggered as the 10 pip Stop Loss only appeared to worked in your account on one trade.  Can I therefore assume that there is no history showing that using the Trade Manager 10 pip S/L with VFX is more profitable than just using the Controller. I do have another Trade Manager that I can test with VFX which will overide the SL/TP of the EA in all cases.

Pete

Hi Pete

Don't have time now to show you, (off to Melbourne for the tennis) but the TM does work and it did exactly as it should in the example I shared; it was only supposed to work on that one trade since that was the one that had to be stopped based on the performance curve. The EA on my account is in uptrend and therefore the TM was deactivated for the Normal version of the EA (6112237). Your other TM won't have the signal code so it won't be able to respond to the signals from the Controller. In this setup the TM is under the control of the Controller calculating when the EA is in uptrend or downtrend, and activating the TM to manage accordingly.

In my rush I may not have understood your question correctly, or at least fully. So let me try again.

Issue 1: Control directly or via the TM?
The VFX EA is the only 3rd party EA for which I have the source code and so that is the only one that I have been able to modify with the signal code. So this is the only 3rd party EA for which we can compare the two methods - direct control of EA vs indirect control of EA via the TM.
In the direct method the EAs (Normal and Reverse) are switched on or off as required by the Controller. In the indirect method the EAs are allowed to run continuously and the TM then selectively closes any opened trades that would otherwise have never opened as in the direct method, once it reaches -10 pips.
To date I am getting better results for this EA (VFX EJ) using the indirect method.

Issue 2: Effectiveness of the DIY Trade Manager Plus
The TM is NOT supposed to close every trade at -10 pip. If that is what we wanted, we would just set the SL to -10 on the EA. In this indirect method we want the TM to only close a trade at -10 pip depending on whether the EA's performance is in uptrend or downtrend. The DIY TM Plus has been coded so that it can receive signals from the Controller. 3rd party TMs do not have that code so they cannot be used in this manner.

I hope that is clearer.

For the comparison, Filter for eurjpy on the following two accounts. Profit factor 2.22 vs 1.85 for EURJPY

Controlling the Trade Manager - https://www.fxblue.com/users/20419063
Controlling the EA - https://www.fxblue.com/users/20469928

Title: Re: EA Controller
Post by: nwboater on January 28, 2018, 04:52:15 AM
I just saw your post in the "Quitting Forex" thread. You replied after some comments on the poor performance of breakout strategies the past few months.

My understanding of breakout systems are that we must endure sometimes long stagnant or DD periods until a big trend develops. If this new trend hits suddenly I wonder if your system would react in time to allow the breakout EA to profit as it should?

Thanks,
Rod
Title: Re: EA Controller
Post by: diyforexskills on January 28, 2018, 05:25:52 AM
I just saw your post in the "Quitting Forex" thread. You replied after some comments on the poor performance of breakout strategies the past few months.

My understanding of breakout systems are that we must endure sometimes long stagnant or DD periods until a big trend develops. If this new trend hits suddenly I wonder if your system would react in time to allow the breakout EA to profit as it should?

Thanks,
Rod

Hi Rod,

That is something we would need to test. The Controller can work in one of two ways.

1. By calculating a MA of user-defined "period" (= number of closed trades) of the Balance curve (closed profit/loss).

2. By calculating the RSI of the Balance curve over a user-defined number of trades and setting the desired level(s).

So the timeliness of response by the Controller signalling uptrend or downtrend is dependent on whether we have set a tight or loose MA or RSI of the Balance curve. We can change the setting at any time. So if for example we had been in a long DD, we could then tighten the MA or RSI to get an earlier signal for a new uptrend.
Or, with the RSI version, we could set the RSI level to say 30 (rather than 50) and wait for the Balance curve to breach that RSI level.
Title: Re: EA Controller
Post by: diyforexskills on January 31, 2018, 07:34:11 AM
Time for a check-up

The first two tests in this year-long experiment have now been going for over six weeks. Two EAs were started early October, the others in mid-December. So still early days but worth checking. (The background to all this is explained in Reply #159.)

These first two tests involve running the Normal entry version of the EA when the market conditions are favourable (ie performance is in uptrend); and running the reverse entry version when the EA is in downtrend. And then the two ways of doing that:
1. Controlling the EAs directly (EA on or off depending whether in uptrend or downtrend)
2. Controlling the EAs via the use of the Trade Manager (using the TM to close unwanted trades depending on uptrend or downtrend)

I am using the profit factor (pf) to compare results so that we are not dependent on varying lot sizing.

There are two sets of comparisons to make:
1. The performance of the Monitoring EA (the uncontrolled copy) vs that of the system Total in each case.
2. The performance for each EA in Total under the two different control systems (direct and via TM).

The results are shown in the attached. The two columns of interest are highlighted. My conclusions from this data are as follows:
 
1. The EURJPY EA performs well by itself (pf 2.08) and slightly better when run with the TM setup (pf 2.13)

2. The EURUSD (48164) performs better when run with either system compared to running it normally (pf rises from 0.78 when run by itself to around 1.3 when run by either system)

3. The results to date for EURUSD (481614), GBPJPY and USDCAD are not encouraging.

4. The finer details in the data reveal that trades are randomly missed some times and that the scale-in trades for EURUSD (481614) and USDCAD are generally negative. So I have now deleted these scale-in entry conditions from the respective strategies. And in the TM system setup, I have reduced the TM's SL setting from 10 pips to 5. The 10pips SLs were getting too expensive relative to the TP levels.


Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 14 Nov 2017. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017)

Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Controlling the Trade Copier - to come     See video  https://www.youtube.com/watch?v=4ZJtDNdtyiU

(The whole purpose of these tests is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on February 01, 2018, 07:19:45 AM
Another way is coming....

In addition to the two tests described in the previous Reply, we are running a third test where we use the FX Blue Trade Copier to copy both normal and inverted trades and control these with the use of the Trade Manager. Still too early to analyse the results from this.

However, I have now thought of a fourth way by which we can effectively trade normal and reverse trades depending on market conditions.

To do this I am having the Trade Manager modified so that it can enter either normal or reverse entry scale-ins.

So we will run the EA at 0.01 lot, add two copies of the Controller, and load a copy of the TM on each of two extra charts.

When the EA performance is in uptrend, Controller1 will signal to TM1 to add a normal scale-in of 0.1 lot at 5 pips in profit with TP and SL set in accordance with the settings on the EA. And Controller2 will deactivate TM2.

When the EA encounters unfavorable market conditions and goes into downtrend, Controller1 will deactivate TM1. And Controller2 will signal to TM2 to add a reverse scale-in of 0.1 lot at -5 pips in loss.

The Controllers will be set to only measure the performance of the EA-initiated trades by using its magic number. The TM-initiated scale-in trades will operate under their own trade comment.

I am hoping to have this in place some time next week. And make this new version of the TM available to current and new subscribers to this Special Package.
Title: Re: EA Controller
Post by: diyforexskills on February 06, 2018, 04:37:29 AM
Controlling with the Trade Manager

Two recent trades by donbons EURNZD EA demonstrate nicely why using the TM to control the Normal entry and Reverse entry trades may be more beneficial than switching the EA on or off depending on the EAs performance.

The EA was in downtrend, closed profit/loss below its MA10, and hence the TM for the Normal entry was switched on and the TM for the Reverse entry was switched off. The EA entered a Sell trade and so the normal entry version EA also entered a Sell trade which should have been closed by the TM at -5 pips.

But price continued heading down when the trade was opened and so the -5 pips SL was not hit and the trade was ultimately closed in profit. This unexpected win largely offset the loss suffered by the reverse entry version EA. (Since the EA was in DD, then in theory, this version should have finished in profit.)

In the previous (Buy) trade we we were not so lucky and so the use of the TM did not provide any advantage.

The image below shows the copied trades that were controlled by the TM.

Before we jump with joy, and at this early stage of testing, we  are not getting any benefit from trading this EA with the Controller system. We are slightly worse off but that is largely due to setting "trade at start" to true (ie the TMs were active from the start). Better off waiting for some 10 or 20 trades to be completed before trying to control the EA based on its performance curve.
Title: Re: EA Controller
Post by: diyforexskills on February 10, 2018, 03:32:32 AM
Report on Second test using the Trade Manager

In this test we are trading five EAs all on the one MT4. Five charts for each EA.
One chart has the EA running normally at 0.01 lot - this is the reference or monitoring chart on which we place the EA Controllers which control the TMs.
The next chart has the Normal entry version running at 0.1 lot and controlled by a TM which is placed on another chart; likewise for the Reverse entry version of the EA.

In the results below I have captured all trades since 1 Jan 2018. I chose that date since prior to that we had two different starting times for the EAs and initially we had trade at start set to true and so the TMs were not managing the trading as they should. We need some time for the performance curve to be established so that the Controller can operate.

As we can see, the trading performance is considerably improved by trading as a system with the Controller and TM. Remember too that the normal trading is at only 0.01 lot (so the $60 or so loss shown on the top chart would equate to a $600 loss if traded also at 0.1 lot); the Controlled trading is at 0.1 lot.

In both the 4 EA and 5 EA portfolios, the Controlled trading results in a profit; normal trading of these EAs as a portfolio resulted in a loss.

But of course we need longer term data so the testing will continue.
Title: Re: EA Controller
Post by: diyforexskills on February 12, 2018, 06:40:49 AM
(Variation on) Equity Curve Trading

The system of trading that we are doing with the EA Controller is a version of what is commonly called Equity Curve trading (https://www.financemagnates.com/forex/bloggers/equity-curve-trading-part-1-moving-averages/ ). Should actually be called Balance Curve trading since we are basing decisions on the Balance of the account (closed P/L) and not the Equity (closed P/L plus open P/L).

So essentially trade while the EA's performance is positive, stop trading when it goes into DD, and restart trading when it starts to perform positively again.

The one big difference in what we are doing with the Controller system is that as well as stopping trading of the normal EA when it is in DD, we also activate a copy of the EA that takes the reverse trades. Hence instead of just worrying about not losing money while our EA is in DD, we actually focus on making money as well by reversing the trades - Buy becomes a Sell and vice versa.

Included in the data posted in the previous Reply, is the data for one of the Autotrader EAs, 48164 EURUSD M15. Taking that data out is shown below.
So what we can see is that even though the EA has been in DD for most of the period, refer data for Magic 48164, overall the EA has been profitable since the reverse version of the EA, 948164, has been in play for most of the time and has been profitable. In this particular system using the TM, the Normal version of the EA, 648164, has also been trading but the TM has closed the trades at a very tight SL (initially -10 pips and now set to -5 pips) whenever the EA, 48164, was in DD.

The comparison is shown graphically in the second image.
Title: Re: EA Controller
Post by: diyforexskills on February 13, 2018, 04:34:34 AM
Simulate Reverse trade entry

As mentioned yesterday
"The one big difference in what we are doing with the Controller system is that as well as stopping trading of the normal EA when it is in DD, we also activate a copy of the EA that takes the reverse trades. Hence instead of just worrying about not losing money while our EA is in DD, we actually focus on making money as well by reversing the trades - Buy becomes a Sell and vice versa."

To do that however the EA needs to be equipped with the signal code and it needs to have a reverse entry feature. All EAs made with the FX Autotrader Elite have those features. But for some strange reason not everyone seems to have the Autotrader.   :)  Nor is everyone subscribed to the Special offer for 2018! See Reply #154      What a shame.

But we now have another option that can work with any EA.

I have modified the TM so that it can take reverse entry scale-ins at either +ve or -ve pip values (Stop or Limit orders). By way of example we can now proceed as follows.

1. Place the EA on a chart together with the EA Controller. Set normal lot size, ie the lot size you would trade based on your risk tolerance. Let's say 0.1 lot.

2. Place the DIY Trade Manager Plus V15.00 (due for release soon) on a second chart of the same currency pair. And set a reverse scale-in of 0.2 lot at -5 pips; and appropriate SL and TP and TS.  Enter ID# to link to the Controller which is set to activate the TM whenever the EA is in DD.

3. So when market conditions are favourable the EA will trade as normal with 0.1 lot. When market conditions become unfavourable the EA will start losing, going into DD. When that happens the TM will be activated and when the trade goes to -5pips, the reverse scale-in of 0.2 lot will be entered.

4. Assuming that the trade will continue into loss (after all market conditions are unfavorable so that is what we expect), half of that lot size, ie 0.1 lot, will offset the loss being made by the EA; and the other half of the lot size, the other 0.1 lot, will provide the profit.

So we have effectively opened a reversed trade by using the TM's reverse scale-in feature. And the Controller does not need to control the EA (no signal code needed); it controls the TM instead.

So unlike Test 1 where we are using 5 charts per EA, or Test 3 where we are using the Trade Copier to reverse trades, with this new method we need just two charts per EA and we don't need to use the Trade Copier.

That should lead to smiles all around. Oh well, maybe just me...

I will be setting up Test 4 with this setup soon and provide links to the new account.

The image shows part of the TM V15.00 Inputs for the scale-in feature. (We can do either normal or reverse (stop or limit pending orders) scale-ins and in user-defined steps, eg 10,20,30 etc or -10,-20,-30 for the martingalers).
Title: Re: EA Controller
Post by: diyforexskills on February 17, 2018, 04:20:18 AM
Performance Update

We currently have 3 tests running with the test involving the use of the Controller in conjunction with the Trade Manager showing the most promise. The overall stats for this since 1 Jan 2018 till present is shown below. In order to make sense of this table please note as follows.

1.The magics shown in red box are the EAs running as monitor at 0.01 lot
2. The magics starting with 6 are the normal entry versions trading at 0.1 lot and controlled via the TM
3. The magics starting with 9 are the reverse entry versions trading at 0.1 lot and controlled via the TM

So the crude comparison is to either use profit factor, or multiply P/L by 10 for the monitoring EAs trading at 0.01 lot, and compare that to the sum of P/L of the corresponding magics starting with 6 and 9.

When we do that we can conclude at this early stage:

1. Overall trading these five EAs by themselves would have resulted in a loss of $570 ($57 x 10); trading them as a system with the Controller and TM would have resulted in a profit of $132. (That is a huge $700 difference in our favour).

2. Virtually no difference for EURJPY, GBPJPY and USDCAD EAs whether trading by themselves or as a system at this stage.

3. Good improvement for the trading of the two EURUSD EAs, FXAE 481614 and 48164.

When we compare this system (Controller plus TM) to the other system where we switch EAs on and off (Test 2), we see that the former has many more trades since all versions of the EAs are always trading with trades being closed by the TM only if and when the trade hits the 5 or 10 pip SL. This seems to bear fruit since the direct control system has lost $287 to date compared to the gain made by the Controller plus TM system of $132.

The third test uses 3rd party EAs and the FX Blue Trade Copier to invert trades and then managing these with the TM. I will be replacing this test with the new test described in the previous Post. Will be a less CPU resource intensive way of testing the same thing.

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 1 January 2018. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017 and 17 December 2017)

Test 1: Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Test 2: Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Test 3: Controlling the Trade Copier - to be replaced     See video  https://www.youtube.com/watch?v=4ZJtDNdtyiU

(The whole purpose of these tests is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2

Title: Re: EA Controller
Post by: diyforexskills on February 18, 2018, 07:09:46 AM
Setting up Test 4

This Test will involve the use of the Controller with the updated TM which can enter reverse scale-ins to simulate reverse entry trades during DD periods (as described in Reply #207).

At this stage I have just set up the EAs to run normally for a week or so until they have done about 10 to 20 trades. Then we will have a bit of a performance curve and so can add a meaningful MA for the Controller.

The EAs I have selected for this Test all have a different trading logic and are freely available (apart from the FXAE 48164 which comes as part of the Special Package. It is the one common EA in all three Tests so that we can compare which method of controlling works best). They are:

1.PZ TheZone on AUDUSD H1  http://www.pointzero-trading.com/Products/free  This customizable and flexible expert advisor trades according to Bill Williams definition of the Trading Zone.
2. PZ ADX Trader on EURAUD H1   http://www.pointzero-trading.com/Products/free  Flexible expert advisor that trades according to the ADX Indicator. It offers flexible entry strategies and position management. This one has been losing badly in my initial testing and so I want to see whether we can "rescue" it by trading with the Controller and TM.
3. FXAE 48164 on EURUSD M15  http://www.fxautotraderelite.com/resources/ Based on several MAs with hedging enabled
4. Forex FireBall on EURUSD M1  https://forexrobotnation.com/your-first-free-forex-robot/  No explanations given by developer but it's working for me
5. Best Free Scalper v1.2 on GBPCAD M1 https://donnaforex.com/index.php?topic=19928.0  A free Asian session scalper by Automater and using the SET file provided by the developer. Both downloadable from Post1 in that Thread
6. SQ EURNZD EA on M15  https://donnaforex.com/index.php?topic=19943.0 See explanation from donbon2 in the Thread
7. Forex Samurai on EURUSD H1   http://www.fxsamurairobot.com/ Gets the trading activity of previous week and analyzes the market quotes, all its trades and results, checks support and resistance levels and some other filters. Sure, many filters reduce trades quantity. It makes 1 order in 1-2 days normally.

So when I add a TM for each in a week or so we will have 14 charts open which should be quite doable. Let the games begin.....

PS Forgot about the 8th

8. VFX London Breakout v1.12 on GBPJPY H1 https://www.mql5.com/en/code/17465  Works as per name. This is the version which does NOT have a reverse entry at the SL of the initial entry, as does v1.3 which is used in Tests 1 and 2. BT by a colleague shows that this version (1.12) on this pair is profitable overall but can have longish DD periods; so should be a good test to see if the Controller can improve performance. during such DD periods.
Title: Re: EA Controller
Post by: Humble Trader's Fx on February 18, 2018, 12:57:52 PM
I'm sorry but I still don't get it.
I set up a separate Demo account to test the VFX EA with the Controller/Trade Manager. The Controller Trade at Start was set to True MA5 but all other Presets are default.

What I expected was that with the Trade Manager managing the trades there would be a 10 pip loss on losing trades. What I actually got was:
1. Controller EA - SL 28.2 pips (Expected as EA Default SL is 30 and Controller EA is not managed by the Trade Manager)
2. Normal EA - SL 10 pips (Expected)
2. Reverse EA - SL 30 pips (Expected only 10 Pips).

See attached.

Pete

Hi Pete
For testing/understanding purpose, you would be better off trying this system on either of the FXAE EAs.

Reason is that the VFX EA is a bit of an unusual beast in terms of its Reverse function. Let me try and explain.

The VFX EA v1.4, a 3rd party EA, has two trade entries; one is the normal one and the other is the reverse which is set as a pending order and  only triggered at the SL level set for the normal entry. It is NOT triggered at the same level as the normal one.

So in the SET files I have provided, I have set Normal version of the EA (magic  6112237) to trade at 0.1 for the normal entry and 0.01 for the reverse entry. And then for the Reverse version of the EA (magic 9112237) I have set normal entry at 0.01 and Reverse at 0.1. (Note that we have to set lot sizes for both entries otherwise the EA won't trade.)

In other words it is not a true Reversed EA. But since it is a 3rd party EA there is nothing I can do about that. And it is proving to be profitable when run in this setup you are testing.

Except for the trade on 18 Jan! That day we got badly whipsawed. So the normal entry was triggered; closed at SL and then the reverse entry was triggered. But then price reversed again and so the reverse entry was also closed at its SL.

From the record you have provided and looking at the trades by magic number, it looks as if the three trades were opened correctly at 11.40 but for some reason the reverse entry on the Normal EA (6112237) was cancelled immediately and for some reason the TM for the Normal EA (6112237) was activated closing the trade at 17.23. Since you had trade at start true and MA 5, the TM should not have been active since these were the first trades on this account, (ie less than 5 completed trades); so this has to be a glitch. I have not seen this before but I have had other sorts of glitches on MT4 from time to time.

The other trades were opened at 18.23 and closed correctly.

(When a No shows on the TM chart, the No means that the EA on the Controller chart or platform is in downtrend/DD and hence the EA should not be trading. So since we are controlling EAs via the TM in this case, then the TM needs to be activated when this occurs, ie when the signal is No. So that it can then apply the tight SL of 10 pips or whatever. Hence the TM interprets a No signal as a sign that it has to be active - the TM is thinking "this trade should not be occurring so I have to close it quickly if it indeed it goes into a loss".)

If you look at my test account for this setup at https://www.fxblue.com/users/20419063, and Filter for 18 Jan 2018 and eurjpy, then for the same day/same trades the setup worked correctly. But then this account has a longer history, the VFX EA is in uptrend and so the TM closed the normal trade (0.01 lot) on the Reverse EA (magic 9112237) at 10 pips SL thus cancelling the other one. So the 5 trades collectively only suffered a $28 loss.

Hello, diyforexskills.

Interesting challenge, looking forward to your results, especially on BFS.

Regards, :)
HumbleTrader
Title: Re: EA Controller
Post by: diyforexskills on February 20, 2018, 03:06:43 AM
Setting up Test 4

This Test will involve the use of the Controller with the updated TM which can enter reverse scale-ins to simulate reverse entry trades during DD periods (as described in Reply #207).

At this stage I have just set up the EAs to run normally for a week or so until they have done about 10 to 20 trades. Then we will have a bit of a performance curve and so can add a meaningful MA for the Controller.

The EAs I have selected for this Test all have a different trading logic and are freely available (apart from the FXAE 48164 which comes as part of the Special Package. It is the one common EA in all three Tests so that we can compare which method of controlling works best). They are:

1.PZ TheZone on AUDUSD H1  http://www.pointzero-trading.com/Products/free  This customizable and flexible expert advisor trades according to Bill Williams definition of the Trading Zone.
2. PZ ADX Trader on EURAUD H1   http://www.pointzero-trading.com/Products/free  Flexible expert advisor that trades according to the ADX Indicator. It offers flexible entry strategies and position management. This one has been losing badly in my initial testing and so I want to see whether we can "rescue" it by trading with the Controller and TM.
3. FXAE 48164 on EURUSD M15  http://www.fxautotraderelite.com/resources/ Based on several MAs with hedging enabled
4. Forex FireBall on EURUSD M1  https://forexrobotnation.com/your-first-free-forex-robot/  No explanations given by developer but it's working for me
5. Best Free Scalper v1.2 on GBPCAD M1 https://donnaforex.com/index.php?topic=19928.0  A free Asian session scalper by Automater and using the SET file provided by the developer. Both downloadable from Post1 in that Thread
6. SQ EURNZD EA on M15  https://donnaforex.com/index.php?topic=19943.0 See explanation from donbon2 in the Thread
7. Forex Samurai on EURUSD H1   http://www.fxsamurairobot.com/ Gets the trading activity of previous week and analyzes the market quotes, all its trades and results, checks support and resistance levels and some other filters. Sure, many filters reduce trades quantity. It makes 1 order in 1-2 days normally.

So when I add a TM for each in a week or so we will have 14 charts open which should be quite doable. Let the games begin.....

PS Forgot about the 8th

8. VFX London Breakout v1.12 on GBPJPY H1 https://www.mql5.com/en/code/17465  Works as per name. This is the version which does NOT have a reverse entry at the SL of the initial entry, as does v1.3 which is used in Tests 1 and 2. BT by a colleague shows that this version (1.12) on this pair is profitable overall but can have longish DD periods; so should be a good test to see if the Controller can improve performance. during such DD periods.

SET Files for Test 4

For ease of checking and in the spirit of transparency, I have attached a spreadsheet showing the settings being used for each EA in this Test 4.

The crucial aspects are the TP and SL being used for each since we will need to take these into account when setting the TP and SL on the Trade Managers for each of the reverse scale-ins for these EAs. Eg if the TP and SL for an EA is 100 and 50, do we set the reverse scale-in TP and SL the same, or should we be more conservative and set both TP and SL to 50? Those will be judgment calls.

(I used to save all my SET files in this manner before I got lazy; a good way to keep track of any changes we might make since one can add comments (date and reason) in Excel when we have altered a setting.
To copy SET files to Excel, open the SET file with Notepad; go to Edit and Select all; then copy and paste.)
Title: Re: EA Controller
Post by: diyforexskills on February 22, 2018, 06:05:57 AM
Trading has started with Test 4

Five of the 8 EAs for this test have begun trading with some nice results for the freebies, in particular Forex Fireball.

Given the variation in trading frequency among these EAs, I will probably start them sequentially with the Controller and TM once the EA has made some 10 to 20 trades.
Title: Re: EA Controller
Post by: diyforexskills on February 24, 2018, 01:56:39 AM
Performance Update on Tests 1 and 2

We currently have 3 tests running with the test involving the use of the Controller in conjunction with the Trade Manager (Test 1) showing the most promise. The overall stats for this since 1 Jan 2018 till present is shown below. In order to make sense of this table please note as follows.

1.The magics shown in red box are the EAs running as monitor at 0.01 lot
2. The magics starting with 6 are the normal entry versions trading at 0.1 lot and controlled via the TM
3. The magics starting with 9 are the reverse entry versions trading at 0.1 lot and controlled via the TM

So the crude comparison is to either use profit factor, or multiply P/L by 10 for the monitoring EAs trading at 0.01 lot, and compare that to the sum of P/L of the corresponding magics starting with 6 and 9.

When we do that we can conclude at this early stage:

1. Overall trading these five EAs by themselves would have resulted in a loss of $620 ($62 x 10); trading them as a system with the Controller and TM would have resulted in a tiny loss of $3. (That is still a huge $617 difference in our favour; but down a bit from the $700 at end of last week).

2. Virtually no difference for EURJPY, GBPJPY and USDCAD EAs whether trading by themselves or as a system at this stage.

3. Good improvement for the trading of the two EURUSD EAs, FXAE 481614 and 48164.

Overall these results are still a bit better than controlling the EAs directly (Test 2) but the gap is narrowing. Test 2 includes some strange results for 481614 when compared to the same EA in Test 1; not sure why yet but the more recent trades are comparable so hopefully these wrinkles will even out over time. It pays to monitor regularly since MT4 can sometimes bump off a TM, as it did for EJ in Test 1; and the scale-ins caused some issues until they were switched off early in Feb.)
Title: Re: EA Controller
Post by: diyforexskills on February 25, 2018, 02:13:29 AM
(Variation on) Equity Curve Trading

The system of trading that we are doing with the EA Controller is a version of what is commonly called Equity Curve trading (https://www.financemagnates.com/forex/bloggers/equity-curve-trading-part-1-moving-averages/ ). Should actually be called Balance Curve trading since we are basing decisions on the Balance of the account (closed P/L) and not the Equity (closed P/L plus open P/L).

So essentially trade while the EA's performance is positive, stop trading when it goes into DD, and restart trading when it starts to perform positively again.

The one big difference in what we are doing with the Controller system is that as well as stopping trading of the normal EA when it is in DD, we also activate a copy of the EA that takes the reverse trades. Hence instead of just worrying about not losing money while our EA is in DD, we actually focus on making money as well by reversing the trades - Buy becomes a Sell and vice versa.

Included in the data posted in the previous Reply, is the data for one of the Autotrader EAs, 48164 EURUSD M15. Taking that data out is shown below.
So what we can see is that even though the EA has been in DD for most of the period, refer data for Magic 48164, overall the EA has been profitable since the reverse version of the EA, 948164, has been in play for most of the time and has been profitable. In this particular system using the TM, the Normal version of the EA, 648164, has also been trading but the TM has closed the trades at a very tight SL (initially -10 pips and now set to -5 pips) whenever the EA, 48164, was in DD.

The comparison is shown graphically in the second image.

Performance Curves and Z scores


One of the key determinants of how well the Controller can improve the performance of an EA as described above, is the shape of the EA's "equity" or Balance curve. If the curve consists of undulating uptrends and downtrends, the Controller is likely to work well as it alternately switches normal entry and reverse entry trades on an and off. If the curve is choppy however, the Controller is likely to make the overall performance worse.

The likelihood of a win following a win and a loss following a loss (ie undulating uptrends and downtrends) is measured by the Z-score. A value less than -2 indicates a very high probability of this occurring. See article at https://www.mql5.com/en/articles/1492

The attached image shows two examples of "equity" curves. One is a bit choppy and has a Z score of -0.93; the other has a Z score of -4.1 giving it a 99.9% probability that a win will follow a win and a loss will follow a loss. In other words, NOT choppy. (This particular EA has a very large SL compared to TP and so we could apply a tight MA (say 3) to this curve in the Controller and help ensure that we don't get two such large losses in a row.)

Anyway, the possibility of incorporating the Z score into the Controller's decision-making for a Yes or No signal, would seem to have merit. We'll see what my coder has to say.
Title: Re: EA Controller
Post by: diyforexskills on February 26, 2018, 07:18:57 AM
(Variation on) Equity Curve Trading

The system of trading that we are doing with the EA Controller is a version of what is commonly called Equity Curve trading (https://www.financemagnates.com/forex/bloggers/equity-curve-trading-part-1-moving-averages/ ). Should actually be called Balance Curve trading since we are basing decisions on the Balance of the account (closed P/L) and not the Equity (closed P/L plus open P/L).

So essentially trade while the EA's performance is positive, stop trading when it goes into DD, and restart trading when it starts to perform positively again.

The one big difference in what we are doing with the Controller system is that as well as stopping trading of the normal EA when it is in DD, we also activate a copy of the EA that takes the reverse trades. Hence instead of just worrying about not losing money while our EA is in DD, we actually focus on making money as well by reversing the trades - Buy becomes a Sell and vice versa.

Included in the data posted in the previous Reply, is the data for one of the Autotrader EAs, 48164 EURUSD M15. Taking that data out is shown below.
So what we can see is that even though the EA has been in DD for most of the period, refer data for Magic 48164, overall the EA has been profitable since the reverse version of the EA, 948164, has been in play for most of the time and has been profitable. In this particular system using the TM, the Normal version of the EA, 648164, has also been trading but the TM has closed the trades at a very tight SL (initially -10 pips and now set to -5 pips) whenever the EA, 48164, was in DD.

The comparison is shown graphically in the second image.

Performance Curves and Z scores


One of the key determinants of how well the Controller can improve the performance of an EA as described above, is the shape of the EA's "equity" or Balance curve. If the curve consists of undulating uptrends and downtrends, the Controller is likely to work well as it alternately switches normal entry and reverse entry trades on an and off. If the curve is choppy however, the Controller is likely to make the overall performance worse.

The likelihood of a win following a win and a loss following a loss (ie undulating uptrends and downtrends) is measured by the Z-score. A value less than -2 indicates a very high probability of this occurring. See article at https://www.mql5.com/en/articles/1492

The attached image shows two examples of "equity" curves. One is a bit choppy and has a Z score of -0.93; the other has a Z score of -4.1 giving it a 99.9% probability that a win will follow a win and a loss will follow a loss. In other words, NOT choppy. (This particular EA has a very large SL compared to TP and so we could apply a tight MA (say 3) to this curve in the Controller and help ensure that we don't get two such large losses in a row.)

Anyway, the possibility of incorporating the Z score into the Controller's decision-making for a Yes or No signal, would seem to have merit. We'll see what my coder has to say.

Z-score version is coming

Well, I have bitten the bullet and decided to proceed with incorporating a Z-score filter in the EA Controller. Finding this piece of code on the web made the decision a bit easier since my coder can easily modify it to work with the controller, providing two user-defined Inputs - # of trades in history to calculate; and trigger value for Z-score. This filter will work as a AND condition with the MA of closed P/L.
Code available from here https://www.mql5.com/en/code/7452

And as usual and as for all diyforexskills products (TM, Autotrader and Controller), the upgrade will be free to all subscribers just like some other vendors do. The upgraded TM that will be needed for Test 4, went out to all subscribers over the weekend.
(Have I met the posting guidelines this time HumbleTrader?   :)  )
Title: Re: EA Controller
Post by: Schutten on February 26, 2018, 04:57:55 PM
Hi,

Very interesting approach...however are you are aware that there are programs available which can backtest these ideas? I will not name them because I don’t want to adverstise, but still.

Regards,
Dennis
Title: Re: EA Controller
Post by: diyforexskills on February 26, 2018, 10:35:42 PM
Hi,

Very interesting approach...however are you are aware that there are programs available which can backtest these ideas? I will not name them because I don’t want to adverstise, but still.

Regards,
Dennis

Hi Dennis
I am aware of quant analyser which can analyse a backtest and do equity curve analysis with a SMA, but only for blocking trades, not adding reverse entry trades. I think I posted on that earlier in the thread to give some examples.
But not aware of any that can do z score equity curve analysis by itself or in conjunction with MA, and certainly not including reversing entries.
As far as I am concerned, I would love to know the programs you have in mind.
Anything that can help traders analyse and test trading ideas should be knowledge/products that are shared in my view. That is what the Forum is all about isn't it?

So post away, if the moderators don't like it, they will remove it. Otherwise please PM me.

Regards, Andrew
Title: Re: EA Controller
Post by: Schutten on February 28, 2018, 01:08:59 PM
Hi,

Please have a look at Quantshare.com. This can do equity curve trading. However my experience is that you will get alot of whipsaws and pretty bad results. If you send me a sample of equity values I can show you.
Format Date,equity value or something similar, it can handle alot of formats.

Regards,
Dennis
Title: Re: EA Controller
Post by: diyforexskills on March 01, 2018, 06:01:09 AM
Hi,

Please have a look at Quantshare.com. This can do equity curve trading. However my experience is that you will get alot of whipsaws and pretty bad results. If you send me a sample of equity values I can show you.
Format Date,equity value or something similar, it can handle alot of formats.

Regards,
Dennis

Thanks Dennis

Impressive looking software. Will take a bit of time to get my head around it all. I note they have a free trial.

And yes, whipsaws are a real issue and in general equity curve trading has not been all that successful from what I can see in my googling efforts. But all the experiments I have seen are to do with one side of the curve; that is no reverse entry trading when the EA is in DD. So that is my main differentiation at this stage. And that is why I have chosen to do a 1 year "public" experiment on this thread using both the Controller and the Trade Manager.

Whipsaws can be lessened by using the appropriate MA depending on the EA's performance curve. Eg in image below, a simple example of how using a Smoothed MA rather than a SMA, can already help a little.

Once the Controller is fitted with the z score as a second filter, I am planning the following:

1. Run the EA at normal lot size all the time

2. When z is <-2.0 and Balance is above MA (uptrend, win is likely to follow a win), engage the TM to add an extra position at say + 5pips into profit

3. When z is <-2.0 and Balance is below MA (downtrend, loss is likely to follow a loss), engage a second TM to add a reverse entry at double the lot size at say -5 pips in loss.

4. When z is > -2.0 both TMs are disengaged and so the EA will trade as normal in a choppy fashion which could be either flat-lining, or generally up or generally down.

Should be an interesting experiment.
Title: Re: EA Controller
Post by: Schutten on March 01, 2018, 05:34:04 PM
Doing a SMA test with equity curves with the program is very easy. I could even do a optimization for you. All I need is some equity curves. Are you able to supply these in .txt or csv format?

Regards,
Dennis

Title: Re: EA Controller
Post by: diyforexskills on March 01, 2018, 11:34:33 PM
Doing a SMA test with equity curves with the program is very easy. I could even do a optimization for you. All I need is some equity curves. Are you able to supply these in .txt or csv format?

Regards,
Dennis

Ok thanks. I have attached the csv file for FXAE 481614 from forward testing on demo from December 2016 till present. Would be great to see the optimisation. The image below shows the performance of the EA with a LWMA of 40. Also shown is the performance of the reverse entry version which was enabled by the Controller in the latter period as shown. It nicely made profit while the normal version was losing.

By way of background, I have done some testing with SMAs using Strategy Quant. This is discussed in Reply#86 on page 6 of this thread. In the link provided, the developers of QA also suggest that varying the lot size as part of equity control can be beneficial. The other link shows my own optimisation testing.
Title: Re: EA Controller
Post by: Schutten on March 02, 2018, 11:46:31 AM
Currently I am travelling so I dont have all facilities at hand. Are yoy able to edit the csv file and add a column ‘Total Equity’? And also add the individual net orofits to it so we get a equity of the system?

Regards,
Dennis
Title: Re: EA Controller
Post by: diyforexskills on March 02, 2018, 12:18:19 PM
Currently I am travelling so I dont have all facilities at hand. Are yoy able to edit the csv file and add a column ‘Total Equity’? And also add the individual net orofits to it so we get a equity of the system?

Regards,
Dennis
Not sure what you mean. Column O is already net profit.
And what do you mean as "total equity"? Equity to me is Balance plus open P/L; and for me equity curve trading is actually balance curve trading. We are taking the MA of Balance/closed P/L.

Maybe we are talking at cross purposes. Or with equity as a column do you mean cumulative addition of the net profit column? I have assumed so. New version attached.
Regards
Title: Re: EA Controller
Post by: diyforexskills on March 04, 2018, 12:34:29 AM
Update on Test 4

The 8 EAs being used in Test 4 are described in Reply #209.

At this stage they are just running as normal, with no control, so as to establish a performance curve of closed trades. So the Controller is being used only as an on-screen monitor of performance.

As shown in the attached, all except donbon's Strategy 1.2 and FX Automater's BFS, have completed more than 5 trades.

I have decided to wait until I have the new z-score enabled version of the Controller before starting any testing. I will then be able to run some tests in parallel of the MA version and the combined MA and z-score versions of the Controller in conjunction with the Trade Manager.

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 1 January 2018 for Tests 1 and 2; and from 18 February 2018 for Test 4. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017 and 17 December 2017 and 18 Feb 2018)

Test 1: Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Test 2: Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Test 3: Controlling the Trade Copier - to be replaced     See video  https://www.youtube.com/watch?v=4ZJtDNdtyiU
Test 4: Controlling with the Trade Manager using Scale-Ins (in preparation) - https://www.fxblue.com/users/20419067

(The whole purpose of these tests is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on March 07, 2018, 11:07:20 AM
Reboot VPS regularly for improved performance

I am stretching the capacity of my VPS with all my testing. I had done all the requisite things to the MT4s to improve performance (like hiding all unused symbols, setting history bars to 1000 etc) but was still in danger of exceeding physical memory limit.

Amazing what a reboot can do. Removed unneeded "crap" and so reduced memory usage from 1.8 GByte to around 800 MBytes.

So a good thing to do on a weekend say twice a month. Only proviso according to my helpful VPS support is to make sure you hit the Restart, and not the Shut Down option when rebooting.
Title: Re: EA Controller
Post by: diyforexskills on March 08, 2018, 09:39:28 AM
(Variation on) Equity Curve Trading

The system of trading that we are doing with the EA Controller is a version of what is commonly called Equity Curve trading (https://www.financemagnates.com/forex/bloggers/equity-curve-trading-part-1-moving-averages/ ). Should actually be called Balance Curve trading since we are basing decisions on the Balance of the account (closed P/L) and not the Equity (closed P/L plus open P/L).

So essentially trade while the EA's performance is positive, stop trading when it goes into DD, and restart trading when it starts to perform positively again.

The one big difference in what we are doing with the Controller system is that as well as stopping trading of the normal EA when it is in DD, we also activate a copy of the EA that takes the reverse trades. Hence instead of just worrying about not losing money while our EA is in DD, we actually focus on making money as well by reversing the trades - Buy becomes a Sell and vice versa.

Included in the data posted in the previous Reply, is the data for one of the Autotrader EAs, 48164 EURUSD M15. Taking that data out is shown below.
So what we can see is that even though the EA has been in DD for most of the period, refer data for Magic 48164, overall the EA has been profitable since the reverse version of the EA, 948164, has been in play for most of the time and has been profitable. In this particular system using the TM, the Normal version of the EA, 648164, has also been trading but the TM has closed the trades at a very tight SL (initially -10 pips and now set to -5 pips) whenever the EA, 48164, was in DD.

The comparison is shown graphically in the second image.

Performance Curves and Z scores


One of the key determinants of how well the Controller can improve the performance of an EA as described above, is the shape of the EA's "equity" or Balance curve. If the curve consists of undulating uptrends and downtrends, the Controller is likely to work well as it alternately switches normal entry and reverse entry trades on an and off. If the curve is choppy however, the Controller is likely to make the overall performance worse.

The likelihood of a win following a win and a loss following a loss (ie undulating uptrends and downtrends) is measured by the Z-score. A value less than -2 indicates a very high probability of this occurring. See article at https://www.mql5.com/en/articles/1492

The attached image shows two examples of "equity" curves. One is a bit choppy and has a Z score of -0.93; the other has a Z score of -4.1 giving it a 99.9% probability that a win will follow a win and a loss will follow a loss. In other words, NOT choppy. (This particular EA has a very large SL compared to TP and so we could apply a tight MA (say 3) to this curve in the Controller and help ensure that we don't get two such large losses in a row.)

Anyway, the possibility of incorporating the Z score into the Controller's decision-making for a Yes or No signal, would seem to have merit. We'll see what my coder has to say.

Z-score version is coming

Well, I have bitten the bullet and decided to proceed with incorporating a Z-score filter in the EA Controller. Finding this piece of code on the web made the decision a bit easier since my coder can easily modify it to work with the controller, providing two user-defined Inputs - # of trades in history to calculate; and trigger value for Z-score. This filter will work as a AND condition with the MA of closed P/L.
Code available from here https://www.mql5.com/en/code/7452

And as usual and as for all diyforexskills products (TM, Autotrader and Controller), the upgrade will be free to all subscribers just like some other vendors do. The upgraded TM that will be needed for Test 4, went out to all subscribers over the weekend.
(Have I met the posting guidelines this time HumbleTrader?   :)  )

Z-score enabled Controller is here

We now have the new version of the Controller in which we combine two conditions; z-score and MA of performance curve. The Input tab is shown in the image below.
Just finalizing some testing before issuing to subscribers. Initial tests show that it correctly conveys Yes or No signals and the z-score calculation agrees with that obtained via myfxbook. That is a good start!

The user-defined Threshold value for Z will be the tricky one to decide. A value of Z calculated for the performance curve which is < the Threshold value set will trigger the Yes condition; and if the MA condition is also met, the Controller will signal Yes to the EA, TM or Trade Copier that is under its control. See also the implication of varying z score value in the table in second image.

On a different note, I am having AppHangB1 issues with my TM on my VPS. If anyone has had experience with this pls let me know. The issue is a common one and described here http://winpedia.org/apphangb1-windows-server-2008-r2/  Similar problems can occur when running MT4 or gaming programs on Windows 7 and 10.
Title: Re: EA Controller
Post by: diyforexskills on March 09, 2018, 07:34:52 AM
Update on Tests 1 and 2

Please see Relpy #202 for previous update and description of what these Tests are trying to compare.

I have started a spreadsheet with the data we need to compare, hopefully in a manner that is not too confusing. I will update this data, maybe fortnightly. In the end I won't make a judgement until we have 6 months of data. So far only 6 weeks. Pls see image below.

The takeaways for me are:

1. Direct control of the EA, which we can only do with signal code enabled EAs like the FX Autotrader ones and the modified VFX ones, is the best performing method, except for FXAE V482220. See green highlighted cells.
2. Both methods, Control Direct and Control via TM, outperform running the EAs without any control.
3. On a portfolio basis, either method of control outperforms no control; and Control Direct is the winner
4. Running this portfolio with Control Direct results in a profit to date of 1.9% compared to a loss of 0.1% without control. (Actually 1% loss since we need to multiply this result by 10 so as to give comparable lot size trade data. Trades with no control are traded at 0.01 lot. Controlled trades are at 0.1 lot size.)

But this is early days, insufficient data to be definitive. But encouraging.
Title: Re: EA Controller
Post by: Schutten on March 09, 2018, 03:29:19 PM
Hi,

I have problems importing your supplied equity data. Therefore I used a equity curve of my own just to show you results. Included is the original equity curve, a overview of the backtest optimized results and a filter with SMA(2) and SMA(50), all based on the equity curve values.
 
I don’t think this filtering method would help, but maybe other filters will.

Regards,
Dennis


Title: Re: EA Controller
Post by: diyforexskills on March 10, 2018, 02:44:39 AM
Thanks Dennis
Not sure I fully understand. The first chart stat says 100% winners but from the graph that can't be true. And I would have expected to see horizontal line periods ("equity" flat) in the second graph for periods when the EA was in DD and hence not trading.??

A few comments.
1. Yes, one would expect a SMA of 2 fitted to an "equity" curve to yield very bad results. That is way too tight and leads to chop just as in price action itself. Unless we had a trading history with a z score of -4 or so which statistically would mean that the probability of a win following a win or a loss following a loss is over 99%. Would love to have one of them!
2. So SMA 50 is better than SMA 2, as expected, but as you say not as good as without any control.
3. I was hoping that you may have been able to do a MA crossover, say 10/50 since that would reduce chop.
(For those interested this article includes a MA crossover approach http://alvarezquanttrading.com/blog/trading-the-equity-curve/
And another article which discusses using different indicators like RSI https://www.sciencedirect.com/science/article/pii/S2212567115013635
The EA Controller comes in two versions - one which uses MA; the other uses RSI)

My take on all this is as follows:

1. We need to trade both sides of the "equity curve", meaning not just stopping trading when EA goes into DD; but actually taking reverse entry trades when EA goes into DD. No one seems to have done that from what I can find in my googling.
2. Varying lot sizing instead of go/nogo is suggested to be a better approach. This is what we can now effectively do by linking the TM to the Controller; scale-in extra trade(s), effectively increasing lot size, when the EA is profitable; scale-in reverse entry trade(s) when the EA is in DD (the reverse entry trades offset the losses being made by the EA in DD. This is what we will be testing in Tests 4 and 5.)
3. One crucial aspect when we add reverse entries is having a suitable risk:reward for the reverse scalein trades. When the EA is in DD it means the trades are hitting the SL. So in order for the reverse trades to profit from that price action during DD, we need to set the TP of the reverse entry trade to be the same as the SL of the normal trade. If the risk:reward for the EA is 1:1 than this is not an issue, we just use the same SL and TP settings for the reverse scale-in. But if our EA has a 1:2 risk:reward ratio (ie TP is twice the SL) then we need to make the adjustment for our scale-in so that its TP is equal to the EA's SL.
4. "Equity" curve trading is not suitable for marty type EAs (performance always in uptrend until the account crashes because equity has plummeted); nor for scalpers with very large risk:reward ratios - SL way way greater than TP and hence occasional very steep and large DDs and only gentle and small rises. Just imagine a MA placed on such an "equity" curve and you will see why "equity" curve trading would never work for such EAs. You experience the huge losses but only experience part of the gentle gains. We need EAs with more undulating "equity" curves for this technique to be successful.


Title: Re: EA Controller
Post by: diyforexskills on March 12, 2018, 04:38:25 AM
EA Controller with Z-score

With a few more finishing touches, the new version is now ready. Just need to update the User Guide before sending out.

But the Indicator window now shows up the details as shown in the attachment. The interpretation of Z is as shown in the second attachment.

So basically it works like this.

1. If Reverse signal is set to false, then the Controller will signal Yes when both closed P/L is above its MA (ie in uptrend) and Z < Threshold value set, eg -2 (which means a 95% or better probability that a win will follow a win in an uptrend of performance). In other words the EA's performance is in a nice regular uptrend. So we should be trading the normal entry version of the EA or even adding a normal scale-in using the Trade Manager to increase lot size.

2. If Reverse signal is set to true, then the Controller will signal a Yes when Closed P/L is below its MA (Z is < the Threshold value set, eg -2. In other words the EA's performance is in a steady and regular downtrend with 95% or better probability that a loss will be followed by a loss. And so we should now be trading the reverse entry version of the EA or if your EA cannot do that, add a reverse scale-in trade using the Trade Manager.

In either case when a No signal is generated, the EA, Trade Copier or Trade Manager to which the Controller is connected, will be prevented from operating. And so the EA will be left to operate as normal.

The purpose of the Z function is to filter out those times when the EA's performance is choppy. Such conditions can lead to whipsawing of the EA being switched on and off by the Controller with a resulting worsening of performance, especially when you are using a tight MA to monitor the performance curve.
For instance a Z score of +2 indicates a negative dependency meaning that there is a 95% probability that a win will be followed by a loss and vice versa.
Title: Re: EA Controller
Post by: diyforexskills on March 13, 2018, 08:01:03 AM
Another new feature of the EA Controller with Z score

The other new feature in the EA Controller to be released soon, is that it now handles multiple currencies.

Eg The Forex Real profit EA being tested by Donna operates on 5 currency pairs. So if you wanted to control that EA as a portfolio of five currency strategies, you could do so with the new version of the EA Controller. Just place the Controller on any one of those charts, enter the 5 magic numbers, and you would now be monitoring the performance of all five strategies as one.
(Obviously since the EA does not have the signal code, you would have to use either the Trade Copier or the Trade Manager to do the "controlling".)

Title: Re: EA Controller
Post by: diyforexskills on March 14, 2018, 11:19:05 PM
Filtering with Z score

Without the Z score filtering, this EA would have been switched off by the Controller during the most recent period shown as closed profit fell below its SMA 30.

However Z score is showing at 0.54 (based  on the last 100 out of 136 total closed trades) indicating there is no dependency/indeterminate and so the EA will be allowed to continue trading.

Only when Z falls below -2, and closed profit is still below its MA, would we have strong confirmation that we are in a sustained DD, warranting a shut down or other corrective action.

At least that is the theory based on mathematical expectation. We could of course be a bit more conservative and set the Threshold to say -1 instead of -2.
Title: Re: EA Controller
Post by: diyforexskills on March 16, 2018, 06:17:47 AM
MA plus Z score EA version of the Controller now available

At long last I finished the edits for the User Guide to cover the new Z score feature in v03.05b.03 of the Controller and the different ways of using the Controller. Getting a bit complex but still understandable I think. At some stage I should do a complete re-write but that is a big task which can wait till another day. I need to move on with finalizing the setting up of Tests 4 and 5. You can read the User Guide here - http://www.fxautotraderelite.com/wp-content/uploads/2018/03/User-Guide-for-FX-EA-Controller-v03.05b.03-15-March-2018.pdf

Existing subscribers have been sent the new version. New subscribers to the Special Package 2018 will receive the original package followed by the new version of the Controller, with additional instructions, a few hours later. All three versions of the Controller will be usable till the end of 2018.

You can still purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on March 17, 2018, 04:15:45 AM
The jury is still out

Results from Tests 1 and 2, after 44 days are still inconclusive for the portfolio of 5 EAs overall.
One of the issues is that we had two glitches with the EAs running without control resulting in different performance for the same EAs running on two different MT4s. (See the "Without Control" graphs on image below. They should have been the same). Overall the direct control method of the EAs (bottom graph) yields the steadier income. Four of the five EAs are running profitably without control.

At a more granular level, and correcting for the two glitches, we can say as follows:
1. FXAE 48164 and 481614 perform better when controlled by the TM
2. FXAE 482220 performs better without control
3. VFX LBO EJ performs marginally better with direct control
4. VFX LBO GJ performs best with direct control, in that the loss for this EA is reduced from -$320 to only -$120

Next week we will start Test 4 and 5 comparing the MA Controller with the MA Plus Z-score Controller and using the TM to scale-in either normal or reverse entry trades as required. In other words, effectively changing the lot sizes - ie increasing lot size when the EA is running profitably; decreasing the effective lot size by adding reverse entry trades during the EA's DD. We will use the same "Without Control" EAs for both Tests 4 and 5 so as to avoid the glitches and differences we have experienced with Tests 1 and 2. This means we will have 4 copies of the Controller on each EA chart. And we will trade the "Without Control" EAs at the same lot size (0.1) as we will use for the scale-ins. That will simplify the analysis and reporting.
Title: Re: EA Controller
Post by: diyforexskills on March 18, 2018, 05:07:34 AM
Tests 4, 5 and 6
(Please see Reply# 209 for the 6 EAs being used in these Tests - Forex Fireball and ADX Trader from that list of 8 have been withdrawn)

We are testing three different systems with these six EAs using the Controller (with and without Z-score) and Trade Manager all on the one MT4 platform. To do that we require 36 charts which should not be a problem since no more than a dozen or so will be active at any one time. But boy, sure is a tedious process to set it all up. Two done, four to go today!.

By way of example, using PZ the Zone EA on AUDUSD H1 with magic 98765, the three tests will be as follows:

Test 4
1. Magic 98765 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager)
2. Magic 698765 is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20)
3. Magic 998765 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20)

So we will compare performance from 1 (EA trading normally) vs performance from 1+2+3 (EA trading Controlled). Am using 0.2 lot for the reverse scale-in so that 50% of it will negate the loss from the normal trade of the uncontrolled EA, and 50% will then be the net reverse.

Test 5
1. Magic 98765 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager)
2. Magic 6698765 is a Normal scale-in at 0.1 lot and will trade when EA is in uptrend (Closed P/L above its SMA20 AND Z-score is < -2
3. Magic 9998765 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20) AND Z-score is < 1
(ie the Z-score is less strict for the reverse scale-in situation compared to the normal scale-in condition. This is a judgment call based on my observations to date and assessment of appropriate risk: reward ratios.
The Z-score logic is explained in Replies #229 and #230 on page 16)

So we will compare performance as above in Test 4 as well as comparing 1+2+3 from both Tests 4 and 5. That is, does a Z-score filter improve performance of the system.

Test 6
1. Magic 98765 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager)
2. Magic 698765 is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20)
3. Magic 898765 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 7)
(SMA 7 is about a third of the SMA value used to trigger Normal scale-ins. So the reverse scale-in during a downtrend will be triggered sooner and stopped sooner then if we had set the same SMA of 20 which we are using for the Normal scale-ins during uptrends. This idea was floated by wroeckart and commented on by me in Reply #118 on page 8.

So we will compare performance as above in Test 4 as well as comparing 1+2+3 from both Tests 4 and 6. That is, does an earlier triggering of reverse scale-ins improve performance of the system?

One of the EAs in these Tests, FXAE V48164, is also being used in Tests 1 and 2, thus giving us the ability to compare the performance of an EA using five different ways of using the Controller.

At this stage only PZ The Zone EA has completed 20 trades but all six EAs have completed at least 7 trades. Statistically we should wait for 30 completed trades but I am a little impatient.

The account for these three Tests can be monitored here. Please Filter from 18 February 2018
Tests 4,5 and 6: Controlling with the Trade Manager using Scale-Ins - https://www.fxblue.com/users/20419067

Title: Re: EA Controller
Post by: diyforexskills on March 19, 2018, 12:31:14 AM
Using the Controller with the Trade Manager - please note this

When the Controller signals a Yes, and we are using the TM to close any unwanted trades as in Test 1, we want a trade to be taken as normal. Therefore the TM is coded to interpret a Yes as a No and hence take no action to manage the trade. And vice versa.

But when we use the TM to scale-in an extra trade, as in Tests 4, 5 and 6, we actually want the TM to be active on a Yes (ie EA is in uptrend) signal. But the only way it can be active is to receive a No signal. So when we use the TM in this way we have to set Reverse signal to True on the Controller.

However we have a problem when Trade at Start on the Controller is set to false while we wait for the requisite number of trades to be completed. Because during this time the Controller, with Reverse signal set to True, will signal Yes instead of No. And hence the TM will interpret this as a No and be activated to start scaling in trades. Which we do not want.

Hence, when we use the TM to scale-in trades with the Controller, and we set Trade at Start to false, we need to wait till the EA has made the required number of trades before setting up the TM.

And so this morning when I saw what was happening after my weekend endeavours to set up everything, I closed the TM on 24 charts. The only ones left are the ones connected to the Controllers with SMA 7, since all six EAs have made at lest 7 trades, and so the trade at start condition has been met.

Title: Re: EA Controller
Post by: diyforexskills on March 22, 2018, 07:01:34 AM
Using the Controller with the Trade Manager - please note this

When the Controller signals a Yes, and we are using the TM to close any unwanted trades as in Test 1, we want a trade to be taken as normal. Therefore the TM is coded to interpret a Yes as a No and hence take no action to manage the trade. And vice versa.

But when we use the TM to scale-in an extra trade, as in Tests 4, 5 and 6, we actually want the TM to be active on a Yes (ie EA is in uptrend) signal. But the only way it can be active is to receive a No signal. So when we use the TM in this way we have to set Reverse signal to True on the Controller.

However we have a problem when Trade at Start on the Controller is set to false while we wait for the requisite number of trades to be completed. Because during this time the Controller, with Reverse signal set to True, will signal Yes instead of No. And hence the TM will interpret this as a No and be activated to start scaling in trades. Which we do not want.

Hence, when we use the TM to scale-in trades with the Controller, and we set Trade at Start to false, we need to wait till the EA has made the required number of trades before setting up the TM.

And so this morning when I saw what was happening after my weekend endeavours to set up everything, I closed the TM on 24 charts. The only ones left are the ones connected to the Controllers with SMA 7, since all six EAs have made at lest 7 trades, and so the trade at start condition has been met.

When I read this Reply, as quoted above, again, I am reminded that the logic may be a bit hard to follow for first time users. But I am pleased to say, that the settings are working. Working in the sense that they are doing what they are programmed to do; whether in the long term that is profitable remains to be seen of course.

By way of explanation.

The top image shows the Sumurai EA has taken a Buy trade; and the Controller for the Early Reverse scale-in, set to occur when closed P/L falls below its SMA 7 and with Z-score disabled (see arrow on bottom indicator window), has now signaled to the TM on a second chart that this has occurred; and that therefore the TM should scale-in a reverse entry trade because the market is now unfavourable since the EA is in DD as defined by the SMA 7.

The second image shows that this is exactly what happened. The TM received a No signal which it is programmed to interpret as a Yes, and so is activated to perform the scale-in. (as per my explanation in the quote above.)

So we have the settings correct and all is working to plan. Now it is up to the market, all you traders, to decide whether the reverse scale-in was appropriate.  :)



Title: Re: EA Controller
Post by: diyforexskills on March 24, 2018, 05:15:05 AM
Brief progress report on Tests 1 and 2

With the  FX Blue Publisher app we can analyse results in many different ways. A nice overview is provided by showing the weekly ranges as shown below for the combined five EAs being tested.

Using the Controller to control the EAs directly, using the embedded signal code, is the top performer so far and outperforms running the EAs without any control (normal operation).
Unfortunately we did have a glitch with the setup for controlling via the Trade Manager, see orange box on third image. This image should have shown the same results as the first image since they were supposed to be taking the same trades at the same lot size. The glitch (wrong magic numbers) will also have affected the controlled results to date. The effect of this temporary glitch should be minimised after six months or so.

Two months down, four more to go before we make any hard conclusions.
Title: Re: EA Controller
Post by: diyforexskills on March 25, 2018, 07:08:00 AM
On not having done what I said.

In my Reply #229, I wrote

"One crucial aspect when we add reverse entries is having a suitable risk:reward for the reverse scalein trades. When the EA is in DD it means the trades are hitting the SL. So in order for the reverse trades to profit from that price action during DD, we need to set the TP of the reverse entry trade to be the same as the SL of the normal trade. If the risk:reward for the EA is 1:1 than this is not an issue, we just use the same SL and TP settings for the reverse scale-in. But if our EA has a 1:2 risk:reward ratio (ie TP is twice the SL) then we need to make the adjustment for our scale-in so that its TP is equal to the EA's SL."

I therefore gave myself a good talking to today when I realised I had not done this for the EAs being used in Tests 1 and 2!  :-[
(Not applicable to FXAE 48164 which has a 1:1 risk:reward ratio). All is now fixed and I have recorded the date of these changes as 25 March 2018 in the respective SET file names. So later in the year, if I see a change in results from reversed trades from late March onward (good or bad), I will have a good idea as to why.

Title: Re: EA Controller
Post by: diyforexskills on March 26, 2018, 05:46:20 AM
Test 7

I noticed I had some spare capacity on one of my MT4s so have now added a 7th test.

In this one we are using the TM to scale-in a reverse trade at around halfway to the EAs SL whenever the EA is in DD (unfavourable market conditions). In other tests we reverse scale-in almost immediately at -5 pips under the DD condition.

So we are trying to establish whether it is better to:

a. Reverse scale-in immediately and hence cover the loss from the EA if all goes to plan under DD conditions, or break even if the EA trade actually closes in profit.  OR
 
b. Reverse scale-in halfway in which case we would only cover half the loss from  the EA if DD conditions play out, but have a chance of a full TP from the EA if price moves in its favour unexpectedly before the reverse scale-in is triggered. Or at least 50% profit should the reverse scale-in be triggered before price reverses again.

We are testing this with the two VFX EAs (EJ and GJ) and the FXAE 482220 USDCAD.
Title: Re: EA Controller
Post by: diyforexskills on March 28, 2018, 01:59:01 AM
Continuous Improvement

We can use the Trade Manager to effectively increase lot size during uptrends in the EA's performance or decrease lot size during DDs by adding either normal or reverse scale-ins as appropriate, under the control of the EA Controller http://exceptionalfx.com/ea-controller/

But these scale-ins only have simple trade management features - TP, SL and standard TS.
Many third party EAs which we might use for such strategies however, have quite different and more complex TS features. Which means that although their trade may close with a small profit, the scale-ins may not and end up closing in a loss.

To overcome this, we have now added a new feature to the TM v19.00 whereby we can select that scale-in trades be closed whenever the EA's trade being used to trigger a scale-in, is closed. In this way the scale-in trade closure will operate in the same way as the third party EA's trades.

So welcome to TM v20.00 - to be released to subscribers soon. As usual, the update is free.
http://diytrademanagerplus.com/
Title: Re: EA Controller
Post by: diyforexskills on March 29, 2018, 08:51:40 AM
Continuous Improvement

We can use the Trade Manager to effectively increase lot size during uptrends in the EA's performance or decrease lot size during DDs by adding either normal or reverse scale-ins as appropriate, under the control of the EA Controller http://exceptionalfx.com/ea-controller/

But these scale-ins only have simple trade management features - TP, SL and standard TS.
Many third party EAs which we might use for such strategies however, have quite different and more complex TS features. Which means that although their trade may close with a small profit, the scale-ins may not and end up closing in a loss.

To overcome this, we have now added a new feature to the TM v19.00 whereby we can select that scale-in trades be closed whenever the EA's trade being used to trigger a scale-in, is closed. In this way the scale-in trade closure will operate in the same way as the third party EA's trades.

So welcome to TM v20.00 - to be released to subscribers soon. As usual, the update is free.
http://diytrademanagerplus.com/

Continuous Improvement II

With the current version of the TM, the TM must be placed on a chart of the same symbol as the symbol of the EA for which we want to add a scale-in.
That restriction has now been removed. This means that if we want to add a scale-in with the same conditions for a number of EAs trading on different symbols, then we can now just use one copy of the TM to do that. Instead of having one TM for each of the EAs. So now it is v21.00 and I need to update the User Guide for these two enhancements. The joy of being a vendor never goes away!  ::)
Title: Re: EA Controller
Post by: diyforexskills on April 07, 2018, 08:49:22 AM
Brief progress report on Tests 1 and 2

With the  FX Blue Publisher app we can analyse results in many different ways. A nice overview is provided by showing the weekly ranges as shown below for the combined five EAs being tested.

Using the Controller to control the EAs directly, using the embedded signal code, is the top performer so far and outperforms running the EAs without any control (normal operation).
Unfortunately we did have a glitch with the setup for controlling via the Trade Manager, see orange box on third image. This image should have shown the same results as the first image since they were supposed to be taking the same trades at the same lot size. The glitch (wrong magic numbers) will also have affected the controlled results to date. The effect of this temporary glitch should be minimised after six months or so.

Two months down, four more to go before we make any hard conclusions.

Update on Tests 1 and 2

We have taken a bit of a hit these past two weeks as the market responds to the Trumpian antics to see who blinks first.

The Direct Control method using signal code embedded EAs still outperforms the system using the TM.

VFX GBPJPY is still the problem child but does perform better (ie loses less) when run as a Direct Control system.
VFX EURJPY also performs better this way in that profit is larger.
FXAE 48164 and 481614 are performing equally with the two systems and just breaking even.
FXAE 482220 shows a marked improvement when run under Direct Control.

Two months down, four to go. Nothing exciting to write home about at this stage. But that is what developing and testing is all about.

Updates of the Controller and Trade Manager are due soon. Just sorting out a bug with the new version of the TM (refer previous two posts.)
Title: Re: EA Controller
Post by: diyforexskills on April 12, 2018, 06:21:06 AM
New versions of EA Controller and DIY Trade Manager Plus

The new versions have been sent to subscribers today.

Now that we have fixed a bug for the Z-score component of the Controller, and have the extra features for the TM as described in Replies 241 and 242 above, I can restart the Tests 4, 5 and 6 for the scale-ins. I'll do that on the weekend.

The EAs being used in these tests have been performing well except for the VFX GBPJPY. As shown in the image.
Title: Re: EA Controller
Post by: diyforexskills on April 14, 2018, 06:13:38 AM
Getting ready for Tests 4, 5 and 6

In tests 4,5 and 6 we are using six EAs, five of which are currently in profit and have now traded sufficiently to be able to apply the Controller and Trade Manager. The VFX GBPJPY is in loss as per previous Post and should therefore be a good candidate to see if the use of the Controller and Trade Manager can lift its (mis)fortunes.

The five free EAs include two EAs made available by forum members - the SQ EURNZD by donbon2 and the BFS by FX Automater
Title: Re: EA Controller
Post by: diyforexskills on April 15, 2018, 08:00:45 AM
Update on Tests 1 and 2

We seem to be lifting out of DD on both Tests with the Direct Control method still the better option. When comparing these two system approaches using the Controller, to trading the EAs without any control, we don't as yet see any marked improvement for these EAs.

The image below compares the results to date for the two systems, excluding VFX GBPJPY which has suffered from some untoward events as per comment below.

One of the annoying things is that we are getting the occasional bumping off of a TM or EA with its negative consequences. This seems to occur when connection to the broker is lost temporarily and is something a colleague of mine has been noticing too on his VPS. In both cases we are running many EAs on the one platform which may be a contributing factor. So will have to check daily in future.

All TMs have now been replaced with v23 which was distributed last week.
Title: Re: EA Controller
Post by: diyforexskills on April 21, 2018, 09:54:04 AM
Update on Tests 1 and 2

Just about broke even for the week on both Tests as shown in image. Monitored the VPS daily and all EAs and TMs seem to have been in place for the whole week.

Tests 4, 5, 6 and 7


All EAs except VFX GBPJY are doing OK. A few early reverse entries (with MA set to 7 on the Controller) lost out - I am expecting this since I believe that we need at least an MA of 20 to avoid whipsawing out of uptrend and downtrend.

Had some further issues with the Z condition for the Controller and so have made a couple of further changes. Also to the TM to make it simpler to use when doing scale-ins under the control of the Controller. More on that later after I let it run for a week or so.
Title: Re: EA Controller
Post by: Trunk on April 24, 2018, 08:15:20 PM
Great job? IS there nay difference in EA behavior in different platforms like MT4 and MT5 or it doesn't matter?
Title: Re: EA Controller
Post by: diyforexskills on April 25, 2018, 05:39:35 AM
Great job? IS there nay difference in EA behavior in different platforms like MT4 and MT5 or it doesn't matter?
Don't know. The EAs ( and Controller and TM) were all coded with mql4 so won't work on mt5 unless recoded. But if so, then their behaviour should be the same.
Title: Re: EA Controller
Post by: diyforexskills on April 28, 2018, 06:17:13 AM
Update on tests 1 and 2 (excluding VFX GBPJPY)

Lost a bit this week but both tests are now yielding almost similar results. Please see the first Image.  Which in theory is how it should be.

In Test 1 we are using the TM to close unwanted trades at -5 pips based on the EAs' uptrend or downtrend status, while in Test 2 we are using the built-in signal code of the EAs to switch the normal and reverse versions of the EA on and off depending on whether the EA is in uptrend or downtrend.

Looking at just one of the EAs in each Test, in Image 2, we can also see that at this stage, trading the reverse version of the EA during downtrends is not profitable, while only trading the normal version during uptrends, does indeed improve performance overall.

Look at the profit factor column in each case in Image 2. Eg magic 48164 is the EA trading without control; magic 648164 is the normal version of the EA trading during uptrends; and magic 948164 is the reverse version of the EA trading during downtrends. Similarly for magic 112237 etc

What these results are telling me is that we need to consider only trading the reverse version when closed P/L is say below MA40 rather than below MA20 as at present. More on that idea later.
Title: Re: EA Controller
Post by: diyforexskills on May 05, 2018, 05:47:12 AM
Update on Tests 1 and 2 (excluding VFX GBPJPY)

Recovering lost ground slowly. Please see the first Image. 

In Test 1 we are using the TM to close unwanted trades at -5 pips based on the EAs' uptrend or downtrend status, while in Test 2 we are using the built-in signal code of the EAs to switch the normal and reverse versions of the EA on and off depending on whether the EA is in uptrend or downtrend.

Update on Tests 4, 5, 6 and 7

In these tests we are running six EAs, all bar one freely available, and using the Controller to activate the Trade Manager in various ways in each of the Tests. Given some issues with the new z function of the Controller, these tests can only be analysed from 16 April. So too early to say anything meaningful.

But, even uncontrolled these six EAs are doing pretty well!. Pls see Image 2.

Please see replies #209 and 235 for details on these EAs and the testing.
Title: Re: EA Controller
Post by: diyforexskills on May 06, 2018, 06:06:39 AM
A good example

Discovered a feature of FX Blue Analyser that helps to show how the controlling works to trigger the trading of either a normal entry version of the EA or a reverse entry version of the EA depending on whether the monitoring EA is in uptrend or downtrend.

During a DD period, the reverse entry EA is trading and making profits; during an uptrend in performance, the normal version of the EA is trading profitably.

The key now will be to see what period of MA should best be used to define uptrend or downtrend so as to allow the performance curve sufficient room to breathe. We don't want to be whipsawed since that would reduce profitability.
Title: Re: EA Controller
Post by: diyforexskills on May 11, 2018, 05:39:14 AM
Improvements

A new feature called Trend Mode has been added to the EA Controller with selections of Up or Down. This is required when using the Controller with Z-score as the second condition, ie with Use Z-score set to true. And is used in association with the new feature (Signal Mode) in the DIY Trade Manager Plus when using the TM to enter scale-in trades, either normal entries during uptrends or reverse entries during downtrends as we are doing in Tests 4 to 7.

It can all get a bit complex, so a little history is called for. Reading the revised section on Using the Controller with the DIY Trade Manager Plus on p11 of the revised User Guide will hopefully be enlightening.

http://www.fxautotraderelite.com/wp-content/uploads/2018/05/User-Guide-for-FX-EA-Controller-v03.05b.07-11-May-2018.pdf

http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
http://www.fxautotraderelite.com/

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on May 13, 2018, 07:16:29 AM
Dilemma
When we try an experiment to test a new theory or way of operating, as we are doing, the temptation is to discard results that don't make sense. But then we don't learn and we would rightly be accused of scamming.
On the other hand, if we present results as they are, without checking whether anything went wrong, we would be presenting a false conclusion; and risk putting off potential users of the system.

Solution
Always present both. That is the raw data and the analysed data.

The raw data can be accessed from the links below. So that is covered.

The analysed data reveals that a lot of things have gone wrong (some due to wrong settings and some due to EAs being dislodged when VPS was rebooted).
We can see such an example by comparing the results for the FXAE V48164 EA comparing control via the Trade Manager vs direct control of the EA. As in the image below.

Controlling the EA direct (top image) has worked as it should. The monitoring EA traded all the time while the normal and reverse entry versions alternated according to whether the monitoring EA was in uptrend or downtrend. And so we are in profit.
Controlling the EA via the TM however had problems. This method is where we use the TM to set a SL of 5 pips for cases where we don't want the EA (either normal or reverse entry) to be trading rather than switching the respective EAs on and off. It appears that the TM was inactive sometimes when it should have been active; and of course a 5 pip SL is a larger loss than a nil trade (0 pip SL). And cumulatively that starts to cause a problem.

Having now examined the results closely for both methods and for all five EAs being tested, I have come to the following decisions:

1. Stop both tests with VFX EJ and GJ. The version being used (v1.4) does not have a true reverse function. The reverse trade is only opened at the SL value of the normal trade, and it just no longer makes sense to test these EAs in this manner. (But GJ v1.2 is being tested in Tests 4,5,6 using normal and reverse entry scale-ins which should be a more useful test.)
2. I will let Test 1 and 2 run with the remaining EAs, and check more regularly to ensure that the TMs and EAs are not bumped off whenever the VPS is rebooted (rebooting of VPS is done weekly to free up memory). In other words I want to ensure that the normal and reverse entries are taken when they should be taken; and that the TMs are functioning and doing their closures when they should. To date that appears to be the case only for the FXAE V48164 EA. Since these tests will go till end of 2018, there is still plenty of time to get some data for when things are working properly.

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 1 February 2018 for Tests 1 and 2; and from 18 February 2018 for Tests 4, 5 and 6. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017 and 17 December 2017 and 18 Feb 2018)

Test 1: Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Test 2: Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Test 4,5,6: Controlling with the Trade Manager using Scale-Ins - https://www.fxblue.com/users/20419067

(The whole purpose of these tests is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on May 19, 2018, 03:45:58 AM
Update on Tests (4,5 and 6) using Scale-ins

In these tests we are using six EAs (five of which are freely available) and using the Controller to control the Trade Manager scaling-in normal or reverse trades as required. The TM is set to close the scale-ins when the EA's trade is closed.

As a whole the six EAs are doing well returning 1.9% pm trading 0.1 lot on a $10K demo account.

For the purpose of these tests it is useful to look at two of the EAs in more detail to see how the Controller is working.

One is the PZ TheZone EA running on AUDUSD H1. It is a scalper with generally tiny TPs and a 100 pip SL. It has been in DD (downtrend) and so the reverse scale-ins have been occurring. As a result, despite the DD on the EA, we are net in a small profit.

The other EA is an FX Autotrader Elite strategy 48164 running on EURUSD M15. It is NOT a scalper having a 1:1 risk:reward ratio for TP and SL. With this EA we have not benefited from the early reverse scale-in at MA7 (the reverse scale-in at MA20 has not been triggered indicating that a reverse scale-in at MA7 is just too tight); and the extra lot size from the normal scale-in triggered at MA20 when the EA was in profit, has provided no benefit nor any significant loss at this stage.

All of which is an early indication that we might need to treat EAs differently depending on whether they are scalpers or not. As posted in the Best Free Scalper thread, the BFS GBPCAD may well provide us with a good opportunity to test this out should Asian scalpers continue to perform poorly for a while as donbon2 suggests.


Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 1 February 2018 for Tests 1 and 2; and from 18 February 2018 for Tests 4, 5 and 6. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017 and 17 December 2017 and 18 Feb 2018)

Test 1: Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Test 2: Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Test 4,5,6: Controlling with the Trade Manager using Scale-Ins - https://www.fxblue.com/users/20419067

(The whole purpose of these tests is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on May 19, 2018, 05:56:49 AM
Update on Tests 1 and 2 (Found a gremlin)

I have been perplexed for a while with what is happening with the FXAE strategy 481614 in these tests.

For a while now the EA has been losing and is in DD, but weirdly the reverse entry version has also been losing!? As shown in the image. I kept checking that nothing had been bumped off and that the settings were correct. That was all OK.

And then it finally dawned on me   :o. Reverse entries are Limit orders and from the dark depths of my memory I recalled the fact that Limit orders often have a larger spread and/or slippage. Especially so when in this strategy we are using a price/rsi divergence condition.
And so what was happening is that the "reverse" entry was being triggered many bars later and often was from a reversed signal. So instead of getting a Buy and a Sell, I would be getting a Buy and another Buy a few hours later.

The solution was simple. Increase maximum slippage from 2 to 10 on the reverse entry EA. So now I am getting the right trades, opening at about a 6 pip difference but at the close of the same bar as required. So now we have to ditch the data collected for this strategy from 1 Feb 2018. And only use the data f or this strategy going forward.

Just as well that we are still in testing mode.

Title: Re: EA Controller
Post by: diyforexskills on May 26, 2018, 06:36:28 AM
Update on Test 4, 5 and 6

Here is another way of looking at the test results. This time comparing, for all six EAs, the performance of running the EAs as is, uncontrolled, vs running them and scaling in an extra trade while in the EA is in uptrend (closed P/L above the MA20), or scaling in a double size reverse trade when the EA is in DD.
At this early stage, scaling in extra trades while the EA is in uptrend, provides marginally the best performance. But probably not statistically significant at this stage.
Title: Re: EA Controller
Post by: diyforexskills on May 27, 2018, 06:51:47 AM
In yesterday's Post I showed that entering reverse scale-ins when the EA is in DD, makes the performance worse.

What I forgot to say also, that these reverse scale-ins were triggered solely on the basis of closed P/L being below its MA 20.

The Trade Managers set to reverse scale-in when both the MA condition AND the Z condition (Z < -2.00) confirm a sustained DD, have not yet been triggered.

What is starting to emerge is the notion that it is safe to add in extra position quite early on, closed P/L above MA7 and stop adding when it falls below MA7; but don't add reverse scale-ins until the Z score confirms that we are in a sustained DD. When closed P/L is below MA20 AND Z < -2.00, the probability that a loss will follow a loss is at least 98% (statistically speaking).
Title: Re: EA Controller
Post by: diyforexskills on May 30, 2018, 08:09:08 AM
Use Quant Analyser to assess

One way of using the Controller is to increase lot size during favourable market conditions, as measured by an MA of the Balance curve.

With the Quant Analyser you can analyse either back tests or account history data to see if this would work for your EA. I did that for one of my newer strategies with the FX Autotrader Elite, as shown below. This shows that by increasing lot size by 50% during favourable market conditions, we can increase profits by around 30% for a small increase in DD.

With FXAE strategies this is easy to do. Set up one chart with the FXAE and the Controller. And another chart with the same FXAE and a lot size equal to 50% of the lot size on the first chart. In this example set the MA on the Controller to 40. Now the FXAE on the second chart will only trade during uptrends, ie during favourable market conditions, thus increasing the overall lot size for this strategy.

If you don't have the FXAE, you would have to use the Controller with the FX Blue Trade Copier to copy another 50% lot size onto a second chart.

(I am not in any way affiliated with Quant Analyzer; The FX Blue Trade Copier is free)

www.fxautotraderelite.com
http://exceptionalfx.com/ea-controller/
https://strategyquant.com/quantanalyzer/
https://www.fxblue.com/appstore/2/mt4-personal-trade-copier
Title: Re: EA Controller
Post by: diyforexskills on June 10, 2018, 06:56:21 AM
Performance Update - tests 4, 5 and 6

The portfolio of six EAs is still doing well and increasing lot size during favourable conditions is improving performance.
Adding reverse scale-ins during drawdowns seems to decrease performance at this stage.
But I would like to see a few more months of trading before passing judgment.

And since I am going on holidays for two months, I will just let the EAs trade as programmed. So next update in August.

Trading Performance of the different Systems
NOTE: You must use the Filter to set Start date to 1 February 2018 for Tests 1 and 2; and from 18 February 2018 for Tests 4, 5 and 6. These are old accounts, reloaded to $10K, and these tests only started on 14 Nov 2017 and 17 December 2017 and 18 Feb 2018)

Test 1: Controlling the Trade Manager - https://www.fxblue.com/users/20419063     See video https://www.youtube.com/watch?v=KTnVd7Wnjr4
Test 2: Controlling the EA - https://www.fxblue.com/users/20469928   See video  https://www.youtube.com/watch?v=v7n2Ec8ZRZM
Test 4,5,6: Controlling with the Trade Manager using Scale-Ins - https://www.fxblue.com/users/20419067

(The whole purpose of these tests is to find which system works best on which EAs after say 3 or 6 months of trading and then select the best performers to run on a live account.)

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on July 04, 2018, 06:25:29 PM
Am still on holidays but could not resist checking on the performance for these tests.

In particular, I know that the VFX GBPJPY EA does not perform well and am keen to see whether in the long term use of the EA Controller can fix that. The current settings enable an additional 0.1 lot size to be added when EA performance is in uptrend; and triggers a 0.2 lot reverse entry trade when the EA performance is in downtrend/DD.

The attached graph shows that both the additional normal entries (6112235) and the reverse entries (9112235) are helping to offset the losses made by the normal EA (112235).

Encouraging.

The other 5 EAs are all running profitably. More on these in August.
Title: Re: EA Controller
Post by: diyforexskills on July 21, 2018, 07:53:31 PM
Not a good week for the portfolio of EAs. Only FXAE 48164 and TheZone EAs managed to keep their head above water - just.

But pleasing to see that the reverse scale-ins for the losing VFX GBPJPY  (112235) are working.

Magic 8112235 kicks in on the  SMA 8 while 9112235 kicks in at SMA 20 of the performance curve.

Both finished the week in profit with 4 reversed scale-in trades each - not sure why they don't have exactly the same results but probably due to the vagaries of internet connections, MT4 glitches etc. Never an exact science.
Title: Re: EA Controller
Post by: diyforexskills on August 01, 2018, 09:21:06 AM
Setting up Test 4

This Test will involve the use of the Controller with the updated TM which can enter reverse scale-ins to simulate reverse entry trades during DD periods (as described in Reply #207).

At this stage I have just set up the EAs to run normally for a week or so until they have done about 10 to 20 trades. Then we will have a bit of a performance curve and so can add a meaningful MA for the Controller.

The EAs I have selected for this Test all have a different trading logic and are freely available (apart from the FXAE 48164 which comes as part of the Special Package. It is the one common EA in all three Tests so that we can compare which method of controlling works best). They are:

1.PZ TheZone on AUDUSD H1  http://www.pointzero-trading.com/Products/free  This customizable and flexible expert advisor trades according to Bill Williams definition of the Trading Zone.
2. PZ ADX Trader on EURAUD H1   http://www.pointzero-trading.com/Products/free  Flexible expert advisor that trades according to the ADX Indicator. It offers flexible entry strategies and position management. This one has been losing badly in my initial testing and so I want to see whether we can "rescue" it by trading with the Controller and TM.
3. FXAE 48164 on EURUSD M15  http://www.fxautotraderelite.com/resources/ Based on several MAs with hedging enabled
4. Forex FireBall on EURUSD M1  https://forexrobotnation.com/your-first-free-forex-robot/  No explanations given by developer but it's working for me
5. Best Free Scalper v1.2 on GBPCAD M1 https://donnaforex.com/index.php?topic=19928.0  A free Asian session scalper by Automater and using the SET file provided by the developer. Both downloadable from Post1 in that Thread
6. SQ EURNZD EA on M15  https://donnaforex.com/index.php?topic=19943.0 See explanation from donbon2 in the Thread
7. Forex Samurai on EURUSD H1   http://www.fxsamurairobot.com/ Gets the trading activity of previous week and analyzes the market quotes, all its trades and results, checks support and resistance levels and some other filters. Sure, many filters reduce trades quantity. It makes 1 order in 1-2 days normally.

So when I add a TM for each in a week or so we will have 14 charts open which should be quite doable. Let the games begin.....

PS Forgot about the 8th

8. VFX London Breakout v1.12 on GBPJPY H1 https://www.mql5.com/en/code/17465  Works as per name. This is the version which does NOT have a reverse entry at the SL of the initial entry, as does v1.3 which is used in Tests 1 and 2. BT by a colleague shows that this version (1.12) on this pair is profitable overall but can have longish DD periods; so should be a good test to see if the Controller can improve performance. during such DD periods.

Time for a Check Up

We still have 6 of the 8 EAs trading in this Test (PZ ADX and Forex Fireball were removed soon after starting). So after 5 months of trading the six remaining EAs have performed as shown below.

In the next few Posts I will discuss the results for each of these separately in conjunction with the Normal and Reverse scale-ins as managed by the EA Controller and Trade Manager on these EAs. (This will show how we could have still managed a profit from the worst performing EA!).
Title: Re: EA Controller
Post by: diyforexskills on August 02, 2018, 05:14:24 AM
Recap

Before I start the analysis, a short recap on the system being tested.

An EA's performance is based on the prevailing market dynamics. When the market dynamics are the same as the period for which the EA strategy was developed and optimised, the EA performs well. When the market dynamics have changed, the EA goes into DD.
So we have two choices.
1. Continually search for new EAs and/or settings which perform well on current market conditions (as donbon2 is kindly doing for us in other Threads)
2. Work with the market, keep using the same EA and let the market dictate whether to increase lot size when the EA is profitable; and decrease lot size and/or add inverted trades when the EA is not profitable.

In my system the EA Controller does the monitoring and signals what action needs to be taken.
When trading with FX Autotrader made EAs, the Controller can be made to work with second and third copies of the EA to achieve the lot size increase and/or inverted trades.
But when trading with third party EAs (which cannot communicate with the EA Controller), the simplest way to do this is to use the DIY Trade Manager Plus. One copy of the TM can be set to add a normal scale-in when the EA is trading profitably; the second copy of the TM can be set to add inverted scale-ins when the EA is in DD mode.

This is the basis of Tests 4, 5 and 6. Previously, as in Test 1 and 2, I was suggesting using the TM to close "unwanted" trades early. But with that system we also need to use the FX Blue Trade Copier to trigger inverted trades for 3rd party EAs, and so that gets a bit messy. Hence I am now advocating the use of the TM to trigger either normal or inverted scale-ins when required.

Tomorrow I will show what was and what could be achieved with the worst performing EA - the VFX LBO EA running on GBPJPY. Analysis of the other five EAs tested will follow.


http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
http://www.fxautotraderelite.com/

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on August 03, 2018, 09:11:28 AM
Analysing Test 4 Results for VFX LBO GBPJPY
(Pls refer to Reply #235 for descriptions of these Tests)

Test 4
1. Magic 112235 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager)
2. Magic 6112235 is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20), at +5 pips
3. Magic 9112235 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20), at -5 pips

The EA has a TP of 66 and a SL of 33 pips, a reward:risk ratio of 2:1. Therefore the reverse trade needs to have its TP at 33 - 5 = 28. If we kept the SL at 66 we would have a bad reward to risk ratio; hence I have set SL for these reverse scale-ins to 14 so as to keep the same 2:1 ratio.

The results are summarised in the image below.

The top graph shows the variable profitability of the EA and hence indicates when the normal and reverse scale-ins were activated. This is also evident in the middle graph.

At first glance this experiment is a failure - a loss of about $120 over 4 months (trading all three at 0.3% risk or 0.1 lot). But still better than trading the EA alone losing $243.

But what if we run the EA at 0.01 lot (0.03% risk) and set the scale-ins to trade at 1% risk (about 0.3 lots on a $10K account).

In that case the EA would have lost only $24, the normal scale-in, 6112235, would have made $108 and the reverse scale-in, 9112235, would have made $250. Net $334 profit.   

So even though we had a losing EA,  :(  ,we (would) have made a profit overall with a better choice of lot sizing.   :) :)

Note also that the reverse scale-in trades had a win ratio of only 39%, probably due to the very tight SL of 14 pips. So one other parameter worth testing is the reverse scale-in SL - maybe set that to 28 for a 1:1 reward:risk ratio?

(In Test 6 we set the reverse scale-in to be triggered on SMA 8 of the closed P/L curve - this turned out to be too tight and results in 33 trades with loss of $56)
Title: Re: EA Controller
Post by: FLechdrop on August 03, 2018, 11:31:59 AM
Fascinating idea, diyforexskills. My question would be: I get how reverse trades work as far as entries are concerned, but based on what logic does it close trades? You configure that in EA Controller or Trade Manager Plus, I assume, but that would give you a very different exit logic (fixed TP and SL) compared to that of the EA you are working with.
Title: Re: EA Controller
Post by: diyforexskills on August 03, 2018, 12:10:46 PM
Fascinating idea, diyforexskills. My question would be: I get how reverse trades work as far as entries are concerned, but based on what logic does it close trades? You configure that in EA Controller or Trade Manager Plus, I assume, but that would give you a very different exit logic (fixed TP and SL) compared to that of the EA you are working with.

Very true. I therefore modified the TM so that we can also set it to close the scale-in whenever the EA's trade closes. Pls see Reply #241. This is important for the other five EAs I am testing.  However with the VFX EA there is no TS etc, just hard SL and TP.
Title: Re: EA Controller
Post by: FLechdrop on August 03, 2018, 01:06:15 PM
OK, thanks. But my point is: does that work for reverse scale-ins as well? I guess it might, as long as the EA trade does fail. Whether it gives you an optimal exit is a different matter, but profit is profit.

What kind of period do you use for the EA Controller to decide when to reverse?
Title: Re: EA Controller
Post by: diyforexskills on August 04, 2018, 03:51:11 AM
OK, thanks. But my point is: does that work for reverse scale-ins as well? I guess it might, as long as the EA trade does fail. Whether it gives you an optimal exit is a different matter, but profit is profit.

What kind of period do you use for the EA Controller to decide when to reverse?

Yes it does. If the EA trade does not fail but goes into profit, then when it closes in profit the reverse scale-in will close, at a loss of course. With scalpers the profit and hence the reverse scale-in loss is usually pretty small. As to optimal, yes that remains a question. Your questions have prompted me to set up a second reverse scale-in for the scalper EAs in this Test where I will set a hard, tight SL and a hard TP with TS.

More on this when I discuss the data for the BFS EA.

Currently running with SMA 20, ie the SMA of the last 20 closed trades. If the EA already has a long trading history, then we can apply the Controller to the chart and visually inspect what might be an optimal "period" and type (SMA, EMA, SMMA , LWMA) and shift for the MA for that EA. That is, one that avoids whipsaws as much as possible. One could also have one period for the normal scale-ins and a different one for the reverse scale-ins, meaning that for some (indecisive) periods neither scale-in will operate.
Title: Re: EA Controller
Post by: diyforexskills on August 04, 2018, 04:25:04 AM
Analysing Test 4 Results for VFX LBO GBPJPY
(Pls refer to Reply #235 for descriptions of these Tests)

Test 4
1. Magic 112235 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager)
2. Magic 6112235 is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20), at +5 pips
3. Magic 9112235 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20), at -5 pips

The EA has a TP of 66 and a SL of 33 pips, a reward:risk ratio of 2:1. Therefore the reverse trade needs to have its TP at 33 - 5 = 28. If we kept the SL at 66 we would have a bad reward to risk ratio; hence I have set SL for these reverse scale-ins to 14 so as to keep the same 2:1 ratio.

The results are summarised in the image below.

The top graph shows the variable profitability of the EA and hence indicates when the normal and reverse scale-ins were activated. This is also evident in the middle graph.

At first glance this experiment is a failure - a loss of about $120 over 4 months (trading all three at 0.3% risk or 0.1 lot). But still better than trading the EA alone losing $243.

But what if we run the EA at 0.01 lot (0.03% risk) and set the scale-ins to trade at 1% risk (about 0.3 lots on a $10K account).

In that case the EA would have lost only $24, the normal scale-in, 6112235, would have made $108 and the reverse scale-in, 9112235, would have made $250. Net $334 profit.   

So even though we had a losing EA,  :(  ,we (would) have made a profit overall with a better choice of lot sizing.   :) :)

Note also that the reverse scale-in trades had a win ratio of only 39%, probably due to the very tight SL of 14 pips. So one other parameter worth testing is the reverse scale-in SL - maybe set that to 28 for a 1:1 reward:risk ratio?

(In Test 6 we set the reverse scale-in to be triggered on SMA 8 of the closed P/L curve - this turned out to be too tight and results in 33 trades with loss of $56)

Addendum

I am running these Tests on the one platform. However the Controller can communicate with the TM across two platforms on the same computer or VPS by making use of the FX Blue QuickChannel technology. So we could trade the EA on a demo account platform and run the scale-ins on our live account platform. That way we don't suffer any losses that the EA might make.

If we examine the data in this way, assuming that the EA was run on a demo and the scale-ins on a live account, we would have the performance as shown in the image.

So the EA, VFX LBO GBPJPY, is in DD which is of no concern since it is on demo.

The live account, where the scale-ins were traded, is in profit. Remember that this was trading the scale-ins at 0.3% risk, so if we upped that to 2% risk we would have made 2% pm over the 4 months with a max DD of around 6%. Not a bad result for trading an EA that is unprofitable!!

The free VFX LBO EA (https://www.mql5.com/en/code/17465) comes with set files for 10 different currency pairs. Since they all operate the same way, one assumes they could all be traded in this manner. With the same sort of results??? I am going to give it a whirl - will take two months or so to generate the first 20 trades for each so testing with scale-ins won't begin till October.
(A colleague of mine has back tested each of these and found that only the EURJPY was profitable over 10 years when traded normally. So this should be a good test of the scale-in system).
Title: Re: EA Controller
Post by: diyforexskills on August 05, 2018, 06:10:20 AM
Analysing Test 4 Results for PZ theZone EA AUDUSD
(Pls refer to Reply #235 for descriptions of these Tests)

Test 4
1. Magic 98765 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager; two of them were used for this Test)
2. Magic 698765 is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20), at +5 pips
3. Magic 998765 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20), at -5 pips

This EA is set with a TP 0f 100 and SL of 50 (2:1 reward:risk ratio) with BE at 15 and a 50% TS. The impact of the BE and TS meant that the average TP was only around 5 to 10 pips and so the actual reward:risk ratio was more like 1:5 since SL was always 50 pips!! So even with an 83% win rate, the EA still loses. That is the problem with scalpers.
For some reason I set the reverse scale-in to TP 50 and SL 50 (1:1 ratio) rather than SL to 25 for the 2:1 ratio. However only 2 out of 26 trades were badly affected by that.
Scale-in trades were set to be closed whenever the EA's trade was closed but an inspection of the data shows that this did not occur for 2 of the 23 reverse scale-in trades, badly increasing the loss.

So the picture is not pretty as shown in the image. The scale-in system delivers a worse result than the EA itself.

This is surprising since an inspection of the SMA 20 on the performance curve, top image, shows that there were clear periods of downtrend and one uptrend; ie not a choppy situation. Hence the scale-ins should have been profitable as indicated by the arrows on the top image. (During a period of downtrend the reverse scale-ins should be making a profit.) I also don't understand why 10 of the reverse scale-ins closed at a profit of around 15 instead of the 50 as set. The TP of a scale-in corresponds to the SL of the EA and the EA has no moderating feature for trades going into a loss. Hence a reverse scale-in trade in this setup should finish either at 50 pip profit or a small loss while the exit is controlled by the exit of the EA's trade. Something is going wrong. Slippage of the signal from the Controller??

So I am going to make some adjustments to the scale-ins. Tighten the TP and SL of normal scale-in to 25/25 and of reverse scale-in to 50/15. And then a second reverse one with same TP/SL but also a TS of 25.

NOTE
In these Tests I am using a reverse scale-in for when the EA is in DD. However we could also of course use a normal scale-in but with much tighter TP and/or SL during such DD periods. Something else we can test. We just need something different for when the EA is in DD since the market during these periods in obviously unsuitable for the EA's optimised strategy. Some form of variation is required to eke out a profit during these periods.
Title: Re: EA Controller
Post by: diyforexskills on August 07, 2018, 11:18:25 AM
Analysing Test 4 Results for FXAE 48164 EURUSD
(Pls refer to Reply #235 for descriptions of these Tests)

Test 4
1. Magic 48164 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager; two of them were used for this Test)
2. Magic 648164 is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20), at +5 pips
3. Magic 948164 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20), at -5 pips

This EA was made and optimised with the FX Autotrader Elite some years ago. It has hard TP and SL at 60/60 with BE at 30 locking in 5, and TS of 30 starting at 30. It also has a dynamic exit based on a MA crossover. It does not trade on Wednesdays. Exits for the scale-ins are triggered by the EA's trade closure.

As is evident from the image, the EA performed well during the Test period from 16 April with closed P/L remaining above its SMA 20 so that only normal scale-ins were entered. Since these scale-ins are entered at +5 pips, the profit from scale-in trades is always 5 pips less than that from the EA itself. It appears that 9 normal scale-ins were not triggered during the test period (32 vs 41). Nevertheless, adding scale-ins during profitable market conditions has proven beneficial. All trades are at approximately 0.6% risk. Trading at 2% risk would have yielded almost 6% pm with a 6% DD.

Note:
Since this EA is an FX Autotrader Elite made EA, the Controller can control copies of the EA directly; and the EA can also be set to reverse trades. In other words we don't need to use scale-ins to trade this system. This is being done in Test 2 and has been running one month longer. During that first month the EA was in DD and hence reverse trades (948164) were executed. The data for that Test is shown in the second image, showing that the reversing during DD also led to a small positive result. In this Test 2, the monitoring EA (48164) is run at 0.01 lots and the normal (648164) and reverse (948164) trades at 0.1 lot or approximately 0.6% risk.

All in all, very encouraging results with this EA.
Title: Re: EA Controller
Post by: diyforexskills on August 09, 2018, 08:30:20 AM
Analysing Test 4 Results for PZ theZone EA AUDUSD
(Pls refer to Reply #235 for descriptions of these Tests)

Test 4
1. Magic 98765 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager; two of them were used for this Test)
2. Magic 698765 is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20), at +5 pips
3. Magic 998765 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20), at -5 pips

This EA is set with a TP 0f 100 and SL of 50 (2:1 reward:risk ratio) with BE at 15 and a 50% TS. The impact of the BE and TS meant that the average TP was only around 5 to 10 pips and so the actual reward:risk ratio was more like 1:5 since SL was always 50 pips!! So even with an 83% win rate, the EA still loses. That is the problem with scalpers.
For some reason I set the reverse scale-in to TP 50 and SL 50 (1:1 ratio) rather than SL to 25 for the 2:1 ratio. However only 2 out of 26 trades were badly affected by that.
Scale-in trades were set to be closed whenever the EA's trade was closed but an inspection of the data shows that this did not occur for 2 of the 23 reverse scale-in trades, badly increasing the loss.

So the picture is not pretty as shown in the image. The scale-in system delivers a worse result than the EA itself.

This is surprising since an inspection of the SMA 20 on the performance curve, top image, shows that there were clear periods of downtrend and one uptrend; ie not a choppy situation. Hence the scale-ins should have been profitable as indicated by the arrows on the top image. (During a period of downtrend the reverse scale-ins should be making a profit.) I also don't understand why 10 of the reverse scale-ins closed at a profit of around 15 instead of the 50 as set. The TP of a scale-in corresponds to the SL of the EA and the EA has no moderating feature for trades going into a loss. Hence a reverse scale-in trade in this setup should finish either at 50 pip profit or a small loss while the exit is controlled by the exit of the EA's trade. Something is going wrong. Slippage of the signal from the Controller??

So I am going to make some adjustments to the scale-ins. Tighten the TP and SL of normal scale-in to 25/25 and of reverse scale-in to 50/15. And then a second reverse one with same TP/SL but also a TS of 25.

NOTE
In these Tests I am using a reverse scale-in for when the EA is in DD. However we could also of course use a normal scale-in but with much tighter TP and/or SL during such DD periods. Something else we can test. We just need something different for when the EA is in DD since the market during these periods in obviously unsuitable for the EA's optimised strategy. Some form of variation is required to eke out a profit during these periods.

This is more like it!

I had noted that the reverse scale-ins were not doing what they should. So I made some adjustments including adding a TS of 25 to the reverse scale-ins. Instant success (or just good luck!). However it was nice to see that for one of the trades, the reverse scale-in was stopped out at about 15 pips profit and the EA's trade continued to finish with a small profit as well on its return journey. So both the normal and the reverse trade finished in profit!

The image shows this better action reflected in the graph. This is how the system is meant to work. When the EA is in DD and the EA is losing, the reverse scale-ins should be winning so as to negate the loss.
Title: Re: EA Controller
Post by: diyforexskills on August 10, 2018, 08:20:47 AM
Analysing Test 4 Results for SQ EURNZD M15
(Pls refer to Reply #235 for descriptions of these Tests)

Test 4
1. Magic 112233 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager; two of them were used for this Test)
2. Magic 6112233 is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20), at +5 pips
3. Magic 9112233 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20), at -5 pips

This EA has a TP of 41 and SL of 89 for a 1:2 reward to risk ratio meaning that we need a 70% win rate to break even. I had set the normal and reverse scale-ins to TP of 25 and SL of 50 and set close on EA trade exit to true. Meaning that the scale-ins were also closed whenever the EA's trade was closed. In order to trigger enough trades I set Max Spread to 5 rather than the default of 2.

As shown in the top graph, the EA is still in profit starting from 18 Feb 2018. The performance curve is more choppy relative to its SMA 20 than I would like. So might make some adjustment to that after we have had a few more months of trading. For the period when the scale-ins were operating, from 26 May, the EA is at a small loss. The normal scale-in finished the period with a small gain while the reverse scale-in is at a loss.

Given these results and an examination of the individual trades, I have reset the normal scale-in to TP/SL of 40/25 with a TS of 20; and the reverse scale-in to 40/20 also with a TS of 20. (I always prefer to trade with a 2:1 reward to risk ratio.)

So we need a bit more time to test this EA to see if trading it with the Controller system can improve performance.
Title: Re: EA Controller
Post by: diyforexskills on August 11, 2018, 05:54:45 AM
Analysing Test 4 Results for Samurai Robot EURUSD H1
(Pls refer to Reply #235 for descriptions of these Tests)

Test 4
1. Magic 102057 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager; two of them were used for this Test)
2. Magic 6102057is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20), at +5 pips
3. Magic 9102057 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20), at -5 pips

This EA has TP of 30 and SL of 88 pips with a TS of 23 and a Max Order of 2. So it needs at lest a 75% win rate to just break even. It is achieving 80% since 18 Feb 2018 and so is running profitably with a profit factor of 1.36. Not bad for a free EA run on default.

The stats show that the normal and reverse scale-ins have not been doing what we would like. The normal scale-in, at 5 pips, had a somewhat tighter SL than the EA so I have now increased that to match the EA's exit price on SL. This means setting the SL at -93 (88 + 5). TP is at 25 (25 + 5 =30 so as to match the EA's TP).

I made a mistake of setting a TS of 25 to the reverse scale-ins. It seems that because of that the reverse scale-in trades never reached their max TP of 83 pips (88 - 5); whereas 11 of the 73 EA's trades reached their 88 pips SL. Hence the reverse scale-ins performed very badly - 16 losses at 25 pips and only 3 wins for 18 pips). Since reverse scale-ins start at -5 pips, I should also have set the SL at 35 pips to coincide with the TP level for the EA's trades. Changes have now been made.

Let's see how we go with these revised settings.
Title: Re: EA Controller
Post by: diyforexskills on August 13, 2018, 07:19:36 AM
And finally the last of the six .... Test 4 for BFS GBPCAD M1

Test 4
1. Magic 656565 will trade all the time at 0.1 lot (five Controllers are placed on this chart each linked to its own Trade Manager; two of them were used for this Test)
2. Magic 6656565is a Normal scale-in at 0.1 lot and will trade when the EA is in uptrend (Closed P/L above its SMA 20), at +5 pips
3. Magic 8656565 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 7), at -5 pips
4. Magic 9656565 is a Reverse scale-in at 0.2 lot and will trade when the EA is in downtrend (Closed P/L below its SMA 20), at -5 pips

It has become clear to me that this system of adding normal and reverse scale-ins is not suited to scalpers.

That is sort of logical when you consider the typical performance curve of a scalper - many small wins followed by a big loss, followed, generally, by more small wins. Hence the Normal scale-in will also suffer that big loss and when the Reverse scale-in is kicked in following the big loss (closed P/L falls below its SMA), the EA starts winning again and hence the reverse scale-in loses.

This is evident from the table at bottom of image. The reverse scale-in at SMA20 is magic 9656565 and made a large loss. Actually not as bad as it looks since $220 of that loss is due to a failed SL from a MT4 glitch. Magic 8656565 is a reverse scale-in at SMA 7 which gives a marginally better result, ie less negative!

The two top graphs show different SMAs (20 and 10) applied to the same performance graph.

So my thoughts on what we might do for scalpers of this type is as follows.

1. Use a tighter SMA - eg 10
2. When closed P/L is above SMA10, scale-in a normal trade but with SL set much tighter than on the EA; say 50% reduction.
3. When closed P/L is below SMA 10, scale-in a normal trade but with twice the lot size. Rationale here is that after a loss scalpers normally go back to making small wins and so we want to capitalise on that by increasing lot size.

I will set this up next weekend.
Title: Re: EA Controller
Post by: diyforexskills on August 15, 2018, 08:58:02 AM
Comparing the Different Methodologies

The EA Controller was designed to enable a trader to increase lot size of an EA's trade while the market is favourable and hence the EA's performance is positive; and decrease lot size and/or enter reverse entry trades when the market is unfavourable and performance is in downtrend.

In order to achieve this the EA Controller can be made to operate directly on the FX Autotrader Elite EAs or on the DIY Trade Manager Plus. (It can also control the FX Blue Trade Copier, which in turn can vary trade parameters and/or invert trades, but that is another story.)

The TM in turn can operate in one of two ways.
a. It can be used to close unwanted trades from the various copies of the EA, by setting a very tight SL.
b. It can be set to trigger scale-ins of the type we need.

I have been testing these three methods for one of my FXAE strategies, FXAE V48164 running on EURUSD M15. The results for trading from 11 March 2018 till present are shown below.

So the EA running on 3 different MT4s all on the same VPS, yield almost identical results for the EA itself (magic 48164).

In the top image (Direct Control) the Normal copy of the EA (648164) was triggered 46 times for a healthy profit; and the Reverse entry copy of the EA (948164) was triggered 13 times for a small loss.

In the middle image, both the Normal and Reverse copies of the EA were running all the time with the TM being used to close "unwanted" trades. ie Normal trade were closed early (at 5 pips) during DD; and Reverse trades were closed early during uptrend in performance. I have no idea how the extra 7 (948164) trades were triggered. There should only have been 59 trades, not 66.

In the bottom image, Normal scale-ins were set to be triggered at 5 pips in profit and Reverse scale-ins were set to be triggered at -5 pips in loss depending on whether the EA's performance was in uptrend or DD. Hence we see fewer Normal trades (648164)  and zero Reverse trades (948164) when compared to the other two tests.

Note also that in the top two test results the EA itself (magic 48164) was run at 0.01 lot compared to 0.1 lot in the bottom test.

In summary, with this EA to date, adding reverse trades during a DD (closed P/L below its SMA 20), is not helpful. But otherwise adding Normal trades is beneficial and any of the three methods can be used.

My preference is for the first method, direct control, but that can only be done with FXAE EAs which have the Signal code embedded in their code. For third party EAs, my preference is for the scale-in method since we get a higher win rate for the Normal trades that way - 71% vs 56%. (I suspect that that is due to a scale-in being triggered at only 5 pips in profit of the EA, and so if price goes against the trade almost straightaway on opening, the scale-in will not be triggered and hence a loss will be avoided. But of course the TPs will be 5 pips less if we use the same TP levels. So the benefit could go either way.)


http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
http://www.fxautotraderelite.com/

You can purchase the licence for 2018 from here (please see Reply #154 for a description of this Package)
https://secure.avangate.com/order/checkout.php?PRODS=4721645&QTY=1&CART=1&CARD=2
Title: Re: EA Controller
Post by: diyforexskills on August 17, 2018, 08:41:46 AM
Analysing Test 1 and 2 Results for FXAE V482220 USDCAD H1

These tests involve running the Normal entry version of the EA when the market conditions are favourable (ie performance is in uptrend); and running the reverse entry version when the EA is in downtrend. And then the two ways of doing that:
1. Controlling the EAs directly (EA on or off depending whether in uptrend or downtrend)
2. Controlling the EAs via the use of the Trade Manager (using the TM to close unwanted trades at -5 pips in loss depending on uptrend or downtrend)


This EA has a TP of 120 with BE locking in 15 at 60 and a TS of 30 starting at 60. The reverse trades have TP and SL both at 60. The results are shown below for the two systems. For some unknown reason we had an extra 7 trades on account using the TM so the results for the EA on that account are skewed positively.

Basically the EA's performance by itself is marginally negative over this period and has been in DD (closed P/L below SMA 20) for most of the time as shown in second image.

So it is pleasing the the reverse entry trades (magic 9482220) have generated a profit.

The normal entry trades (magic 6482220), only 5 during that period, however have generated a loss. The reason for that is obvious to see from the second image - the EA was in uptrend for only two brief periods and so the 5 trades taken during those brief periods all ended in a loss.

This again highlights how a choppy performance curve causes problems with this method of trading. We need performance curves with longer periods of ups and downs. In this example we are in a drawn-out downtrend (DD), but still making money with our reverse entries - that is what we want. So until we see a sustained return to favourable market conditions for this EA, it would make sense to switch off the Normal entry trades.
Or perhaps run the normal entries with tighter TP and SL.

Food for thought.



Title: Re: EA Controller
Post by: diyforexskills on August 20, 2018, 02:44:37 AM
Let's also try something else..

In one of the other threads (Volatilty Factor) mauricejack wrote "in my experience this is one of the classic problems of using an EA. Deactivate it as soon as it enters a phase of dd (which is physiological), and reactivate it as soon as it has recovered, risking other losses. This EA in particular can be very frustrating (more or less long periods of gain and few trades with large losses), but in perspective if left to work it recovers rather quickly (based on tests that are one of the few objective data available). And it is precisely the perspective (if we overcome this psychological block of the phases of DD), it makes me notice that in live it has obtained 100% gain in 4 months ... Chapeau!
...)."

This observation led me to wonder how successful it would be to help an EA get out of DD sooner by adding to the lot size when the EA goes into DD. I am trialing an EA for over a year which does just this. After each loss, the lot size is increased by 50%; and then back to starting size after a win. This has resulted in a performance curve for this EA as shown in first image. The orange shaded areas show the big trade that goes to full TP and recoups all the losses; the red shaded areas show how sometimes the recovery from a large trade is small because the EA has a TS. Still, not bad.

So I am thinking that we can do something like this with the Controller and TM.

Run an EA with 5 copies of the Controller linked to five copies of the TM set to scale-in trades.
Set the MA of the Controllers to 3, 6, 12, 24, 48 EMA and the TM set to scale-in a normal trade at 5 pips in profit for the EA whenever the closed P/L of the EA is below its EMA. ie is in DD.
Eg. When Controller EMA 3 signals DD, the related TM will scale-in an extra normal trade thus increasing overall lot size. If DD continues, Controller EMA6 will also be in DD and signal its related TM to scale-in another extra normal trade... and so on. As shown on the second image showing Controllers with EMA 3, 6, 12, 24, 48.

When the EA starts to meet favourable market conditions again and moves out of DD, ie into uptrend, the scale-ins will be successively removed as closed P/L moves back  above EMA 48, 24, 12 etc.

In this example the Controllers would be set to measure the performance of the EA only. We could run a second test of this setup, but make the Controller measure the performance of the EA and the scale-ins. After all, we can use up to 10 magics in the Controller. So the Controller would be signalling uptrend or downtrend based on the cumulative performance of the EA and scale-ins rather than on the performance of the EA alone.
Title: Re: EA Controller
Post by: diyforexskills on August 21, 2018, 06:07:28 AM
A new Multiple Controller Test
Pls see previous Post for the genesis of this idea.

Thinking further about this idea of using the EA Controller to respond to changing market conditions, I am now ready to set up the following Test.

1. I will use the same EA whose results I showed in the first image of the previous Post. This is FX11 2401 running on USDJPY H1 (free bonus EA for purchasers of the EA Controller). The settings used include a lot multiplier of 1.6 to increase trade size after a loss. For my Test with the Controller I will set this parameter to 1 since I want to use the TM to effectively increase lot size after a loss rather than the EA itself. (The EA is a simple OB/OS strategy using CCI with a 1:1 RR and a TS.)

2. The EA will trade with a 0.03 lot size and the TM normal scale-ins will be set to add 0.02 at EMA 3 DD, a further 0.03 at EMA 6 DD, a further 0.05 at EMA 12 DD, a further 0.08 at EMA 24 DD - so total now is at 0.21 lot (this mimics the 1.6 lot multiplier setting of the EA when used alone; and then...

3. If the DD were to continue then this marty style of increasing lot size during DD could end us up in big trouble! Therefore I have decided to enter a counter or reverse scale-in of 0.21 lot at EMA 48 DD. So if the DD goes beyond/deeper than EMA 48, we will be fully hedged for subsequent trades. At this stage I will need to be ready to intervene manually. If and when the EA starts to pull out of DD, say back past EMA 3,  I will need to deactivate the reverse scale-in manually. Because the remaining normal scale-ins will successively stop as the uptrend in performance continues past EMA 3, 6, 12, 24 and it would be some time before the 0.21 lot reverse scale-ins would stop at closed P/L going above EMA 48. Alternatively, at this point, I could change the EMA on the Controller for the reverse scale-in TM from 48 to 3. In either case I will have to reactivate/reset this Controller's EMA at some point. So not totally automated. A bit of "tinkering" may be required.  :)

4. I will set up a copy of this test but with the Controllers measuring the sum of EA plus scale-in results, rather than just the performance of the EA itself. (I have a feeling that this will yield better results, but we will see.) From previous optimisation back tests I know that this EA will lose badly without some form of lot size multiplier. Note also that this EA, when used with lot size multiplier activated, has a built-in protection so that any one trade will not be at a higher risk than 20% of account balance.

5. By using the FX11 2401 EA for these Tests, we will also be able to compare the results of this type of intervention using either lot size multipliers built into the EA vs using the Controller and TM to achieve a similar type of intervention. The final reverse scale-in for my setup at EMA 48 is meant to serve as an equivalent of the 20% risk limit of the EA (refer Point 4 above).

This should be interesting. I will have the EA on one chart with 10 copies of the Controller, and then a further 10 charts each with a copy of the Trade Manager. Most of the time they won't all be trading so should not be too much of a strain on VPS resources.
Title: Re: EA Controller
Post by: diyforexskills on August 22, 2018, 07:33:18 AM
In my previous Post I wrote:
At this stage I will need to be ready to intervene manually. If and when the EA starts to pull out of DD, say back past EMA 3,  I will need to deactivate the reverse scale-in manually. Because the remaining normal scale-ins will successively stop as the uptrend in performance continues past EMA 3, 6, 12, 24 and it would be some time before the 0.21 lot reverse scale-ins would stop at closed P/L going above EMA 48. Alternatively, at this point, I could change the EMA on the Controller for the reverse scale-in TM from 48 to 3. In either case I will have to reactivate/reset this Controller's EMA at some point. So not totally automated. A bit of "tinkering" may be required.  :)

Of course we could also do something a little out of the ordinary. We could add a copy of the Controller to the reverse scale-in TM and set it to monitor the performance of those reverse scale-ins. And then link it to another copy of the TM which we set to close any unwanted trades at -5 pips in loss. So when the market dynamics become suitable again for the EA and hence the reverse scale-ins start losing, say when closed P/L of these reverse scale-ins falls below its EMA 6, the extra TM will close any such unwanted trades at -5 pips.

If the market continues to be favorable for the EA and hence the performance uptrend of the EA continues, then reverse scale-ins will no longer be activated when closed P/L rises above EMA 48. And hence there will be no unwanted trades to close any more and so this extra TM will just stay dormant until the next major DD and recovery.
Title: Re: EA Controller
Post by: diyforexskills on August 26, 2018, 04:28:37 AM
Steady performance

Pleasing to see the FXAE V48164 continuing to perform well; and that doubling lot size during favourable market conditions (by using the Controller and TM to add magic 648164) is paying dividends; delivering around a 40% bonus in profit while market conditions are favourable and the EA is winning. All done on auto - no need to tinker manually.
Title: Re: EA Controller
Post by: diyforexskills on August 27, 2018, 04:14:26 AM
Control Trade Exits with the Trade Manager

In trading most attention is paid to getting the entry points correct. Equally important is getting the exits correct. Mostly we just do this by setting TP and SL levels and maybe BEs and TS, usually all pip-based. And hope for the best.

In my testing of the Controller so far we have focused on using the Controller with the TM to add normal or reverse scale-ins depending on market conditions.

But we can also use the Controller with the TM to adjust/override the exits of our EA's trades depending on whether the market dynamics are favourable (EA is winning), so probably best to leave as is, or unfavourable (EA is losing), time to intervene.

The DIY Trade Manager Plus provides many ways of setting TP and SL and TSs - from ATR-based settings to using RSI levels, and TS based on fractals, or PSAR or MA crossovers, or %.

We can use the Controller to signal when the TM should be activated - eg when the EA goes into DD, say closed P/L below its SMA20. At this stage we might just do something to tighten the exits. If closed P/L falls further, say below its SMA 40, we might use a second copy of the Controller to activate a second copy of the TM to just close trades at -5 pips.

I am currently trying a variety of settings with the BollingerBand EA. Just by itself, without use of the Controller, as described in this thread https://donnaforex.com/index.php?topic=20211.msg379730#new (Replies 98 to 101).


http://diytrademanagerplus.com/

Title: Re: EA Controller
Post by: diyforexskills on August 30, 2018, 08:35:38 AM
Control EA trades based on market indicator?

The EA Controller we have now is based on measuring performance of the EA in order to determine the signal - yes or no (eg switch TM on or off for adding a positive or negative scale-in).

But a simple coding change could have the Controller signalling on the basis of a market indicator.

For instance, if we have one setting of an EA that generally works well when say the Daily ATR 14 is higher (say above 100 or whatever), and another version which works better when the Daily ATR14 is lower (say below 100), then if we had an ATR-based Controller we could control the TM to close trades at say -5 pips on whichever EA version is less suitable under the prevailing ATR condition.

Suggestions anyone as to which indicator may be most appropriate for such an approach?
Title: Re: EA Controller
Post by: diyforexskills on September 08, 2018, 07:03:58 AM
Mid-term Update on Tests 4 and 5
(Pls see Reply#235 on p 15 for the background to these Tests)

These tests will finish in Dec 2018, so we are in for the final half. By now I have reduced the EAs under test from 8 to 6 and now 4. As expected, this system of trading does not work with scalpers and so I am calling a halt to tests with BFS and PZ TheZone EA. Both are trading at a loss and neither the normal or reverse scale-ins have helped.

With the remaining four (FXAE v48164, Samurai, SQ EURNZD and VFX GJ), doubling the lot size (by adding a normal scale-in) during favourable market conditions is paying off; but reverse entry scale-ins during unfavourable market conditions is so far not proving worthwhile.

I have reset conditions for reverse scale-ins at start of September, so will keep these tests alive. FXAE v48164 has never been in DD during the test period so don't know how the reverse entry scale-ins would/will work for that EA.

The performance of these 4 EAs since mid-April 2018, including the addition of normal scale-ins during favourable market conditions, is shown below. The normal scale-ins (ie effectively doubling lot size) account for some $500 of the nearly $1500 profit. A return of 3% pm with a DD of only 4% is not bad with over 50% of that return coming from the FXAE v48164 Autotrader strategy alone. Needless to say that one is now also running on my live account.

Title: Re: EA Controller
Post by: diyforexskills on September 22, 2018, 02:58:53 AM
Mid-term Update on Tests 4 and 5
(Pls see Reply#235 on p 15 for the background to these Tests)

These tests will finish in Dec 2018, so we are in for the final half. By now I have reduced the EAs under test from 8 to 6 and now 4. As expected, this system of trading does not work with scalpers and so I am calling a halt to tests with BFS and PZ TheZone EA. Both are trading at a loss and neither the normal or reverse scale-ins have helped.

With the remaining four (FXAE v48164, Samurai, SQ EURNZD and VFX GJ), doubling the lot size (by adding a normal scale-in) during favourable market conditions is paying off; but reverse entry scale-ins during unfavourable market conditions is so far not proving worthwhile.

I have reset conditions for reverse scale-ins at start of September, so will keep these tests alive. FXAE v48164 has never been in DD during the test period so don't know how the reverse entry scale-ins would/will work for that EA.

The performance of these 4 EAs since mid-April 2018, including the addition of normal scale-ins during favourable market conditions, is shown below. The normal scale-ins (ie effectively doubling lot size) account for some $500 of the nearly $1500 profit. A return of 3% pm with a DD of only 4% is not bad with over 50% of that return coming from the FXAE v48164 Autotrader strategy alone. Needless to say that one is now also running on my live account.

Update, also showing results for scalpers no longer being tested

The overall conclusions made in previous Post, still apply.
Title: Re: EA Controller
Post by: diyforexskills on September 23, 2018, 05:24:33 AM
Trading with the EA Controller
(a form of "equity" curve trading)

Equity curve trading, or actually balance curve trading, is where we add extra lot size whenever the EA is running profitably. This is usually measured by taking a SMA of the closed P/L or Balance of the EA's account. And then trading extra positions whenever the Balance is above the SMA.

This is what we can do automatically by using the EA Controller together with the DIY Trade Manager Plus to add the extra positions as scale-ins. As in Tests 4 and 5, I normally use an SMA of 20.

The big issue with this kind of trading is that potentially we can get whipsawed with the scale-ins being entered and removed at the wrong time when the EA's performance is erratic. Just like we can get whipsawed when using MA crossovers as trading signals.

The Samurai EA is one of the ones being tested. This EA is somewhat erratic in that the closed P/L or Balance is moving up and down over its SMA20 as shown in the top image.

However we can see from the bottom image, that the normal scale-ins have captured a $100 profit to date during this erratic period and that since the EA is and has been in DD lately, that profit has not been lost. So even if the EA went into DD to the tune of $100 in the next few weeks, we would still end up net zero (rather than negative $100) since we have locked up the profits from the profitable periods.

Of course things would be better if we had a non-erratic EA performer.....

http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
Title: Re: EA Controller
Post by: diyforexskills on September 29, 2018, 08:00:20 AM
Trading with the EA Controller
(a form of "equity" curve trading)

Equity curve trading, or actually balance curve trading, is where we add extra lot size whenever the EA is running profitably. This is usually measured by taking a SMA of the closed P/L or Balance of the EA's account. And then trading extra positions whenever the Balance is above the SMA.

This is what we can do automatically by using the EA Controller together with the DIY Trade Manager Plus to add the extra positions as scale-ins. As in Tests 4 and 5, I normally use an SMA of 20.

The big issue with this kind of trading is that potentially we can get whipsawed with the scale-ins being entered and removed at the wrong time when the EA's performance is erratic. Just like we can get whipsawed when using MA crossovers as trading signals.

The Samurai EA is one of the ones being tested. This EA is somewhat erratic in that the closed P/L or Balance is moving up and down over its SMA20 as shown in the top image.

However we can see from the bottom image, that the normal scale-ins have captured a $100 profit to date during this erratic period and that since the EA is and has been in DD lately, that profit has not been lost. So even if the EA went into DD to the tune of $100 in the next few weeks, we would still end up net zero (rather than negative $100) since we have locked up the profits from the profitable periods.

Of course things would be better if we had a non-erratic EA performer.....

http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/


Overall progress and another example

Without the two scalping EAs, PZ TheZone and BFS, this test portfolio is doing quite nicely at around 2.4% pm with only a small DD since 18 Feb 2018, especially by including the normal scale-ins when the EAs are running profitably. See top image/

With the VFX GBPJPY EA we can also see how having the normal scale-ins is making this EA profitable and that the reverse scale-ins, during DDs, did manage to eke out a few wins, but still not a positive contribution. But at least we can see how this system operates as shown in the bottom image.

http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
Title: Re: EA Controller
Post by: diyforexskills on October 10, 2018, 10:04:16 AM
How the Controller can stop the rot

In the thread on PZ Bollinger Band EA Set File, we have been testing five strategies of the same EA from 23 August. The early returns were spectacular equating to 30 to 50% pm with low DD.

But then the market turned and the rot set in wiping out virtually all the profit.

By using the EA Controller, just as an on-chart monitoring tool in this case, we can see how we could have avoided over half of the losses had we activated the Controller to switch off (or manually switched off) the EAs when closed P/L fell below its SMA20. As indicated by red arrows. We would also have missed out on some profitable trades as shown in orange shaded areas.

Longer term BTs of these strategies suggest there are only short periods when these EAs are profitable; but when they are, they certainly fly. So one option is to run these types of on again/off again EAs on demo and concurrently on live but only when the demo account shows that market conditions are favourable and hence the EAs are profitable. I am keeping these five EAs running, so let's see if and when the market turns in our favour again and for how long.
Title: Re: EA Controller
Post by: diyforexskills on October 13, 2018, 05:12:46 AM
Update on Test 5 and 6

The SQ EURNZD EA has also fallen by the wayside, so we are left with three good candidates - the FXAE 48164, the free Samurai EA  (both on EURUSD) and the free VFX GJ EA.

Running since 18 Feb 2018 with the Controller and scaling in an extra position with the use of the DIY Trade Manager Plus, when the EA is trading profitably, we are up to 20% in profit with only a very small DD. Reverse scale-ins when the EA is in DD, is just not working for these EAs. But just being able to add extra positions when market conditions are favourable, has provided us with an extra 8% in return.

Time to move Samurai and VFX GY to my live account as well. FXAE 48164 has already been trading profitably on live for me.

http://diytrademanagerplus.com/
http://exceptionalfx.com/ea-controller/
http://www.fxautotraderelite.com/
Title: Re: EA Controller
Post by: diyforexskills on October 21, 2018, 12:55:44 AM
Controlling with Profit Factor

One of the issues that can occur with the Controller is when the profitability of the EA, as measured by its Balance or Closed P/L, is choppy. In that case we are constantly stopping and starting the EA being controlled, missing out on small upswings and losing with the small downswings.

In an attempt to minimise that we can of course increase the MA of closed P/L but then we also get into deeper DDs.

So I am trying another approach. Controlling via Profit Factor over a user-defined number of trades.

The example shown is  from the VFX EJ EA which has been struggling over the last few months and is in "choppy" territory as shown on the top image, with the current version of the Controller.

The bottom image is from using the new profit factor based Controller on the same data set. The level was set at 1.2 but of course we can choose whatever level we want. For instance now we are in DD, we could reset the "acceptable" profit level to 1.1 for an earlier return to restarting the controlled EA on the live account; but of course risking some choppiness.

(With the number of trades set to 50 for calculating the profit factor, we need at least 50 trades before we can measure the pf. Hence the difference of the starting points in the two graphs.)
Title: Re: EA Controller
Post by: donbon2 on October 30, 2018, 12:20:54 AM
I have looked at alot of alternatives for EAs - how to help them - how to stop them and how to mix and match for current market conditions ...  I do believe that ultimately EA Controller maybe the best approach.

ie have an account run 10 EAs on it -- and let the controller choose when to replicate in a live account and when not too - based on PF MA or other combination.

the only drawback I see - is that EAs that open 3-4-5 positions to average into a position dont work well with it //// is that correct Andrew ?    is there some option to overcome this
Title: Re: EA Controller
Post by: diyforexskills on October 30, 2018, 02:27:05 AM
I have looked at alot of alternatives for EAs - how to help them - how to stop them and how to mix and match for current market conditions ...  I do believe that ultimately EA Controller maybe the best approach.

ie have an account run 10 EAs on it -- and let the controller choose when to replicate in a live account and when not too - based on PF MA or other combination.

the only drawback I see - is that EAs that open 3-4-5 positions to average into a position dont work well with it //// is that correct Andrew ?    is there some option to overcome this

Don't know since I am not running EAs that work that way apart from the one shown below.  But it should work. The Controller can handle up to 10 magics so even if each position has its own magic, that won't be a problem. So only one way to find out.

If you have such an EA, I'll send you the two versions of the Controller to test. We don't need to actually activate any replication (that would require the EA to have the signal code embedded), but we will be able to see what sort of performance curve or PF results we get; and hence see if it would work with EAs like that.

The example shown below is for an EA that has maximum two marty type scale-ins; so kind of averaging into a larger position.

PS. I am happy to supply the signal code to any vendor/EA developer who is prepared to add this small bit of code to their EAs so that the EAs can be used with the Controller.
And special deals on the Controller and my other products are due by mid-November.
Title: Re: EA Controller
Post by: donbon2 on October 30, 2018, 02:44:50 AM
I am bit busy right now - but lets look at it more later.

It would be nice if developers put the code in automatically - but I'm sure that wont happen the way many dont really support their products very well.
Title: Re: EA Controller
Post by: diyforexskills on October 30, 2018, 03:19:25 AM
Not a problem.

As info for any EA developer interested in incorporating the signal code, the code is based on use of the FX Blue QuickChannel dll  .

https://www.fxblue.com/appstore/9/quickchannel
Title: Re: EA Controller
Post by: FLechdrop on October 30, 2018, 08:03:04 AM
I was thinking about this, I don't really like the idea of copying trades from a demo account because you might get extra slippage due to delays.

Would it be possible to incorporate an SMS function, so that you get a text message when a strategy crosses the MA, telling you to either switch it on or off?

That way you don't have the advantage of it being fully automated, but you do have the advantage of running the EAs directly on the live account.

Of course, ideally you would have both. Theoretically it is conceivable that you would connect EA Controller running on a demo account to another instance of it running on a live account, where it would be switching on and off live trading for the same EAs running on both accounts. (Which I am pretty sure MetaTrader would not allow you to do.) Or maybe it can just reduce the lot size to zero on the live account if the EA is in loss. Not sure if that is possible without hindering the execution speed/accuracy.

Just thinking aloud...
Title: Re: EA Controller
Post by: diyforexskills on October 30, 2018, 08:57:48 AM
I was thinking about this, I don't really like the idea of copying trades from a demo account because you might get extra slippage due to delays.

Would it be possible to incorporate an SMS function, so that you get a text message when a strategy crosses the MA, telling you to either switch it on or off?

That way you don't have the advantage of it being fully automated, but you do have the advantage of running the EAs directly on the live account.

Of course, ideally you would have both. Theoretically it is conceivable that you would connect EA Controller running on a demo account to another instance of it running on a live account, where it would be switching on and off live trading for the same EAs running on both accounts. (Which I am pretty sure MetaTrader would not allow you to do.) Or maybe it can just reduce the lot size to zero on the live account if the EA is in loss. Not sure if that is possible without hindering the execution speed/accuracy.

Just thinking aloud...

Actually, that is how the Controller works. The EA is run on the demo, together with the Controller, and a second copy of the EA is running on the live account. That second copy of the EA on the live account is switched on and off as required by the Controller on the demo account.

So we are NOT copying trades from demo to live. But we are running the monitoring EA on demo and the second copy of the EA on live.

If we wanted to be more "equal", we could run the EA and Controller also on the live account at say 0.01 lot, and link it to the second EA, also on the that live account, but running at say 0.1 lot. So we would suffer from a DD from the "monitoring" EA running all the time, but hopefully the profit from the EA running at 0.1 lot (10x the lot size) only during favourable market conditions, would be more than enough to offset those DDs.

Hope that clarifies things.
Title: Re: EA Controller
Post by: FLechdrop on October 30, 2018, 09:07:55 AM
Oh! Then I have misunderstood, or missed that this changed. I thought you were talking about using a copier earlier. Anyway, that is great and makes it more attractive!

Good point about the live account with 0.01 lot. Because that is another thing I was thinking: losses incurred due to slippage would not be taken into account in demo mode.
Title: Re: EA Controller
Post by: FLechdrop on October 30, 2018, 09:16:24 AM
Oh, I think the confusion is that I am thinking about third party EAs that don't have the requisite piece of code in them... They do need to use a copier, right?
Title: Re: EA Controller
Post by: diyforexskills on October 30, 2018, 10:16:59 AM
Yes you are right. With third party EAs, which have not been modified with the signal code, we would have to resort to using the FX Blue Trade Copier.

But one could do the copying on the same MT4 platform. Run the 0.01 lot version of the EA with the Controller linked to the Trade Copier Sender, and copy with 10x lot size to the Trade Copier Receiver also located on that same MT4.

The other alternative is to link the Controller for the monitoring EA to the DIY Trade Manager Plus (which has the signal code) to kill off unwanted trading with a 1 or 2 pip SL on the live account.
Title: Re: EA Controller
Post by: diyforexskills on October 30, 2018, 10:45:35 AM
If you can't have the perfect performance curve...

We would all like our EAs to exhibit the perfect performance curve rising up from bottom left to top right, inexorably, with maybe a few small dips.

But if we can't get that, the next best thing in my view is to get the sort of curve that the BB set file (magic 567893) is experiencing. One with clearly defined sets of up and down trends as shown below.

With that type of performance, we can clearly see that having the Controller switch off the EA on the live account when performance begins to plummet, and restarting when performance picks up again, would have saved us some $300 in potential losses.

Unfortunately, this PZ BB EA with TM-based exits, which I can replicate with the Autotrader, is still on my development test bed account, and so I cannot show any linked "live" results. But by the end of this week I will commence trading this EA and several other new ones on my indefinite demo account linked to a new live account. So by December we should be in a position to run a myfxbook and FX Blue monitor on the new live account for all interested parties to follow.
Title: Re: EA Controller
Post by: FLechdrop on October 30, 2018, 01:32:12 PM
Yes you are right. With third party EAs, which have not been modified with the signal code, we would have to resort to using the FX Blue Trade Copier.

But one could do the copying on the same MT4 platform. Run the 0.01 lot version of the EA with the Controller linked to the Trade Copier Sender, and copy with 10x lot size to the Trade Copier Receiver also located on that same MT4.

OK, that sounds slightly better already. Can you trade lot sizes determined by a percentage of your account?

Quote
The other alternative is to link the Controller for the monitoring EA to the DIY Trade Manager Plus (which has the signal code) to kill off unwanted trading with a 1 or 2 pip SL on the live account.

What would be the benefit of that?
Title: Re: EA Controller
Post by: diyforexskills on October 31, 2018, 03:10:44 AM
Yes you are right. With third party EAs, which have not been modified with the signal code, we would have to resort to using the FX Blue Trade Copier.

But one could do the copying on the same MT4 platform. Run the 0.01 lot version of the EA with the Controller linked to the Trade Copier Sender, and copy with 10x lot size to the Trade Copier Receiver also located on that same MT4.

OK, that sounds slightly better already. Can you trade lot sizes determined by a percentage of your account?

Quote
The other alternative is to link the Controller for the monitoring EA to the DIY Trade Manager Plus (which has the signal code) to kill off unwanted trading with a 1 or 2 pip SL on the live account.

What would be the benefit of that?

I'll do a separate Post to describe the various options of using the Controller with third party EAs. But in answer to your questions:

1. Yes you can. As described in the User Guide at https://www.fxblue.com/appstore/u2/mt4-personal-trade-copier/user-guide#toc3.4.4

"3.4.5Lot sizing based on maximum cash risk

You can configure the receiver to risk a specific cash amount, or a percentage of your account, using the CashRiskFixed, CashRiskEquityPercent, or CashRiskBalancePercent parameter (and turning off the other modes).

CashRiskFixed: specifies a fixed cash amount to risk per trade, e.g. $100

CashRiskEquityPercent: specifies a percentage of your account equity to risk, e.g. 2.5%

CashRiskBalancePercent: specifies a percentage of your account equity to risk, e.g. 2.5%

In order to use any of these settings, you must also use the FixedSLPips parameter to set a stop-loss on each trade."

2. When using the TM this way the idea is to run the EA on both the demo account and the live account non-stop. Place the Controller with the EA on the demo account, and the TM on the live account. When the demo EA goes into DD, it will signal the TM on the live account to close the position at 1 or 2 pip SL; effectively stopping the live EA from trading; ie only a 1 pip loss instead of the normal say 50 pips loss when the market is unfavourable.
Title: Re: EA Controller
Post by: diyforexskills on October 31, 2018, 05:26:28 AM
Using the Controller with Third Party EAs

(Third party EAs are EAs that do not have the signal code and hence cannot be controlled directly by the Controller.)

There are three ways in which you can use the EA Controller with Third Party EAs. The descriptions below are for running one copy of the EA on a demo account, the so-called monitoring EA, together with the Controller to determine when the EA is running profitably and when it is in DD. The three options are:

1. Place the third party EA , the Controller and the FX Blue Trade Copier Sender on the demo account and link this Copier Sender to the Controller. Place the FX Blue Trade Copier Receiver on the live account. When the EA on the demo is running profitably, the Controller will activate the Sender to copy the trades to the Receiver on the live account. When the demo EA goes into DD, the Controller will deactivate the Sender so that trades will not be copied to the live account.

2. Place the third party EA and the Controller on the demo account and place the DIY Trade Manager Plus on the live account; and link the Controller on demo to the TM on live. Set the TM to scale-in trades on the live account when the demo EA is at 1 or 2 pips in profit and set Close on Main to true for the scale-ins. So when the demo EA is running profitably, the Controller will signal the TM to scale-in trades on the live account; these trades will be closed (in profit or loss) when the demo EA trades are closed. When the demo EA goes into DD, the TM will be prevented from placing scale-in trades on the live account.

3. Place the third party EA and the Controller on the demo account and place a second copy of the third party EA, and the DIY Trade Manager Plus on the live account.; link the Controller on the demo to the TM on the live account. Set the TM to close trades at 1 or 2 pips in loss. When the demo EA is running profitably, the Controller will deactivate the TM and so the third party EA on the live account will trade as normal. When the demo EA goes into DD, the Controller will activate the TM so that any trades that are opened on the live account will be closed at 1 or 2 pips in loss. So we sustain very small losses rather than the normal larger losses during unfavourable market conditions.

You can do the same options by placing everything on the one live account, running the "monitoring" EA which will run all the time at 0.01 lot and the "live" EA at some higher lot size. The "live" EA will only trade during favourable market conditions and we want the profits from this to outweigh any losses from running the "Monitoring" EA. Hence the different lot sizing requirement.
Title: Re: EA Controller
Post by: FLechdrop on October 31, 2018, 12:14:39 PM
Great! Thanks for all this.

Do you have any idea about differences in delay and/or pips for the various options?
Title: Re: EA Controller
Post by: taipan888 on October 31, 2018, 01:35:45 PM
Using the Controller with Third Party EAs

(Third party EAs are EAs that do not have the signal code and hence cannot be controlled directly by the Controller.)

There are three ways in which you can use the EA Controller with Third Party EAs. The descriptions below are for running one copy of the EA on a demo account, the so-called monitoring EA, together with the Controller to determine when the EA is running profitably and when it is in DD. The three options are:

1. Place the third party EA , the Controller and the FX Blue Trade Copier Sender on the demo account and link this Copier Sender to the Controller. Place the FX Blue Trade Copier Receiver on the live account. When the EA on the demo is running profitably, the Controller will activate the Sender to copy the trades to the Receiver on the live account. When the demo EA goes into DD, the Controller will deactivate the Sender so that trades will not be copied to the live account.

2. Place the third party EA and the Controller on the demo account and place the DIY Trade Manager Plus on the live account; and link the Controller on demo to the TM on live. Set the TM to scale-in trades on the live account when the demo EA is at 1 or 2 pips in profit and set Close on Main to true for the scale-ins. So when the demo EA is running profitably, the Controller will signal the TM to scale-in trades on the live account; these trades will be closed (in profit or loss) when the demo EA trades are closed. When the demo EA goes into DD, the TM will be prevented from placing scale-in trades on the live account.

3. Place the third party EA and the Controller on the demo account and place a second copy of the third party EA, and the DIY Trade Manager Plus on the live account.; link the Controller on the demo to the TM on the live account. Set the TM to close trades at 1 or 2 pips in loss. When the demo EA is running profitably, the Controller will deactivate the TM and so the third party EA on the live account will trade as normal. When the demo EA goes into DD, the Controller will activate the TM so that any trades that are opened on the live account will be closed at 1 or 2 pips in loss. So we sustain very small losses rather than the normal larger losses during unfavourable market conditions.

You can do the same options by placing everything on the one live account, running the "monitoring" EA which will run all the time at 0.01 lot and the "live" EA at some higher lot size. The "live" EA will only trade during favourable market conditions and we want the profits from this to outweigh any losses from running the "Monitoring" EA. Hence the different lot sizing requirement.

An interesting tool! But, I would like to know if it is possible to do this control on the symbol basis, not on the entire account basis. For example, if EURUSD demo is in DD, only EURUSD live is deactivated. All other charts of the live account are still active.
Title: Re: EA Controller
Post by: diyforexskills on October 31, 2018, 11:03:26 PM
Great! Thanks for all this.

Do you have any idea about differences in delay and/or pips for the various options?

To be honest I have never checked this. But all three methods rely on the use of the FXBlue QuickChannel technology
https://www.fxblue.com/appstore/9/quickchannel

As the developers say, "QuickChannel can deliver messages in less than 1 millisecond, without the EA/script having to run in an infinite loop or use large amounts of processor power. "
Title: Re: EA Controller
Post by: diyforexskills on October 31, 2018, 11:05:31 PM
To the question:

"An interesting tool! But, I would like to know if it is possible to do this control on the symbol basis, not on the entire account basis. For example, if EURUSD demo is in DD, only EURUSD live is deactivated. All other charts of the live account are still active."

Yes, the Controller is EA/Magic number specific. If you are running several EAs, you would use a Controller for each.
Title: Re: EA Controller
Post by: taipan888 on November 01, 2018, 08:17:49 AM
To the question:

"An interesting tool! But, I would like to know if it is possible to do this control on the symbol basis, not on the entire account basis. For example, if EURUSD demo is in DD, only EURUSD live is deactivated. All other charts of the live account are still active."

Yes, the Controller is EA/Magic number specific. If you are running several EAs, you would use a Controller for each.
You seem not having understood my question really. My question was if I attach the same EA with the same magic number to different currency pairs, can the control be done for each currency pair individuelly?
Title: Re: EA Controller
Post by: diyforexskills on November 01, 2018, 09:15:08 AM
To the question:

"An interesting tool! But, I would like to know if it is possible to do this control on the symbol basis, not on the entire account basis. For example, if EURUSD demo is in DD, only EURUSD live is deactivated. All other charts of the live account are still active."

Yes, the Controller is EA/Magic number specific. If you are running several EAs, you would use a Controller for each.
You seem not having understood my question really. My question was if I attach the same EA with the same magic number to different currency pairs, can the control be done for each currency pair individuelly?

Sorry, misunderstood. No, with the current version of the Controller. It is magic number specific and currency pair agnostic. An earlier version was currency pair specific for the magic number, and could be resurrected.

However, I am not sure why one would not want to just make a minor change to the magic number of the EA for use on different currency pairs. In my view having the same magic number for EAs running on different currency pairs concurrently is a practice that could lead to conflict within MT4 as it handles multiple trades - presumably the strategy settings for each pair are somewhat different. Of course if the EA developer has hidden the magic number it would be impossible to change; but why would he do that?

I also have a version of the Controller that uses the Trade Comment rather than the magic number. So if the Trade Comment field was accessible in the EA Properties Input, then this would be another solution in your case.
Title: Re: EA Controller
Post by: diyforexskills on November 02, 2018, 02:02:16 AM
Using the Controller with Third Party EAs

(Third party EAs are EAs that do not have the signal code and hence cannot be controlled directly by the Controller.)

There are three ways in which you can use the EA Controller with Third Party EAs. The descriptions below are for running one copy of the EA on a demo account, the so-called monitoring EA, together with the Controller to determine when the EA is running profitably and when it is in DD. The three options are:

1. Place the third party EA , the Controller and the FX Blue Trade Copier Sender on the demo account and link this Copier Sender to the Controller. Place the FX Blue Trade Copier Receiver on the live account. When the EA on the demo is running profitably, the Controller will activate the Sender to copy the trades to the Receiver on the live account. When the demo EA goes into DD, the Controller will deactivate the Sender so that trades will not be copied to the live account.

2. Place the third party EA and the Controller on the demo account and place the DIY Trade Manager Plus on the live account; and link the Controller on demo to the TM on live. Set the TM to scale-in trades on the live account when the demo EA is at 1 or 2 pips in profit and set Close on Main to true for the scale-ins. So when the demo EA is running profitably, the Controller will signal the TM to scale-in trades on the live account; these trades will be closed (in profit or loss) when the demo EA trades are closed. When the demo EA goes into DD, the TM will be prevented from placing scale-in trades on the live account.

3. Place the third party EA and the Controller on the demo account and place a second copy of the third party EA, and the DIY Trade Manager Plus on the live account.; link the Controller on the demo to the TM on the live account. Set the TM to close trades at 1 or 2 pips in loss. When the demo EA is running profitably, the Controller will deactivate the TM and so the third party EA on the live account will trade as normal. When the demo EA goes into DD, the Controller will activate the TM so that any trades that are opened on the live account will be closed at 1 or 2 pips in loss. So we sustain very small losses rather than the normal larger losses during unfavourable market conditions.

You can do the same options by placing everything on the one live account, running the "monitoring" EA which will run all the time at 0.01 lot and the "live" EA at some higher lot size. The "live" EA will only trade during favourable market conditions and we want the profits from this to outweigh any losses from running the "Monitoring" EA. Hence the different lot sizing requirement.

Doing it all on a Live account

With the sort of trading I do I don't notice much difference between demo and live accounts with AxiTrader so the mothods described above can be used. But of course demo and live accounts are different.

So here would be an alternative way of using the Controller (either MA or PF version) with third party EAs. The example below is for using with the PF version of the Controller.

Load the EA onto the live account and add two copies of the Controller to the chart. Also load two copies of the DIY Trade Manager Plus on the live account; set them to operate in scale-in mode and link each to one of the Controllers.

The EA will run all the time with whatever lot size you choose.
Controller 1 will be set to add a normal scale-in of whatever size you choose at say 2 pips in profit whenever the pf is above 1.4.
Controller 2 will be set to add a reverse scale-in of the same lot size as the EA at say -2 pips in loss whenever the pf is below 1.0
(in both cases the scale-ins will be set to close whenever the relevant EA's trade is closed).

So effectively we have increased lot size and hence increased risk, whenever the EA is performing well. (Favourable market conditions).
And we have virtually negated any losses from the EA (because of the reverse scale-ins) whenever the EA is losing as measured by the pf over 50 trades in this example. (Unfavourable market conditions).
 
When the EA's pf is between 1 and 1.2, only the EA will be trading and there will be no scale-ins.

This setup is demonstrated in the image below which is the data for the VFX EURJPY EA. You can see that we would have similar results using the MA version of the Controller, with closed P/L above/below its SMA 50 to trigger normal or reverse scale-ins, but a bit more chop.

We will lose a pip or 2 on each trade (the reverse scale-in is set to trigger at -2 pips but will close at the same time as the EA's trade) so if the DD is long we could increase the lot size of the reverse scale-in by say 20% and actually make a bit of money; until of course the performance starts to pick up again at which time we would want to reduce again. So still a bit of baby sitting required, but hopefully minimal.
Title: Re: EA Controller
Post by: diyforexskills on November 04, 2018, 09:01:08 AM
An Example of Controlling with Scale-ins on the One Account

In the current Tests 4,5 and 6 we have been running the EA with magic 48164 since 18 Feb. The Controllers are adding scale-ins as per previous Post - normal scale-in (648164) when profitable and reverse scale-in (3948164) when in DD using the MA version of the Controller.

The EA finally moved into DD in October so we now have a performance record showing the results from running the EA continuously along with the scale-ins as determined by market conditions. So all trading on the one account, in this case a demo account.

The data is shown in the image.

1. If we had only run the EA, profit would have been $413; but with the addition of the two types of scale-ins we have made an extra $190 profit.

2. The reverse scale-in did not add much at all, but think what would have happened if the DD had been operating for longer. So reverse scale-ins during DD are really a safety measure; they may yield little if the market is favourable for most of the time. But they could negate significant losses should the market remain unfavourable for any long periods. (It looks like we are about to move out of DD.)

3. Out of interest, the bottom chart is where the Controller has been set to monitor, and take action, based on the sum of magics 48164 and 648164, ie the EA trades plus the normal scale-ins. In that case we would have stopped trading the (losing) normal scale-ins earlier and so we would be at a higher profit. But it might take a few more trades for closed P/L (the red line) to move back above the SMA 20 (blue line) as is evident when you compare the two bottom charts.
Title: Re: EA Controller
Post by: diyforexskills on November 13, 2018, 06:22:33 AM
Using Multiple Controllers to Assess Conditions

The risk of getting whipsawed with the Controller is real and needs to be dealt with as pointed out elsewhere by Flechdrop and others. Because that can actually lead to greater losses than not controlling at all.

So I looked at some longer term trading data that I had for one of my test strategies on USDCHF - just over two years.

I then applied the Controller MA, period 20 and two copies of the Controller PF, periods 20 and 80.

This is shown in the image, and may be a bit confusing so let me explain:

1. The Controller MA is useful since it shows the closed P/L, as well as providing a controlling trigger of course with the MA. The orangy shading however shows the periods of whipsaw we would have if we had relied on that Controller alone.  So not a good idea for these types of performance curves. Although we would at least have not been trading live for most of the red shaded area. And also with Controller PF period 20 (middle chart) if we had set Level to 1 - again an orangy shaded area highlighting whipsaw.

2. But if we had used Controller PF Period 80 (bottom chart) in combination with the other two, we may well have decided to let the EA trade on live during the period shaded in green, including the whipsawing period shown on the top two charts - for a gain of some 180 pips. I can't yet think of how we would fully automate that with three Controllers but there is nothing stopping us (apart from laziness or lack of time) to add multiple versions of the Controller with different settings as I have done here. We can activate/deactivate a Controller at will so we can just use one or all versions purely as a visual check for manual intervention.

What we are really doing with this sort of approach is to get a better assessment of when to pull the plug on an EA and when it might be worthwhile, and reasonably safe, to let it run through some chop in performance.
Title: Re: EA Controller
Post by: diyforexskills on November 13, 2018, 11:06:48 AM
Price or Performance?

A quick glance at the image below might suggest that it is a price chart with weekly candles.

But it is not. It is actually the weekly cumulative performance graph of FXAE 482310 on a demo account trading continuously, the same one as in previous Post.

Funny how such a performance graph can be described in terms of downtrend and uptrend and ranging. And we even have a double bottom! Just like the patterns we get on price charts.

So what we are trying to achieve with the EA Controller is to enter live trading on uptrend (favourable market conditions), exit live trading on downtrend (market dynamics no longer suitable for the strategy), and be very circumspect about trading live during ranging conditions (market dynamics in transition). Using several versions/settings of the Controller as described in previous Post can help with that. And I think there are ways of using the Z-score feature of the Controller to provide further help in a way that I had not envisaged before. More on that later.

Visual inspection of these types of performance graphs and manual adjustment, are of course another option. Humans are not totally redundant as yet!  :)
Title: Re: EA Controller
Post by: donnaforex on November 13, 2018, 07:44:41 PM
Discount link for forum members for Bollinger EA and the Controller packaged together:

https://secure.2checkout.com/order/checkout.php?PRODS=17466430&QTY=1&CART=1&CARD=1

Direct link to shopping cart, seller can confirm that this is legit and not simply a link to deposit money direct to my account :).
Title: Re: EA Controller
Post by: diyforexskills on November 14, 2018, 04:00:59 AM
Discount link for forum members for Bollinger EA and the Controller packaged together:

https://secure.2checkout.com/order/checkout.php?PRODS=17466430&QTY=1&CART=1&CARD=1

Direct link to shopping cart, seller can confirm that this is legit and not simply a link to deposit money direct to my account :).

And the seller so certifies.   ;D

(Pls see https://donnaforex.com/index.php?topic=20211.msg382515#msg382515 for a description of the Package.)

By way of background.

Trading can be a lonely occupation. Being able to share ideas and experiences on this Forum with like-minded traders makes all the difference. In this case I got interested in BB via the work of donbon2 with his SQ EURNZD and later the PZ BB EA. So I decided to make a version of the Autotrader with a BB module to enable more dynamic ways of using the BB. After several days of testing it became apparent to both of us that we could make strategies that work well some of the time, six months or more, but then gave it all back. However the timings of the good and bad periods were different, and so was borne the idea of running three versions with the Controllers. And so the FXAE BB EA with Controller Package came about.

And since this was all made possible by participating in the Forum, 20% of sale proceeds via the link she has provided will be going to Donna in support of the Forum.

Please note.
1. If you already own both the Autotrader and Controller, your free Updates in December will include the full Autotrader with BB module and the new Controller PF version. So no need to buy this Package.
2. If you purchased the Special Package 2018 this year, I will be emailing you shortly for your options.
Title: Re: EA Controller
Post by: williamnouri20 on November 14, 2018, 07:36:16 AM
hi,im new to forex.i know how to trade but sometimes the market seems to be go well suddenly it changes the way!anyone has an idea about it?
Title: Re: EA Controller
Post by: diyforexskills on November 14, 2018, 10:35:20 AM
hi,im new to forex.i know how to trade but sometimes the market seems to be go well suddenly it changes the way!anyone has an idea about it?

A good start would be to read the 5 articles here https://www.perfecttrendsystem.com/day-trading-strategy-for-forex-v-power

Or for a more general intro https://www.forexnews.com/forex-education/what-makes-a-market-move/
Title: Re: EA Controller
Post by: diyforexskills on November 17, 2018, 07:39:14 AM
Final Summing Up of Current Tests (1 to 7)

These tests started in February. Turned out to be a messy operation with many glitches. Lots of Posts, hopefully some beneficial, but overall way too much. So the briefest of summaries and then we stop these tests.

I was really trying to answer/shed light on, three issues:

1. Can the Controller work with all types of EAs?
      ANSWER - No. Using the Controller with scalpers makes things worse. Need EAs with 1:1 reward to risk ratios or better.

2. Is there much difference between Controlling EAs direct (for ones that have the signal code like FXAE) vs Controlling via having the TM closing unwanted trades and/or enter scale-ins on third party EAs (which don't have the signal coded and hence cannot be controlled direct). 
      ANSWER - no, not much difference

3. Does entering reverse entry trades, direct or via reverse scale-in, improve results?
     ANSWER - in many/most cases no. The one positive result comes from an EA that has no TS, as per image below for the VFX GBPJPY. Also need to adjust settings for reverse entry; the TP level for reverse entry has to be set equal to the SL for the normal entry; and vice versa so that the exit conditions are mimicked.
(Although disappointing overall, I was pleased that the VFX GBPJPY EA which in long-term BT fails badly, and which started off badly in this test, was actually partially "resurrected" by the reverse scale-in trades during DD as shown below.)

Going forward I intend to focus on using FXAE EAs (directly controllable) but use the DIY Trade Manager Plus for any reverse entry trading during DDs. Reason being that the TM has a feature which can close scale-in trades whenever the trade from the EA itself is closed. So if the EA has a TS and/or BE feature on the TP side of the trade (which would be the SL side of the reverse entry trade), then the reverse entry trade will also be closed when the BE or TS on the EA's trade is hit; rather than going onto its full SL value. This will improve the reward to risk ratio of reverse entry trades in these situations.

Also, the new PF version of the Controller is showing promise as a different way of determining when to stop and re-start the EAs; less whipsawing.
Title: Re: EA Controller
Post by: diyforexskills on November 18, 2018, 06:43:09 AM
The Mathematics of Reverse Entries during DD

As noted in previous Post I was disappointed that scaling in reverse entry trades during an EA's DD period was not proving profitable in most cases.

To discover why I did some simple maths.

Take an EA with reward to risk of 2:1 (ie TP 2 units, SL 1 unit). For such an EA to lose requires a win% of < 33% (Wins - 33 x 2 = 66, Losses - 67 x1 = 67).
A reverse entry trade for that EA would have the inverse of TP/SL, ie TP 1 unit and SL 2 units; and its win% rate would also be the inverse, ie 67%
So Wins would be 67 x 1 = 67, Losses 33 x 2 = 66 or just about BE.

In other words , we should not be taking reverse entry trades until the EA itself is performing really badly, say around 25% wins or less; or around a PF of 0.9 or less.

In my testing I had been entering reverse entry trades far too early in a DD using the Controller MA. In fact, it would make more sense to use the Controller PF to trigger reverse entry trades, at say a PF of 0.9 or even 0.8.

The image shows how we can use the Controller MA the stop and re-start trading on live and use the Controller PF to initiate reverse entry trades but only when PF is below 0.9.

This EA has a 2:1 reward to risk ratio. For Controller MA I have used a LWMA instead of a SMA; and I have shifted the MA by 20 trades. Shifting the MA helps to reduce getting whipsawed into stopping and re-starting live trading when performance is choppy, and hence improves performance.
Title: Re: EA Controller
Post by: diyforexskills on November 22, 2018, 06:12:25 AM
Half price sale

For a limited time you can now purchase the Controller and any of my four products for "half price".
(These prices will show when you reach the Order page. No Coupon code is needed.)

EA Controller http://exceptionalfx.com/ea-controller/  $40 (Both the MA and the PF versions!)

FX Autotrader Elite http://www.fxautotraderelite.com/  $150   (see https://donnaforex.com/index.php?topic=12561.msg382517#msg382517)

DIY Trade Manager Plus http://diytrademanagerplus.com/  $40  (use with manual trades or in conjunction with the Controller as described in this thread)

Magic Wand http://exceptionalfx.com/magic-wand/ $40

With the Magic Wand EA you can place dynamic entry and exit points based on your own trendline analysis of the charts, and have the Magic Wand EA enter and manage the trade for you while you sleep or are otherwise occupied. You can also do all the analysis and place all the setups over the weekend if that is the only time you can devote to trading. See also https://donnaforex.com/index.php?topic=20042.msg382525#msg382525

(Free upgrades for the Autotrader and TM will be made available by mid-December)
Title: Re: EA Controller
Post by: FLechdrop on November 22, 2018, 11:02:03 AM
Sounds like a good time to get the controller... No half price for the BB package?

By the way, if I click on 'EA controller only' it still costs $129.
Title: Re: EA Controller
Post by: taipan888 on November 22, 2018, 07:54:31 PM
Half price sale

For a limited time you can now purchase the Controller and any of my four products for "half price".
(These prices will show when you reach the Order page. No Coupon code is needed.)

EA Controller http://exceptionalfx.com/ea-controller/  $40 (Both the MA and the PF versions!)

FX Autotrader Elite http://www.fxautotraderelite.com/  $150   (see https://donnaforex.com/index.php?topic=12561.msg382517#msg382517)

DIY Trade Manager Plus http://diytrademanagerplus.com/  $40  (use with manual trades or in conjunction with the Controller as described in this thread)

Magic Wand http://exceptionalfx.com/magic-wand/ $40

With the Magic Wand EA you can place dynamic entry and exit points based on your own trendline analysis of the charts, and have the Magic Wand EA enter and manage the trade for you while you sleep or are otherwise occupied. You can also do all the analysis and place all the setups over the weekend if that is the only time you can devote to trading. See also https://donnaforex.com/index.php?topic=20042.msg382525#msg382525

(Free upgrades for the Autotrader and TM will be made available by mid-December)

I watched your magic wand video, a very interesting EA! Can I change the setting after a trade is opened? For example, add a partial close  or change the exit condition for an open trade?
Title: Re: EA Controller
Post by: diyforexskills on November 23, 2018, 02:42:17 AM
Sounds like a good time to get the controller... No half price for the BB package?

By the way, if I click on 'EA controller only' it still costs $129.

The BB package is already heavily discounted for donnaforex forum members as per donna's message.

Sorry about the pricing. Now fixed for "EA Controller only". The other three are also OK.

Title: Re: EA Controller
Post by: diyforexskills on November 23, 2018, 03:43:11 AM
Half price sale

For a limited time you can now purchase the Controller and any of my four products for "half price".
(These prices will show when you reach the Order page. No Coupon code is needed.)

EA Controller http://exceptionalfx.com/ea-controller/  $40 (Both the MA and the PF versions!)

FX Autotrader Elite http://www.fxautotraderelite.com/  $150   (see https://donnaforex.com/index.php?topic=12561.msg382517#msg382517)

DIY Trade Manager Plus http://diytrademanagerplus.com/  $40  (use with manual trades or in conjunction with the Controller as described in this thread)

Magic Wand http://exceptionalfx.com/magic-wand/ $40

With the Magic Wand EA you can place dynamic entry and exit points based on your own trendline analysis of the charts, and have the Magic Wand EA enter and manage the trade for you while you sleep or are otherwise occupied. You can also do all the analysis and place all the setups over the weekend if that is the only time you can devote to trading. See also https://donnaforex.com/index.php?topic=20042.msg382525#msg382525

(Free upgrades for the Autotrader and TM will be made available by mid-December)

I watched your magic wand video, a very interesting EA! Can I change the setting after a trade is opened? For example, add a partial close  or change the exit condition for an open trade?

Yes, I just tried adding a 50% partial close at 5 pips after the trade had been triggered, and it did indeed close 50% at 5 pips. You can of course also move the named tp and sl trendlines around at any time.

I am mainly an auto trader myself but doing a bit of chart analysis from time to time and then having the Magic Wand enter and manage the trade setups I have identified is a nice sideline to my overall trading. Thanks for watching the video.
Title: Re: EA Controller
Post by: taipan888 on November 23, 2018, 08:06:37 AM
Half price sale

For a limited time you can now purchase the Controller and any of my four products for "half price".
(These prices will show when you reach the Order page. No Coupon code is needed.)

EA Controller http://exceptionalfx.com/ea-controller/  $40 (Both the MA and the PF versions!)

FX Autotrader Elite http://www.fxautotraderelite.com/  $150   (see https://donnaforex.com/index.php?topic=12561.msg382517#msg382517)

DIY Trade Manager Plus http://diytrademanagerplus.com/  $40  (use with manual trades or in conjunction with the Controller as described in this thread)

Magic Wand http://exceptionalfx.com/magic-wand/ $40

With the Magic Wand EA you can place dynamic entry and exit points based on your own trendline analysis of the charts, and have the Magic Wand EA enter and manage the trade for you while you sleep or are otherwise occupied. You can also do all the analysis and place all the setups over the weekend if that is the only time you can devote to trading. See also https://donnaforex.com/index.php?topic=20042.msg382525#msg382525

(Free upgrades for the Autotrader and TM will be made available by mid-December)

I watched your magic wand video, a very interesting EA! Can I change the setting after a trade is opened? For example, add a partial close  or change the exit condition for an open trade?

Yes, I just tried adding a 50% partial close at 5 pips after the trade had been triggered, and it did indeed close 50% at 5 pips. You can of course also move the named tp and sl trendlines around at any time.

I am mainly an auto trader myself but doing a bit of chart analysis from time to time and then having the Magic Wand enter and manage the trade setups I have identified is a nice sideline to my overall trading. Thanks for watching the video.

Thank you for your reply. Meanwhile I have purchased your Magic Wand :-) But, your confirmation email has not yet arrived. I assume it will come.
Title: Re: EA Controller
Post by: diyforexskills on November 23, 2018, 08:32:57 AM
Yes. Just working on it now.
Title: Re: EA Controller
Post by: FLechdrop on November 23, 2018, 11:45:23 AM
Until when is the discount? I am not sure I have enough time to investigate what I want now. Hopefully more in the weekend.
Title: Re: EA Controller
Post by: diyforexskills on November 23, 2018, 12:11:57 PM
Till next Friday. Happy to answer any questions.
Title: Re: EA Controller
Post by: FLechdrop on November 23, 2018, 02:09:34 PM
Perfect. I want the Controller in any case, and probably the Magic Wand, but am still doubting about the rest.
Title: Re: EA Controller
Post by: diyforexskills on November 25, 2018, 03:09:00 AM
Perfect. I want the Controller in any case, and probably the Magic Wand, but am still doubting about the rest.

Please note. The Controller can only communicate with FXAE EAs and the FX Blue Trade Copier; not with "third party" EAs which do not have the signal code in their source file. So unless you are prepared to use the FX Blue Trade Copier to do controlled trading, you would also need the DIY Trade Manager to do controlled trading.
Of course you can also use the Controller manually. So it just monitors the trading of your EA on the demo account, and then you manually switch the EA on and off on your live account as required. If the EA only trades a few days a week that should not require too much baby-sitting.
Title: Re: EA Controller
Post by: diyforexskills on November 26, 2018, 07:13:09 AM
Analysis Tool

Whilst googling I came across this nifty app http://qs.lubotorok.com/

Basic version is free and Premium version costs around 5 euros so won't break the bank. And Lubo provides good support. The app has some really nice features including the ability to analyse both MT4 accounts and Strategy Tester BT accounts, and then comparing them in a single report. Could be useful in the proposed thread suggested by fulltimetrader in the Pants Down thread https://donnaforex.com/index.php?topic=21095.msg382631#msg382631  (Could provide some useful actionable data instead of just seeing whether an EA has done well or not).

I am raising it here in part because the developer is considering adding an MA feature to the performance graph. If he did that and then also enabled doing a simulation like the one that is available already for adjusting TP and SL, that would be really great for helping to determine from a BT as to what the best settings might be for running that EA with the Controller.

And/or running the simulation on actual trade history to see if we could improve on the Controller MA settings we have used for that EA.

I am excited by the prospect. Just need to have patience.
Title: Re: EA Controller
Post by: FLechdrop on November 27, 2018, 10:57:44 AM
Please note. The Controller can only communicate with FXAE EAs and the FX Blue Trade Copier; not with "third party" EAs which do not have the signal code in their source file. So unless you are prepared to use the FX Blue Trade Copier to do controlled trading, you would also need the DIY Trade Manager to do controlled trading.
Of course you can also use the Controller manually. So it just monitors the trading of your EA on the demo account, and then you manually switch the EA on and off on your live account as required. If the EA only trades a few days a week that should not require too much baby-sitting.

Got it. I already have the DIY Trade Manager.
Title: Re: EA Controller
Post by: diyforexskills on December 19, 2018, 11:53:34 AM
This seems to work

I had a promising strategy for GU which after a good start began to fail badly. So after some 150 trades I decided to use the Controller PF to scale-in a reverse entry trades at twice the lot size whenever the profit factor (PF) measured over 20 trades fell below 0.9 (ie losses exceed wins). Shaded in orange on the middle graph.

The top graph shows how closed P/L has declined and is below its SMA20. The second graph shows the trades when PF was below 0.9, thus triggering the reverse scale-ins made with the DIY TM Plus; and the bottom graph shows the closed P/L from those reverse scale-ins.

The table at the top shows that the strategy itself (magic 123456) has lost $322 while the scale-ins (magic 9123456) have recouped $403.

So despite having a losing EA, I am still marginally in profit by some $80 by using the Controller PF in conjunction with the TM.
Title: Re: EA Controller
Post by: diyforexskills on December 21, 2018, 05:13:13 AM
This seems to work

I had a promising strategy for GU which after a good start began to fail badly. So after some 150 trades I decided to use the Controller PF to scale-in a reverse entry trades at twice the lot size whenever the profit factor (PF) measured over 20 trades fell below 0.9 (ie losses exceed wins). Shaded in orange on the middle graph.

The top graph shows how closed P/L has declined and is below its SMA20. The second graph shows the trades when PF was below 0.9, thus triggering the reverse scale-ins made with the DIY TM Plus; and the bottom graph shows the closed P/L from those reverse scale-ins.

The table at the top shows that the strategy itself (magic 123456) has lost $322 while the scale-ins (magic 9123456) have recouped $403.

So despite having a losing EA, I am still marginally in profit by some $80 by using the Controller PF in conjunction with the TM.

The image below probably shows it better - the performance of the EA (pretty bad) and that of the reverse scale-ins that have been added whenever the profit factor of the EA (measured over 20 trades) fell below 0.9. And so I have stayed in profit even though my EA was in DD.

The PF is now above 0.9 and so there have been no reverse scale-ins for the last 10 trades or so by the EA - mostly wins.
Title: Re: EA Controller
Post by: Archer Asset Management on January 27, 2019, 12:05:33 AM
Hi DIY, if I have multiple EAs on my mt4, can your controller filter profitable trades for all of them? What is the maximum number of EAs that I can filter?

Sent from my Redmi 4A using Tapatalk

Title: Re: EA Controller
Post by: diyforexskills on January 27, 2019, 01:30:02 AM
Hi DIY, if I have multiple EAs on my mt4, can your controller filter profitable trades for all of them? What is the maximum number of EAs that I can filter?

Sent from my Redmi 4A using Tapatalk

You would place a copy of the Controller on each of the EA charts so that each EA would be controlled individually using the unique magic number for each EA. If an EA has multiple magics, each Controller can monitor up to 10 magics collectively.
Title: Re: EA Controller
Post by: Archer Asset Management on January 27, 2019, 03:39:28 AM
Is there a possible to increase collective management to 20 to 30 pairs?

Sent from my Redmi 4A using Tapatalk

Title: Re: EA Controller
Post by: diyforexskills on January 27, 2019, 03:45:44 AM
Yes but that would require a small coding change to add the extra magic fields.
Title: Re: EA Controller
Post by: Archer Asset Management on January 27, 2019, 03:50:14 AM
Yes if it can manage 30 magic fields per EA then I will buy it thank you

Sent from my Redmi 4A using Tapatalk

Title: Re: EA Controller
Post by: diyforexskills on January 27, 2019, 05:02:37 AM
Just need to be sure about how you intend to use this.

The Controller does the monitoring (closed P/L vs its MA or by profit factor) and then sends a signal, yes or no, depending whether the EA is trading profitably or not.

But the signal needs a receiver - to date only the FX Autotrader Elite, the DIY Trade Manager Plus and the FX Blue Trade Copier can receive and act on those signals.

So in your case you would have to be running those EAs on a demo platform with the Controllers on each of the EA charts. Let's assume you have three EAs each with 20 or 30 magics. So you would need to have three Trade Copier Senders on that demo, one for each EA, and three Trade Copier Receivers on your live account. With all the appropriate settings so as to distinguish between the EAs.

So when EA1 is trading profitably on demo, those trades will be copied to your live account. At that same time both EA2 and EA3 may be in DD, and so those trades will not be copied to your live account. etc

You would need some good grunt on your VPS to handle the three trade copiers.

Is that something you would want to do? If so I will check with my coder about adding the extra magic fields.


Title: Re: EA Controller
Post by: Archer Asset Management on January 27, 2019, 08:00:11 AM
Yes three receivers, three senders and three controllers with 30 magics each. Does this mean I need 3 controller licences per live account?
In your experience what is the difference between controlling via PL, MA or PF?

Sent from my Redmi 4A using Tapatalk

Title: Re: EA Controller
Post by: Archer Asset Management on January 27, 2019, 08:27:44 AM
Also how many charts per live and per demo mt4 should I open

Sent from my Redmi 4A using Tapatalk

Title: Re: EA Controller
Post by: diyforexskills on January 27, 2019, 08:49:00 AM
The EA Controller comes in two versions, MA and PF, for $79 for the two, and can be used on however many accounts you want to run.

Not sure what you mean by PL. The MA version measures the closed P/L and then adds a MA (user-defined) to that performance curve. When closed P/L is above its MA, the signal is YES; below, NO. PF is calculated over a user-defined number of trades. And you then set a level above which you want a YES; below a NO.  Obviously a PF of 1 is break even, so needs to be > 1 depending on how deep a DD you are prepared to accept.  I have not had enough experience with PF to advise one or the other so currently have loaded both, using one or the other and just monitoring to see which one will work better over time. I can always switch from one to the other.

The good thing is that if you have a good lot of trading history, you can add both Controllers to the chart and see which one would have given the better YES/NO signals for each of the EAs. The important thing is to try and avoid whipsawing the EA on and off.

On your live account all you need is three charts, one for each of the Copier Receivers.

On the demo you need to have as many charts as you need for just running the EAs. The Controller is an Indicator so can be added to a chart that is running an EA.
Title: Re: EA Controller
Post by: Archer Asset Management on January 27, 2019, 03:41:55 PM
Hope you don't mind me asking

It seems for PF, the user has to backtest his EA's PF and set the same or higher PF to controller to get good results?

And for MA, I'm still unsure how closed P/L can translate to MA (moving average)? How can we tabulate MA from closed P/L?

Sent from my Redmi 4A using Tapatalk
Title: Re: EA Controller
Post by: Archer Asset Management on January 27, 2019, 03:43:44 PM
Another issue with copying demo to live is there will be slippage and different feed issues.

Sent from my Redmi 4A using Tapatalk

Title: Re: EA Controller
Post by: diyforexskills on January 27, 2019, 11:17:03 PM
Hope you don't mind me asking

It seems for PF, the user has to backtest his EA's PF and set the same or higher PF to controller to get good results?

And for MA, I'm still unsure how closed P/L can translate to MA (moving average)? How can we tabulate MA from closed P/L?

Sent from my Redmi 4A using Tapatalk

No back testing involved. When I said "test", all that means is examining the graphs produced by the Controller.

So, the image below shows the graphs produced by the MA and PF Controllers once I place them on a chart where I have been running a FXAE strategy for several years.

I have chosen a period (=number of trades) and Simple for the MA of the MA Controller - in top graph. So when the Balance (= closed P/L) is above its SMA20, the Controller would have signaled YES and copying would have been allowed. When below, copying would have stopped.

The bottom graph is that produced by the PF Controller covering the same trades but for this I have set number of trades for measuring PF to 40; and I have set the PF Level to 1.2. So as long as PF stays above 1.2 the EA is trading profitably and the Controller will signal YES allowing copying. While PF is below 1.2, copying will be stopped.

So testing here just means varying the Controller settings to see the nature of the graphs that result. Ideally when using the MA Controller we would like to stop copying  before Balance falls too far. And then restart copying deeper into the DD, ie as it pulls out of the DD.

When using the PF Controller we would want copying only to occur when PF is > 1 since a PF of 1 means net zero profit.

Slippage in copying should only be an issue if all you are trading is scalpers and looking for 2 or 3 pips profit per trade. When you run EAs with decent TP and SL settings, a bit of slippage is not an issue and can sometimes be in your favour.

But yes, direct control to the EA on live  is better. It only requires six lines of code to be added to the EA's source code which has no impact on how the EA operates since all it does is to allow or stop an entry from being placed. I provide the code for free but so far only 1 person has done the modification to his own EA. If you don't own the EA source code you could always ask the vendor to do the modification for you.
Title: Re: EA Controller
Post by: FLechdrop on January 28, 2019, 04:22:28 PM
But yes, direct control to the EA on live  is better. It only requires six lines of code to be added to the EA's source code which has no impact on how the EA operates since all it does is to allow or stop an entry from being placed. I provide the code for free but so far only 1 person has done the modification to his own EA. If you don't own the EA source code you could always ask the vendor to do the modification for you.

I will try this in the future, but it does not make equal sense for all EAs. They have to have significant winning/losing streaks.
Title: Re: EA Controller
Post by: diyforexskills on January 28, 2019, 11:09:04 PM
Agreed and well described.

That is why the first thing we do when applying the Controller is to see what period and type of MA (or even shift setting) we should use for the EA's performance curve to best capture those "significant winning/losing streaks".
Of course there may not be any in which case we would not use the Controller, but just have it on the chart as an on-screen monitor.
But of course we can also modify the Controller settings at any time. So if we are going through a choppy market period and our EA's performance is equally choppy, we may want to set our MA to a higher period and/or use the smoothed type and just be prepared to go through a deeper DD especially if history suggests that these market conditions will be temporary and EA performance should soon be back to "normal". The more history we have the more confident we can be in those sort of decisions.

Same of course applies to the use of the PF Controller.