Carl Schreiber
Carl Schreiber
  • Information
9+ years
experience
2
products
7
demo versions
0
jobs
0
signals
0
subscribers
Carl Schreiber
Added topic trapped debugger :(
I defined a struct: struct TradeStr { int Cnt;          string TrdCat, Symb, Descr, Full, OrdCmt; }; and in my EA I define a tmp-var of that: TradeStr tmpStr; If now the debugger is on its step by step mode
Carl Schreiber
Added topic what does this mean: Debugging - symbol 'AUSUSD' is not selected??
To check the initialization of my EA (on b625) I tried to start the debugger with (editor b914) Tools -> Options.. Debug: - Use specific symbol and period - AUDUSD - M1 no I start the debugger and ... and nothing happens: In the Expert tab I read
Carl Schreiber
Added topic editor b912
Some 'builts ago' I was able to arrange and add icons to the top icon 'line' with New Open (folder) Save save All ... Start Terminal. But now I can't find any more where and how I can add e.g. Undo and Redo. I would expect either a menu upon right
Carl Schreiber
Added topic which one id correct (better)? /portable or "/portable"
Does anybody knows which one is correct: terminal.exe /portable or terminal.exe "/portable" ? I have seen both, both are working - which is better
Carl Schreiber
Added topic How can I (can I?) get the EA-name running on a chart?
Hi the new mt4 has a lot more functions . With ChartID(), ChartIndicatorsTotal(..), ... I can get all the indicators running on (all) another chart of the terminal. Is there a way to get the name of an EA running on (all) another chart of the
Carl Schreiber
Added topic what is the difference of "\t" and '\t' ?
Splitting a string works if I use: StringSplit (strFile, '\t' ,arrTab); but this does not: StringSplit (strFile, "\t" ,arrTab); What is the difference that one works the other not
Carl Schreiber
Added topic b617: FILE_BIN: reading whole file fails??
This I read in the reference: string  FileReadString(    int  file_handle,     // File handle    int  length=-1        // Length of the
Carl Schreiber
Added topic ChartOpen() ..
I found this function: ChartOpen(..): Opens a new chart with the specified symbol and period. Can I attach an EA at this new Chart by a function following ChartOpen()? Gooly
Carl Schreiber
Added topic How to use ChartFirst(), ChartID(), ChartNext( ChartID() ) ???
Hi I just started in debug mode in a script just this: long     Ch01 = ChartFirst (),         ChMe = ChartID (); long    ChNx = ChartNext (ChMe); and get: Ch01: 130395223288765087
Carl Schreiber
Added topic next build 617..
The mt4 just updated to b617 from b616. Does anybody know where (Link) I can find what has changed from built to build
Carl Schreiber
Added topic How can I find out (at init() e.g.) that Trade is Allowed (opt are set) even if market is closed or Server is busy?
HI, How can I find out (at init() e.g.) that trade is allowed (terminal-options are set) even if the server is busy (or market closed ?)? IsTradeAllowed (); Returns true if the Expert Advisor is allowed to trade and trading context is not busy
Carl Schreiber
Added topic is different? IsOptimization(); "optimization mode" and IS_PROFILE_MODE: "non zero in profiling mode"
I just stumbled over these two entries in the MQL4 Reference: IsOptimization(): Returns true if Expert Advisor runs in the Strategy Tester optimization mode, otherwise returns false. and IS_PROFILE_MODE: Flag that a mql4-program operates in profiling
Carl Schreiber
Added topic AGAIN OnTester() - even though implemented it is NOT working!!
Due to my suspicion that the genetic optimization uses the wrong side of the list of the values which was returned by OnTester() I tried to change the sign of the results: void MyTester(){         maxBalance =
Carl Schreiber
Added topic is OnTester() working as described?
Currently I am running two optimizations (status: 3009/10 496 (888 624)) with the use of OnTester(). The Reference writes: In the genetic optimization descending sorting is applied to results within one generation. I.e. from the point of view of the
Carl Schreiber
Added topic After Restart and upadet: Editor on vps: terminal not found??
Hi, On my VPS I installed the Windows updates and after re-start (only) 1 terminal (out of 6) was NOT started by my script. 1) I went into the folder and tried to start it my self but nothing ?? 2) I tried to start it from console (in its folder)
Carl Schreiber
Added topic Little Bug of Editor b904
Hi, If I search (Ctrl-f) a string and cklick again and again Find-Next it could happen that the code is moved to the side to show the string in the editor window - some what in the middle (right-left). If now after Find-Next the string is again at
Carl Schreiber
Added topic IsTradeContextBusy() => Error-Number?
Hi, in the new reference I find only 2 errors if an OrderSend(..) failed: 4067   ERR_TRADE_ERROR   Internal trade error 4109   ERR_TRADE_NOT_ALLOWED  Trade is not allowed. Enable checkbox "Allow live trading"
Carl Schreiber
Added topic intelligent way to copy structs??
I define a struct: struct TradeSet {          double IniTgt, IniStp, PTS, PIP;          string Symb, Descr, Full;          int
Carl Schreiber
Added topic Array of References or Pointers to Objects (Structs)
In the reference of MQL4 I find the basic DataTypes and I can define array of theses types but a reference or pointers to structs is not mentioned there. Can I define an array of references to e.g. struckts and how should I do this? An array of
Carl Schreiber
Added topic OrderSelect(12470, SELECT_BY_TICKET)
If I select an order by if( OrderSelect ( 12470 , SELECT_BY_TICKET ) ) do I get a true even if this order of the Ticket is already closed and the order is already in the HistoryPool? Gooly