Carl Schreiber / Publications
Codes
Checking the time change on the server due to daylight saving time transition for MetaTrader 5
Unfortunately, I found that some brokers Changing the time on the server is a bit incorrect, which I didn't expect. and which surprised me a lot. Here is a script that anyone can use to check their broker
Checking the server time changes due to the summer time changeover for MetaTrader 5
Unfortunately I had to realise that some brokers are a bit careless with the server time changeover, which I had not expected and which surprised me a lot. Here is a script with which everyone can check their broker
Checking the server time changes due to the daylight saving time (DST) changeover for MetaTrader 5
Unfortunately, I discovered that some brokers are a bit sloppy with the server time change due to the daylight saving time (DST), which I did not expect and which surprised me a lot. Here is a script with which anyone can check their broker
Dealing with time (2) functions for MetaTrader 5
Calculate DST for USA, EUR, AUD and RUB and the offset time of the broker automatically from the 70's until 2030 - even in the Strategy Tester of MQ
Articles
Dealing with Time (Part 2): The Functions for MetaTrader 5
Determing the broker offset and GMT automatically. Instead of asking the support of your broker, from whom you will probably receive an insufficient answer (who would be willing to explain a missing hour), we simply look ourselves how they time their prices in the weeks of the time changes — but not
Dealing with Time (Part 1): The Basics for MetaTrader 5
Functions and code snippets that simplify and clarify the handling of time, broker offset, and the changes to summer or winter time. Accurate timing may be a crucial element in trading. At the current hour, is the stock exchange in London or New York already open or not yet open, when does the
Cluster analysis (Part I): Mastering the slope of indicator lines for MetaTrader 5
Cluster analysis is one of the most important elements of artificial intelligence. In this article, I attempt applying the cluster analysis of the indicator slope to get threshold values for determining whether a market is flat or following a trend
Enhancing the StrategyTester to Optimize Indicators Solely on the Example of Flat and Trend Markets for MetaTrader 4
It is essential to detect whether a market is flat or not for many strategies. Using the well known ADX we demonstrate how we can use the Strategy Tester not only to optimize this indicator for our specific purpose, but as well we can decide whether this indicator will meet our needs and get to know
Forum
PlaySound() no longer plays any .wav files
Hi, after switching from Win7 to Win10 or since b.3180 the function PlaySound() no longer plays any .wav files. I constantly get the error 5019 = File does not exist. Can someone check where the Sounds (Path) folder is located? Thanks a lot! Calli
What can I do - any idea?
I have a Windows 11 PC with: - ASUS ROG Crosshair X870E Hero motherboard, AM5, ATX - AMD Ryzen 9 9950X processor, 16C/32T, 4.30-5.70GHz - CORSAIR Vengeance 96GB kit (2x 48GB) It was basically in a waiting loop for later simulation and optimisation tasks, only as a PC for the MQL cloud. Its screen is
Read and parse an html page
Does anyone have experience with reading and parsing an HTML page starting with < meta charset= utf -8> to save the table rows in a csv-file. I try to open the already downloaded, local files with int fHdl = FileOpen (fHTML, FILE_READ | FILE_BIN | FILE_ANSI | FILE_COMMON ); This in the sense the the
wasn't there a price request, price reservation ..?
Am I right that there was for some time a function with which one could ask for price to buy or to sell to avoid being rejected due to re-quotes
Broker selection
MetaQuotes (MQ) is NOT a broker nor does it provide any financial, investment, brokerage, trading or data feed services, nor is it involved in any commission payments in connection with any trading operations. Any money that you transferred to your account with MQ should be meant for paying market
No Trade-Copier Based on DDE for Win XP,Vista,7,8,10 and even Linux/Wine ..?
I just saw there is a DDE solution for MT5 that comes with it own DDE-Server! Now I am wondering why there are quite some attempts for trade-copiers based on pipes and sockets but not on that quite simple DDE which exists for Windows XP,Vista,7,8,10 and even Linux/Wine and probably MAC. One only
Matringale or Grid-EA Optimized by AI or NN - does this exist?
Hi, I think it would be quite interesting to see the outcome of Martingale- or Grid-EAs which were optimized by Atrificial Intellingence and or neural networks . As for Martingale- or Grid-EAsthe the crash risk is very high - I would like to know what the AI or an NN would tell us. Does anybody know
compiles but then write file error
Comments that do not relate to the " Somebody that could help me to write this code please. ", have been moved into this topic
bitchy preprocessor ..
This does not compile: #define _arWsz(A) #A+ "[] sz: " + ( string ( ArraySize (A))) // print array with array name template < typename T> int ArrayPrt(T &arr[], const string lne) { int i = ArraySize (arr); string s = _arWsz(arr); string S = #arr+ "[] sz: " + ( string ( ArraySize
invalid stops
Comments that do not relate to the " Free hosting for algorithmic trading: Inquire with your broker ", have been moved into this topic




