Carl Schreiber / Profile
- Information
8+ years
experience
|
2
products
|
7
demo versions
|
0
jobs
|
0
signals
|
0
subscribers
|
Friends
981
Requests
Outgoing
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
Carl Schreiber
Added topic again OnTester() and mt4-beta and which is non beta?
1) actually I am optimizing on b614 and I found a bit a weird thing. The Optimzation-Results-Tab shows the 'old' columns: Pass, Profit, ..., Drawdown $, Drawdown %, Param.-1, Param.-2, ... But if I (mouse-menue) copy-all (Alt-A) and paste it into my
Carl Schreiber
Added topic again a huge loss: -168'000'000'020.07 but can't trade it the other way
Again more problems :( This sweet little snippet of code would kill my complete existence: void OnTick () { //--- static bool isSell = false ;
Carl Schreiber
Added topic your MetaQuotes-New MT4 Test - MetaQuotes Software Corp. Server !!!!
Hi again, You really spent thousands of my day today!! I am logged in at MetaQuotes-New MT4 Test - MetaQuotes Software Corp. to backtest with tickdata (Tickstroy-Lite) not to get confused with the different fxt- and history files. Up to yesterday
Carl Schreiber
Added topic What does this mean: 2014.03.05 10:48:42.351 xN GBPUSD,M1: Invalid license? It is my EA!
Hi I just saw this: 2014.03 . 05 10 : 48 : 42.351 xN GBPUSD,M1: Invalid license in the expert tab. xN is running in VisualMode in the start-Tester?? Login-Account = Metaquotes, mt4 = b610? Gooly
Carl Schreiber
Added topic Do we need this to be marked as error?
I am using TickStory Lite to create fxt File and if a backtest is started I get this with the red arror shield: 2014.03 . 05 10 : 12 : 11.564 TestGenerator: actual tick file "..\Documents\MT4\mt2\tester\history\GBPUSD1_0.fxt" found Has this visually
: