Expert Advisors To Define Forex Trading Strategies Under Test

Expert Advisors will be supported as a means to define Forex trading strategies under test in the next major release of the Smart Forex Tester. We are already working on that important new feature.

To give you some background, Smart Forex Tester is natively working with trading strategies defined as text-based state machines. We have developed a simple price action strategy example that illustrates how it is working.

But for some users, expert advisors are more familiar tool so it makes sense to add such option to the Smart Forex Tester. How can we do that?

First of all, let’s note that we can’t use the Expert Advisors in binary format (i.e. .ex4 – files). This is virtually prohibited by the Metatrader’s license. Without doing reverse engineering (which is out of question, of course), we can only test binary EAs if we have access to a Metatrader server. Which is just too costly for this purpose.

Fortunately, this is not a show stopper. If we define our own strategy that we want tested, we must have access to the source code. This is doable.

Expert Advisors Put Into The Sandbox

We will be using Expert Advisors normally in their “native habitat” – Metatrader. But we will replace all function calls that manipulate quotes and orders with our own functions. Other functions can work with Metatrader normally.

Expert Advisors In Smart Forex Tester
How Expert Advisors can be used with Smart Forex Tester

So we can see that Expert Advisors will be sand-boxed. After that, you can run the trading strategy tests like you normally do.

How to prepare the Expert Advisor for the test? You can open it in any text editor and made a context search-replace. We might also provide a simple tool for doing that.

Subscribe to be updated on the current development status.

More details will be provided at expertadvisortest.com.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.