Backtest in the past is good, in the past is bad. What's happening?

Aug 21, 2016 at 07:06
439 Views
2 Replies
JHenrique
forex_trader_318221
Member Since Apr 07, 2016   32 posts
Aug 21, 2016 at 07:06
Hi guys!

I have an EA and it works without none indicator or fundamental decision. The EA is purely statistical (NO martingale). And it seems work very very well!

See the backtest since 2013 until today:


Initial deposit = 10 000 USD
Fixed lot = 1.00





But, I have a problem, this graphic is common in all pair of currencies. The EA always make too much money, but, in the last three months, it doesn’t gain money. I don’t why! The number of positions in the last three months is equal the number in the last 3 years. In others words, this EA lost money with spread.

Why!?!? Would be the last thee mounts the real performance of this EA? Would be that database is with bug? Would be that is possible or impossible reproduce the past performance in the present moment?

Someone here has had the same problem?
forex_trader_25447
Member Since Dec 21, 2010   131 posts
Aug 21, 2016 at 21:23
One of the possible reasons is NEGATIVE SWAP.
 It is accumulated daily to any open trade, but You see this result only on close !
If You have many trades opened for more than 1 day
 It is normal when You have Positive Profit, to get Negative Swap, and final Negative result.
Watch more detailed to the orders closed by tester at the end of test.
 (comment in journal like this : 'Tester: order #xxxx is closed')

One-other reason is a bit complex for me to explain, I will try.
If Your account currency is USD , and You trade EURUSD. You Profit is in USD.
Many people use PIPS to calculate PROFIT , but if price made some bigger move (form 1.10 to 1.15)
the price of 1 pips at 1.10 is higher than price of 1 pips at 1.15 (USD is cheaper at 1.15)
This way, if you have 100 pips loss at 1.10 , and 100 pips profit at 1.15,
the result is 0 PIPS, but it is NEGATIVE in money.
Simply EA must calculate MONEY, not PIPS.
I hope You understand me.
Member Since Nov 14, 2015   325 posts
Aug 22, 2016 at 00:17
n/a model quality. Means your backtest is likely broken, should always have 90% if you get the data from history, or 99/99.9 if you use one of the tick backtests.
Sign In / Sign Up to comment
You must be connected to Myfxbook in order to leave a comment
*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.