Carl Schreiber
Carl Schreiber
  • Information
8+ years
experience
2
products
7
demo versions
0
jobs
0
signals
0
subscribers
Carl Schreiber
Left feedback to developer for job Kind of game: a car drives along the lane from left to right
Carl Schreiber
Added topic 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
Carl Schreiber
Added 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) {
Carl Schreiber
Published code Dealing with time (2) functions
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.
Carl Schreiber
Added topic invalid stops
Comments that do not relate to the " Free hosting for algorithmic trading: Inquire with your broker ", have been moved into this topic
Carl Schreiber
Added topic ChatGPT
In the Freelance section there could/should be opened a new section for maybe specialized coders: Correcting ChartGPT code. After some time I guess one could get a routine and could be able to offer special prices? On the other hand, has anyone ever
Carl Schreiber
Added topic 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
Carl Schreiber
Added topic indicators as resources fails - why, where?
I want to load my indicator as resource: #resource "\\Indicators\\MyEMA_R.ex5" ... int OnInit ()  { ...    hMA = iCustom ( _Symbol , PERIOD_H1 , "::Indicators\\MyEMA_R.ex5" ,PER,cFLATT,REL,DEV,BRK);    if (hMA ==
Carl Schreiber
Added topic TesterHideIndicators()
The function TesterHideIndicators() is not listed here where all MQL5 function appear: https://www.mql5.com/en/docs/function_indices I recommend this link to others for a search (Ctrl+F) with simple keywords acc. to the idea "What is the name of the
Carl Schreiber
Added topic no. of columns of the resulting xml of an optimization
Are theses always the first columns from the left side of the xml file resulting from the optimization: Pass    Result    Profit    Expected Payoff    Profit Factor  
Carl Schreiber
Added topic Does the economy calendar fail in the debugger?
Running the attached (and other) EA(s) in the debugger fails to load the Calendar - or am I missing something? This call:    if ( CalendarValueHistory (evCurr1,tC-(FXOneWeek+FXOneWeek),tC+FXOneWeek, NULL ,Curr1)) { // causes err 4014 =
Carl Schreiber
Added topic Objects aren't shown?
Hi On both terminals (left side b.3550 [the latest Release Version I think], RoboForex Demo, right side b.3580 MQ-Demo) is running absolutely the same indicator (with the same build) on the same symbol with the same timeframe and resolution
Carl Schreiber
Added topic Error 4802 ??
Has anyone recently encountered again this error: Err[4802] ERR_INDICATOR_CANNOT_CREATE: Indicator cannot be created and would be able to give a hint how to defeat it? I have built an indicator that runs on all symbols and timeframes since quite a
Carl Schreiber
Added topic CLOSE_BY ..?
I refer to the article: https://www.mql5.com/en/articles/2299 (from 2016): New trading constants Due to the addition of the new Close By operation type, the new trading properties have appeared as well: TRADE_ACTION_CLOSE_BY — new trading operation
Carl Schreiber
Added topic OnTradeTransaction(): no Magic number, no comment, and & either-or symbols?
Hi, am I doing something wrong? To know where the calls of OnTradeTransaction() belong to I would like to use the magic number. The only (why only?) type that provides the magic number is request - BUT in OnTradeTransaction() request.magic is always
Carl Schreiber
Added topic 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
Carl Schreiber
Published article Dealing with Time (Part 2): The Functions
Dealing with Time (Part 2): The Functions

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 cumbersome by hand, we let a program do it — why do we have a PC after all.

Carl Schreiber
Published article Dealing with Time (Part 1): The Basics
Dealing with Time (Part 1): The Basics

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 trading time for Forex trading start and end? For a trader who trades manually and live, this is not a big problem.

Carl Schreiber
Published article Cluster analysis (Part I): Mastering the slope of indicator lines
Cluster analysis (Part I): Mastering the slope of indicator lines

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.