Carl Schreiber
Carl Schreiber
  • Information
8+ years
experience
2
products
7
demo versions
0
jobs
0
signals
0
subscribers
Carl Schreiber
Added topic When is OrderClosePrice() refreshed?
Hi, 1) OnTick() is executed if a new Tick has been sent by the server. But if the the server gets buzzy I do hae the feeling the data stream slows down :( 2) If I am opening an order it takes some time I can get a new and actual prices by
Carl Schreiber
Added topic calc. of MaxDD ?
Hi, does anybody know how the MT4 calculates the maxDD as I see a difference between Drawdown $ of the Optimization and the 'Maximal Drawdown of the back-test result ( both 309 $ )? My set: I select one result of an optimization process (DD = 309 $)
Carl Schreiber
Added topic history - quotes ???
Hi, I just realized s.th. unexpected. I have an Demo-Account with XY-Borker and created for back-testing the fxt-files and the hst files by the EA (b628) /portable loged in at XY-Broker and Birt's script!! I do have an account with Metaquotes but the
Carl Schreiber
Added topic TickData and the fxt-Files - change of policy?
Hi, while backtesting and optimizing I realized that something must have changed the way mt4 uses/handles the fxt-file - am I right? I have created the fxt-file myself (Birt's script) and first I launched the mt4 by Tickstory Lite and I get what you
Carl Schreiber
Added topic OnTester() and TesterStatistics()
Hi, it seems that TesterStatistics() is working now (b628). While e.g. STAT_RECOVERY_FACTOR give a correct value the STAT_SHARPE_RATIO seems to be always 0.00000000 double OnTester ()  { //---      Print (
Carl Schreiber
Added topic The Strategy-Tester - has it become a lot slower after b509?
Hi, unfortunately it is only a feeling but the optimization of my EA took 24 hours with b509 (as far as I remember) but now - same logic and same amount of vars with the same range to optimize ok the trade-vars are now organized by structs (one
Carl Schreiber
Added topic Don't load and try the new editor b915!!
Following the solicitation of https://forum.mql4.com/62170 I dld and installed the terminal b628 and the editor b915 Butr the editor cannot be used!! This line: extern int
Carl Schreiber
Added topic how to read an csv-file into a string with the Windows-Functions?
Hi, I know there are examples here usin the obsolet Windows- function like _open(), _read()... But I think this could be troublesome due to ANSI and UTF8... Anyway I want to read a csv-File which is admin. by LibreOffce and save LO save it as csv
Carl Schreiber
Added topic please a link to the window constants
Hi, does anybody has a link to the Windows-File-Constants (and may be others too - you never know) like: OPEN_EXISTING, GENERIC_READ, FILE_SHARE_READ, FILE_ATTRIBUTE_NORMAL, ... The Windows-Errors I have found. THanks in advance, Gooly
Carl Schreiber
Added topic Windows Error Messages - can I get them now - how?
The old builts didn't enable us to get the Windows Errors: GetLastError ()? Now the mt4 still has that name :( Gooly
Carl Schreiber
Added topic really really mysterious??
At the moment only one terminal b625 is running, 4 charts are open and no EA is applied!! Now I started my script in debug-mode: line by line. It shall start my test_EA to check how I can set and get the chart comment - an all of a sudden I there was
Carl Schreiber
Added topic the new Data Types are very annoying!!
The easiest way for an EA to get information either from another chart or from the previous start was to use GlobalVariables. But they only exists and can take and provide doulbes: 8 byte. If you now want to save a long (int) 8 byte too variable its
Carl Schreiber
Added topic What is where it happems: Access violation read to 0x0ABB5000 in 'C:\Users\cas\Documents\MT4\mt1\MQL4\Experts\myEA.ex4'
Hi,my EA stops after 2014.03.25 12:04:50.800 Access violation read to 0x0ABB5000 in 'C:\Users\cas\Documents\MT4\mt1\MQL4\Experts\myEA.ex4' This EA is installed by a script 8 times. 7 time without any problem but the last crashes with the a.m. error
Carl Schreiber
Added topic How - When does OnDeinit() work - Does it work?
If my EA is stopped I want it to delete all its global variables! If I start the debugger the glob.vars are set but nothing is deleted if I stop the debugger: void OnDeinit ( const int reason ){ delMyGlobs(); } void delMyGlobs(){
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