• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 3:08pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 3:08pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

MT4 MTF Correlation table and Correlation oscillator indicators 154 replies

Possible to send buy/sell orders from Excel DDE Sample to MT4? 9 replies

EA Testing - Sample Size? 0 replies

What Constitutes a Statistically Significant Sample for Back Testing? 4 replies

Question about timeframe for sample EAs in MT4 0 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 2
Attachments: Correlation Questions & Out of Sample Testing (MT4)
Exit Attachments

Correlation Questions & Out of Sample Testing (MT4)

  • Post #1
  • Quote
  • First Post: Mar 26, 2017 10:02am Mar 26, 2017 10:02am
  •  bg_sunny
  • | Joined May 2013 | Status: Member | 393 Posts
Hello Ladies and Gents

I am currently backtesting an idea.

Simply said it's a volatility breakout system.
The idea is to run it on multiple currencies and on multiple pairs.

First Question
I can run only one backtest at a time and then extract the individual trades from the "Results" tab, by copying them all into Excel.
I the Exel file hat I do so far is arrange the "Type" Column to only show S/L & T/P. Note that I'm using a trailing stop, so I have quite a few S/L, which are actually in profit.
My question is the followingI'M not very good with excel)
Is there any chance I can feed multiple such reports into the excel file?
Obviously I could just copy and paste it. The idea is though to have a chart where I could see all strategies' graphs in one and then see how each one would have affected a common balance.
It is problematic so far, because my "Time" Column is not showing every point in time, but only every time the EA traded. Which means there are gaps in it.
These gaps, of course, are not the same for Report 1 compared to Report 2. So I was thinking if there could not be established a general timeline, with all days/hours/weeks or whatever, and then have the individual balance points shown of each specific report.
What I want to see there is how correlation would be between the different strategies.

I have attached an example of one (losing) test-run, so you can see what I mean.
Attached File
File Type: xlsx Example of test run Results.xlsx   3.9 MB | 223 downloads


I believe there are other possibilities to see correlations. I think the guys from StrategyQuant have a tool to do that, but spending $ 1500 is not something I'm ready doing if there is another way.


Second Question
With regards to backtesting, I'd like to hear some thoughts. Currently I have an idea that is coded but leaves a lot of open parameters.
So far I have Birt's Tickdata Suite, so I have tick data for the major pairs from early 2003 till today, which is really nice. My backtest results give me 99% modeling quality, so I have reasons to believe that I can trust it.

I have been approaching it like this:
I let an optimization run, with fixed lots, so I don't fool myself with money management. I let it run from say 2003 till 2011 and then I planned to let the best results run against data from 2011 till 2016. The timeframe I have right now running is H1. It takes quite long:
Attached Image (click to enlarge)
Click to Enlarge

Name: Testing time.jpg
Size: 23 KB


Am I doing this right? It's like a shotgun approach, saying: "Ok here is the basic idea (which is that volatility will rise at some point, after being compressed), now show me what the best parameters are here".

Am I not curve fitting it?
Am I avoiding curve fitting, by letting the best results run against out of sample data later on?
Does it make sense to give the backtest nastier conditions, like multiplying the spread by factor x and by introducing slippage? I can do that with Tick Data Suite.
Then again, that's kind of a robustness test, but since everything is running on tickdata anyway, I assume I already have tested against real spreads...

I'd really appreciate your inputs. Thank you very much.

Cheers
Nikolai
Demo only
  • Post #2
  • Quote
  • Mar 26, 2017 10:52pm Mar 26, 2017 10:52pm
  •  yermommy
  • | Joined Jun 2015 | Status: Professional | 73 Posts
I don't believe I can post the link, but download strategy quant's "Quant Analyzer" and it will allow you to combine up to 4 strategy tester reports on the free version and see correlations between drawdown and account balance.
  • Post #3
  • Quote
  • Mar 27, 2017 4:50am Mar 27, 2017 4:50am
  •  bg_sunny
  • | Joined May 2013 | Status: Member | 393 Posts
Quoting yermommy
Disliked
I don't believe I can post the link, but download strategy quant's "Quant Analyzer" and it will allow you to combine up to 4 strategy tester reports on the free version and see correlations between drawdown and account balance.
Ignored
Thanks!
Do you happen to know, if they test based on tick data?
Demo only
  • Post #4
  • Quote
  • Mar 27, 2017 8:01am Mar 27, 2017 8:01am
  •  PiranoTrader
  • Joined Nov 2016 | Status: Member | 81 Posts
Quoting bg_sunny
Disliked
Hello Ladies and Gents I am currently backtesting an idea. Simply said it's a volatility breakout system. The idea is to run it on multiple currencies and on multiple pairs. First Question I can run only one backtest at a time and then extract the individual trades from the "Results" tab, by copying them all into Excel. I the Exel file hat I do so far is arrange the "Type" Column to only show S/L & T/P. Note that I'm using a trailing stop, so I have quite a few S/L, which are actually in profit. My question is the followingI'M not...
Ignored


About your second question:
Use this approach for general settings. For "fine tuning" use visual mode.
I don't know what curve-fitting means
If you have real tidkt data you already have it tested againts real spreads.
  • Post #5
  • Quote
  • Mar 27, 2017 8:08am Mar 27, 2017 8:08am
  •  21vs7
  • Joined Dec 2010 | Status: Foook Bollinger-dr.Kegel knows! | 9,661 Posts
Quoting bg_sunny
Disliked
Hello Ladies and Gents I am currently backtesting an idea. Simply said it's a volatility breakout system. The idea is to run it on multiple currencies and on multiple pairs. First Question I can run only one backtest at a time and then extract the individual trades from the "Results" tab, by copying them all into Excel. I the Exel file hat I do so far is arrange the "Type" Column to only show S/L & T/P. Note that I'm using a trailing stop, so I have quite a few S/L, which are actually in profit. My question is the followingI'M not...
Ignored
mql5.com

there are some solutions also in this area.

try mt5 platform. - that platform enables backtesting in multicurrency and multitimeframe environment.

there are also other better solutions
  • Post #6
  • Quote
  • Last Post: Mar 27, 2017 8:36am Mar 27, 2017 8:36am
  •  bg_sunny
  • | Joined May 2013 | Status: Member | 393 Posts
Quoting 21vs7
Disliked
{quote} mql5.com there are some solutions also in this area. try mt5 platform. - that platform enables backtesting in multicurrency and multitimeframe environment. there are also other better solutions
Ignored
Hi 21
Thanks!
Problem is, that I use a hedging strategy, so not sure if mt5 can handle that. Also, data import in mt5 seems limited, not sure about tick data.
What other solutions do you mean?
Cheers
Demo only
  • Platform Tech
  • /
  • Correlation Questions & Out of Sample Testing (MT4)
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2021