To use chat, please login.
Back to contacts

Calculating the systemic risk of a EA before demo/live launch

wahjay (wahjay)
Apr 14 2013 at 13:49
41 件の投稿
Hi everyone,

So, i am currently working on multiple automated strategies and will launch some of them in the near future. My problem is :

How can you assess the systemic risk of 1 EA performing over multiple currencies when in your backtests you can only see what would have happened on 1 currency?

Let's say my EA trades on 10 currencies. How can i know that the total drawdown at X time will not be superior than my total profit at X time?

If in the backtests it's saying for ex: 20% drawdown and 100% profit. If you apply the consecutive loosing trades multiplied by the number of currencies you are trading, so basically adding all the drawdown and measuring if profits are still gonna be available to not let your system crash.

If you understand what i mean, please let me know on how we could calculate this more than IMPORTANT variable for any strategy.

Thanks !

davidruzicka (davidruzicka)
Apr 15 2013 at 11:15
17 件の投稿
wahjay (wahjay)
Apr 19 2013 at 23:55
41 件の投稿
Thanks for the link. I wil check the program but i think it still does not help me to know if my EA will or not basically crash the account once i will run it on multiple pairs during similar market conditions... will it?

blackopzfx (blackopzfx)
Apr 24 2013 at 07:19
7 件の投稿
Thats your job. Just run backtests for each currency and see what you would have netted for each month - Run backtest on all 10 currencies. import those tests into myfxbook then add net gain/loss for each month. (ex: add all april results together) - then you'' have a pretty decent idea of how many will be in DD any particular month and what to expect as a net result.

wahjay (wahjay)
Apr 24 2013 at 15:18
41 件の投稿
You said import into myfxbook ? Is that the strategy tester or how can myfxbook help me i'm not aware of this function..

Also, adding drawdown with drawdown and profits with profits is not correct. SO your method can not be used if wanting to have a profesionnal backtest. Let's say you have 2 currencies in drawdown at the same time, you cannot just simply add the profits that wil result afterwards because those results are based on single currency drawdown and not taking in consideration the other currency's drawdown which means your money management should have changed but here in the calculation you don't take that in consideration which therefore is incomplete...

This is very important because as a full system, we need to know the bahaviour of the other factors such as the money management .

CrazyTrader (CrazyTrader)
Apr 28 2013 at 18:24
1718 件の投稿
This is very simple, It takes 2 minutes to do it.

Step 1
Backtest 1 pair: you get the first drawdown.
Use this pair as reference.

Step 2
Use average correlation to that pair to calculate estimated drawdrown

Step 3
Do it for every pair you wish to trade and add them to the drawdown you backtested.

wahjay (wahjay)
Apr 29 2013 at 17:21
41 件の投稿
SO you use the average corrolation function in order to get the drawdown of other currencies on your strategy?

CrazyTrader (CrazyTrader)
Apr 29 2013 at 18:05
1718 件の投稿
wahjay posted:
SO you use the average corrolation function in order to get the drawdown of other currencies on your strategy?

Well, this can give you a quick estimated drawdown for your case.

Also, note that a EA is expected to perform for a particular pair and I will not recommend to use it for 10 currencies at a time.

wahjay (wahjay)
Apr 30 2013 at 20:52
41 件の投稿
I see.

Well, when manually trading a specific strategy you do trade on several pairs up to about 20 pairs max right? So i don't see why a succcessful strategy could not be traded with the EA on multiple currencies... :)

CrazyTrader (CrazyTrader)
Apr 30 2013 at 21:16
1718 件の投稿
Well, it's up to you off course.
If you think trading 20 pairs at a time is good strategy.. that's your point of view, depending on what does your EA.

By the way, I don't trade 20 pairs at a time, I'd rather to focus a specific currency when one is getting interesting.

When you have focus the good horse... then trade it at a right time. : )