Why do trading systems tend to perform worse on new data?
This is the question so many trading system developers ask. The answer is that there are many reasons why test performance may be much better than live trading results.
Have you ever wanted to write a C# DLL for Metatrader? Sample code shows how to create the DLL in C# and how to call that DLL from within Metatrader 4.
Sample code is included in a downloadable Visual Studio project for writing a C# DLL that can be called from Metatrader, just as a C DLL. Check it out.
Simple pairs trading indicator for Metatrader 4 named Pairs with Beta for analyzing currency pair spreads. Allows custom multipliers (beta) to be used with the two pairs being analyzed, then plots the spread in a sub window.
For instance if EURUSD and GBPUSD are the two pairs being studied, and the beta for GBPUSD is 1.4, then the following formula would be plotted:
EURUSD * 1.0 – GBPUSD * 1.4 (shown below in dodger blue).
C# developers who previously were unable to write DLLs for Metatrader may now do so using a particular development strategy.
Have you ever wanted to learn about the MT4 forex trading functions without needing to learn Russian? In this series all MQL4 trading functions are described in detail. MQL4 trading functions are broken down by functional category, including the most important functions: OrderSend, OrderModify, OrderClose, OrderSelect as well as the many other important and useful trading functions and constants. Sample code is provided by category, including functional routines that may be dropped directly into your code for OrderSend, OrderClose and OrderModify – three of the hardest to implement functions in MQL4.
MQL4 Trading Functions Lists all MQL4 trading functions alphabetically and by functional category.
MQL4: Specific Order Information Includes reference for MQL4 functions:
Sometimes the simplest things in MT4 can be the most challenging. After attaching an expert advisor to a Metatrader chart, how do you get it to start taking live trades? Read this article and find out step by step how to set up the MT4 terminal for live expert advisor trading.
Have you ever wished you had a simple template for creating MT4 expert advisors? Following up on the topic of How to place only one trade per bar on a forex MT4 expert advisor, this new article shows step by step how to build a simple generalized Metatrader template in MQL4 for building expert advisors using the RSI indicator as an example.
This simple MQL4 tutorial shows how to close an open trade, and open a new trade with a market order, how to limit trading to a single bar and how to use a simple buy/sell trigger in an expert advisor. Functions are created to handle each aspect of trade entry and exit in this two-part MQL4 tutorial.
- RT @GaryAntonacci: Brilliant twitter.com/RobinJPowell/s… 2 weeks ago
- RT @SJosephBurns: Rough year for bears: 🐻 https://t.co/mfoceNHGfJ 1 month ago
- RT @ylecun: Adversarial training in 50 lines of PyTorch, from Dev Nag.... fb.me/8PREuFIrM 1 month ago
- RT @thestreetquant: p-Hacking can also be explained as follows: "All lies and jests Still a man hears what he wants to hear And disregards… 1 month ago
- RT @stevenstrogatz: The falling slinky is making the rounds again. Earlier discussions cited at insidescience.org/news/secrets-l… and https://t.co/Oo… 1 month ago