Carl Schreiber
Carl Schreiber
  • Information
8+ years
experience
2
products
7
demo versions
0
jobs
0
signals
0
subscribers
Carl Schreiber
Added topic Metaquotes Demo-Server is missconfigured ...
hopefully someone of the staff is reading it and start to change it! I tried to debug an indicator with mt5 connected to MetaQuotes-Demo: MetaTrader 5 Desktop Demo. In the option for the debugger I wanted set: And these are the first Bars I get
Carl Schreiber
Added topic Credits and debits - how to catch them in mql5?
Hi, with MQL4 credits and debits and other bookings on the account are cached with OrdersTotal ( "history" ). In MQL5 HistoryOrdersTotal() seems to ignore them. On the other hand to get account information 'knows' only
Carl Schreiber
Added topic script on chart and the first bar..?
Hi, I want to write e little script which needs the first bar of the chart (Eurusd m1) it is attached to. Naively I use (mql5) iTime: void OnStart ()   { //---    datetime tOne  = iTime ( _Symbol , _Period , 0 );
Carl Schreiber
Added topic The Initial Thread Race
Since now all techn. questions should go to the forum here is mine: The start of an indicator or an EA starts a thread race of various things. Especially if one uses OOP the setup of all the instances of the classes took quite a while - that's my
Carl Schreiber
Added topic IndicatorRemove
Is there a way that an indicator can remove itself? I tried ExpertRemove() which worked as far as I remember for mql4 - but mql5 it does not - do I have to force a division by zero or an invalid array access
Carl Schreiber Published product

Check Online-Status monitors your terminal. If its connection to the server is interrupted for longer time, you will receive an email and/or a push notification, depending on what your settings. You can find out how long the terminal has been offline and can judge the quality of your brokers and/or the provider of your VPS after some time. Remember, the terminal manages and controls your money. Everything hangs in the air if it has no connection to the server! Check Online-Status displays the

Carl Schreiber Published product

Check Online-Status monitors your terminal. If its connection to the server is interrupted for longer time, you will receive an email and/or a push notification, depending on what your settings. You can find out how long the terminal has been offline and can judge the quality of your brokers and/or the provider of your VPS after some time. Remember, the terminal manages and controls your money. Everything hangs in the air if it has no connection to the server! Check Online-Status displays the

Carl Schreiber
Added topic FYI: Unexpected Behaviour of CopyRates
This little piece of code: int OnInit () {    MqlRates r[];    int nR,nB = iBars ( _Symbol ,     PERIOD_M1 );    Print ( __LINE__ , "  nB: " ,nB, "  " ,err( _LastError ));
Carl Schreiber
Added topic variables: "Implicit initialization is not used."
Hi, a question, just to be sure that it is meant what I assume: Am I right, that (in contrary to mq4) variable don't get a value 0 on their definition: // in mq4: int i; // i == 0 - at least last year //in mq5 int i; // i == random It could be just
Carl Schreiber
Added topic log-files: Initial two Char?
Does anybody know what are the meanings of the initial two char. of the log-files: DO, MG, RQ, RH, CG, HN, RF, OM, DQ, IS, CR, LQ, MP, OL, DE, EK, ER, HS, IO, KF, KE, JL, ... Is it somewhere documented
Carl Schreiber
Added topic Migrating from MQL4 to MQL5 - Problem 3!
From MQL4 I took and adapted myDefs.mqh e.g. this function that returns the order type in a unified text form: string pos2txt ( ENUM_ORDER_TYPE pos ) {     // pos2txt(aPosOpnPOS[idx])
Carl Schreiber
Added topic Migrating from MQL4 to MQL5 - Problem 2!
How do I get the handle of an indicator? I do: input int            TF          =   5 ; // not necessarily an MQL5-Period .. int HdlRSI
Carl Schreiber
Added topic Migrating from MQL4 to MQL5 - some strange Problems!
I have a huge include File that now compiles for MQL5 with no Error. Within I have two functions double calcPrice( ENUM_TIMEFRAMES per= PERIOD_CURRENT , int calc= 0 ) { .. } ... double chckPrice() {
Carl Schreiber
Added topic OOP and the Type of the Program..
Hi, is there a more elegant way of an object to know 'for what it is' used? A class should know whether it is part of an EA, an indicator or a script so that  e.g. it knows how it should deal with e.g. sleep which does not work in indicators and
Carl Schreiber
Added topic Mt4 isn't Starting - But Seems to Hang in an Endless Loop ??
I wanted to start a mt4 at the location: C:\Users\cas\Documents\MT4\mt5. But as  you can see the starting process hangs using one of my 4 kernels completely (CPU = 25%) and forcing the other running mt4 (1-4) to have a higher cpu-usage as well
Carl Schreiber
Added topic Alternative and Simpler Formula for the RSI?
The well-known formula for the RSI is after some preparation:    if (negative== 0.0 ) RSIBuffer[i]= 0.0 ;    else RSIBuffer[i]= 100.0 - 100.0 /( 1 +positive/negative); But I get the same results with this: RSIBuffer[i] = 100.0 *
Carl Schreiber
Added topic Many CPUs will become up to 17% - 23% slower as of next weekend..
Well it sounds horrible for those who want to test, who want to provide their PC for others to test and who have VPS! "The Register" writes about: " 'Kernel memory leaking' Intel processor design flaw forces Linux, Windows redesign Other OSes will
Carl Schreiber
Added topic 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 
Carl Schreiber
Added topic I am utterly amazed: two installtions of the same editor b.1601 but different toolbars ??
Hi, I have (more than) two times installed mt4, all of them came with their editor b.1601 dtd May 19, 2017. But one shows this toolbar: the other one: So on the second editor I am missing the option to search and to un-do and re-do? Ok, if I click on
Carl Schreiber
Added topic Data Files in \history\ for MQL5 and MQL4
Hi, I know that Eas, Indis and scripts can access in MQL4 historic data via iTime(), iOpen(), ... of various symbols and timeframes. In MQL5 exists for that either CopyRates() and or its family: CopyTime(), CopyOpen(), ... (and no other option :()