Trader’s Tech – Writing Your Own EA Part 44 – Strategy Tester Questions

Forex Robot

If you’re new to this series and want to check it out from the beginning, you can find that here. And look here for a list of all the programming articles.

In Part 43, we made a change to the MAXover() function to make sure we had meaningful crossovers before entering our trades. In this installment, I’ll answer a few questions I’ve received in comments.

Let’s start off with a quick question:

“When I click the “Symbol” drop down box in the strategy tester, there are only a subset of the symbols the broker offers. Specifically, GBPCAD is not there, and that’s one I’m trying to test with. Any hints?”

Trader's Tech - Strat Tester 14

I’m pretty sure the Strategy Tester only shows the pairs that show in the Market Watch window. So, to show all the pairs in the Market Watch window that your broker offers, open the Market Watch window my clicking the third icon from the left on the upper toolbar. Then right-click right on the Market Watch grid and select Show All. That will make all your broker’s pairs visible and should do so in the ST as well.

 

 

 

 

The next question is a little more complex:

“I can’t seem to get it to generate results any older than about a month, regardless of what I put in for the dates, or even whether or not I check the “Use date” box. I have set the “Maximum History” and “Maximum Bar Count” in the Options to their maximum values, and downloaded history from the History Center, and it doesn’t seem to make a difference.”

(This question actually came in before our discussion of test data in Part 39. I wanted to address it anyway because we never actually discussed what data was already available via the History Center.)

Data quality and quantity are two of the biggest problems you will encounter when testing strategies in the Forex market. You can only count on the live data from your broker to be accurate… maybe. ;) In any case, historical data may or may not be available and if it is available, may not be available very far back. The data you download in the History center in most cases comes from a different source than the broker’s live data and may contain large gaps and other issues. That’s the reason that I highly recommend downloading data from a reliable source like Dukascopy.

Looks like a short article for today. Tomorrow we’ll talk a little more about our EA and other cool things we can do with it.  Please don’t hesitate to comment or ask questions.
Thanks for your attention and please follow me on Twitter and LinkedIn.

Tim

 

here_for_you_001

1359774937_facebook 1359774984_linkedin 1359774949_twitter 1359774960_google 1359774973_rss 1360027635_youtube

Connect_With_Winners_Edge

Get trade set ups everyday!

The following two tabs change content below.

Latest posts by Tim Black (see all)

Follow our social media:
1359774937_facebook 1359774984_linkedin 1359774949_twitter 1359774960_google 1359774973_rss 1360027635_youtube

Winner’s Edge Trading, as seen on:

Winner's Edge Trading in the news