Carl Schreiber
Carl Schreiber
  • Information
10+ years
experience
2
products
7
demo versions
0
jobs
0
signals
0
subscribers
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 :()
Carl Schreiber
Added topic easy way to detect the end of a data hole with the 'new' mql5 functions .. how?
In the history data of m1 I have a hole - ok, can happen. E.g. if I want to 'start to feed' as of a date that is within that data hole I get the last existing m1-bar so to say the left end of the hole: datetime tA[], t0 = TimeCurrent () - 5040000 ;
Carl Schreiber
Added topic Strange Behaviour of a working Indicator .. What to do? How to recognize?
I created an OOP-base for Indicators and EA, so that I don't have to use iCustom! What you see is a very simple Mom: Buff2[b+1] = close[b+1] - close[b+1+PER]; Buff1 receives the values that are calculated by the OOP-base. As you can see, the
Carl Schreiber
Added topic result of OrderSelect(tckt,SELECT_BY_TICKET) if tckt was closed?
The situation: an EA has opened two position with aTckt and bTckt and manages them (controlled Comment()). Now I close manually one of them, e.g. aTckt. But the following code neither set _LastError nor does OrderSelect() return false so that n is
Carl Schreiber
Added topic rewrite a file partially ...?
Hi is there another way than to open a file to read, read it totally, close it, do some changes e.g. actualize the last access date of a line  and then reopen it again to write and rewrite it completely and close it. I open this file
Carl Schreiber
Added topic error number if ticket is unknown (already closed)
Hi, does anybody know what error number the mt4-server returns if an order already has been closed and an EA tries to close 'the ticket' as well? MT5 does have: 10036 TRADE_RETCODE_POSITION_CLOSED The position with the given POSITION_IDENTIFIER has