Carl Schreiber
Carl Schreiber
  • Information
9+ years
experience
2
products
7
demo versions
0
jobs
0
signals
0
subscribers
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.

Carl Schreiber
Added topic VPS is not available:
Maybe someone can help? I MT5-user wants to use the VPS but what ever he tries the migration is deactivated (grey) and the option is not available: https://www.mql5.com/de/forum/362854/ :       He even checked and replaced his
Carl Schreiber
Added topic Common Folder in OnInit() and the Dbugger/Indicator => 5002 error??
Is there a mistake of mine (b.2615) or is it impossible to access the Common folder from the debugger and/or indicator? This little piece of code at the end of OnInit(): Oninit() { ...   string t = TerminalInfoString (
Carl Schreiber
Added topic ORDER_TYPE_SELL_STOP_LIMIT or ORDER_TYPE_BUY_STOP_LIMIT
Just a question to be sure: If I launch an ORDER_TYPE_SELL_STOP_LIMIT   or an  ORDER_TYPE_BUY_STOP_LIMIT pending order how do I properly get the relevant prices by OrderGetDouble (..) the example is a ORDER_TYPE_BUY_STOP_LIMIT so that the
Carl Schreiber
Added topic Debugging disabled (EA, included mqh are in the right place!!)
How do I motivate the Strategy-Tester again to debug my program? While I was debugging the Editor suddenly wasn't re-acting any more (everything was greyed) and I closed the debug-window, the editor and the terminal - after the restart of the
Carl Schreiber
Carl Schreiber
America is dwarfing itself under the President with the battle cry "Make America great again."
Ceterum censeo fenestras X non esse ad rem accommodatas!
Carl Schreiber
Carl Schreiber
Ceterum censeo fenestras X non esse ad rem accommodatas!
Carl Schreiber
Added topic StringFormat & PrintFormat
Hello, does anyone know how to store the number of 'integers' of a double value including leading zeros in a string variable? This is how it works with the decimal places: int digs = 2 ; string fmt = StringFormat ( "%%.%df" ,digs); string strVal =
Carl Schreiber
Carl Schreiber
Ceterum censeo fenestras X non esse ad rem accommodatas
Carl Schreiber
Added topic How can I copy all the data from the Datawindow of several previous bars in the clipboard??
Hi, How can I copy all the data from the Datawindow of several previous bars in the clipboard?? I place my mouse e.g. on top of the H1 bar from yesterday 09:00 (2018.11.26 09:00:00). Ho do I get the data of this bar (time, OHLC,vol,..,ind1,indi2, ..)
Carl Schreiber
Added topic Coloring the Symbols for Entry and Exit
Is it possible to color the exit symbol of a position acc. to profit (e.g. green) and loss (e.g. red) (where how)? Where can I change the color of the Entry and Exit Symbols? MqlTradeRequest does not provide anything like that :(
Carl Schreiber
Added topic Is this a Feature or a Failor?
I want to run the same EA on a MQ- Demo account in one terminal and on 4 different charts M10, M15, M30 and H1. But as soon install this EA on one chart it is removed from the other? here are my helpless attempts to have them all together running in
Carl Schreiber
Added topic Optimization: How do you do avoid passes of meaningless sets (Best Practice)?
Hi, I want to optimize various MAs. only the iMA() 'knows' different methods (sma, ema, smma, lwma) the others (iDEMA, iTEMA, iAMA) don't. So any setup with MaMethod != iMA that varies sma, ema, smma, lwma are meaningless like: enum €ChooseMA
Carl Schreiber
Added poll Is Anybody Interested in Light Text on a Black Background?
  • 47% (7)
  • 47% (7)
  • 7% (1)
  • 20% (3)
Total voters: 15
Carl Schreiber
Carl Schreiber
Ceterum censeo fenestras X non esse ad rem accommodatas
Carl Schreiber
Added topic Am I wrong or is it the new mql5 build 1915?
It's just a tiny little indicator to check the local existence of the bars that is started on GBPUSD H1 of the MQ- Demo account: //+------------------------------------------------------------------+