collapse

Author Topic: EA Controller  (Read 162378 times)

Offline namrfigk

  • DonbonsPrivateGroup
  • Sr. Member
  • *
  • Posts: 705
Re: EA Controller
« Reply #345 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
« Last Edit: January 27, 2019, 03:46:01 PM by namrfigk »

Offline namrfigk

  • DonbonsPrivateGroup
  • Sr. Member
  • *
  • Posts: 705
Re: EA Controller
« Reply #346 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


Online diyforexskills

  • Verified Vendor
  • Sr. Member
  • ***
  • Posts: 1236
Re: EA Controller
« Reply #347 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.
Information and product page - http://www.diyforexskills.com/forex-tools/




Offline FLechdrop

  • DonbonsPrivateGroup
  • Sr. Member
  • *
  • Posts: 604
Re: EA Controller
« Reply #348 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.

Online diyforexskills

  • Verified Vendor
  • Sr. Member
  • ***
  • Posts: 1236
Re: EA Controller
« Reply #349 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.
Information and product page - http://www.diyforexskills.com/forex-tools/




 

browse forum