Free MQL5 Coding Tutorials Video Series | Expert Advisor

One of the most popular languages to code an Expert Advisor in is MQL5. Hence why there is an entire video series covering the topic. Let’s dive into the first topic.

Multi-symbol Expert Advisor

By coding a multi-symbol Expert Advisor, you can run the same backtest you would typically run on a single asset on multiple assets simultaneously. By doing this, you not only save yourself time but increase the statistical significance of your backtesting and optimisation processes.

This multi-symbol capability also means that when you run your Expert Advisor on a live account. You’ll be able to reduce the load on your computer’s resources, potentially increasing the execution speed.

We’ve touched on some of the Darwinex performance metrics in previous episodes. These have included the Open & Close Strategy Investible Attributes. Instead, let’s focus on the information available under the Underlying Strategy tab.

Clicking on the Underlying Strategy tab displays a wealth of trading data. For example, you can see information regarding the D-Leverage. D-Leverage is a much more in-depth look at the leverage in use at any one time.

Also displayed is the number of trades open simultaneously. This gets broken down further by showing the assets traded and the length of time the trades are open. Assuming the Darwin provider is happy to share this trading data.

As a trader, it is possible to restrict the level of public information available to investors to protect your intellectual property.

By looking at the trade distribution, you can clearly see how many positions are open at any time, how long these positions are open, and how correlated these positions are.

Highly correlated positions open simultaneously will likely result in a spike in the D-Leverage at the same time.

If the Darwin has multiple positions open on uncorrelated symbols, this can mean the Darwin is at lower risk from extreme market conditions.

Another insightful concept is that of creating your own custom performance metrics. By creating bespoke performance metrics, you can fine-tune your optimisation parameters. These custom metrics can lead to a robust optimisation. This optimisation is performed in MT5 using the custom macs option.

In trading, everything revolves around price. So, it is essential that you handle your price data correctly. Because the price data you use to test should be close to the price data conditions you are likely to trade in a live account.

Anyone who creates a live trading account with Darwinex is eligible to open up a Darwin and attract third-party capital. You can even use the Darwinex Investible Attributes and Performance Metrics if you don’t have a trading account. You’ll need to create an online login and import your trading data from your existing broker.

The performance metrics and Investible Attributes that Darwinex makes available are valuable tools for either the trader or the investor to base their trading/investing decisions on.

Brought to you by Darwinex: UK FCA Regulated Broker, Asset Manager & Trader Exchange where Traders can legally attract Investor Capital and charge Performance Fees.

Risk disclosure:

Content Disclaimer: The contents of this video (and all other videos by the presenter) are for educational purposes only, and are not to be construed as financial and/or investment advice.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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