Carl Schreiber
Carl Schreiber
  • Information
8+ years
experience
2
products
7
demo versions
0
jobs
0
signals
0
subscribers
Carl Schreiber
Added topic anybopdy using (knowing) SYMBOL_TRADE_TICK_VALUE_LOSS and/ or SYMBOL_TRADE_TICK_VALUE_PROFIT
Hi, I just saw these two parameters for SymbolInfoDouble() in the MT4 help: SYMBOL_TRADE_TICK_VALUE_PROFIT: Calculated tick price for a profitable order SYMBOL_TRADE_TICK_VALUE_LOSS: Calculated tick price for a losing order. Sounds too good to be
Carl Schreiber
Added topic Point, Pips, Digits and different 4-Digits, 5-Digit and even more-digts Brokers..
Hi, it's an old problem but still not really solved. Recently I was in trouble with a new broker and its Gold-price: 1234.340! For a 5-digit-broker 1 Gold-pip should be 0.1 = 10 Points now here 1 Gold-pip is 100 Point - sigh!! So I thought to
Carl Schreiber
Added topic Debugger is disabled - how to switch it on again?
Hi, I am working on an indicator which I just had run in the debugger. As this (due to a loop of loops of..) runs tooooo long I killed both the terminal and the editor. Now after some changes I want to start the debugger again but the button to start
Carl Schreiber
Added topic Whx is this an: "improper enumerator cannot be used"?
Hi, first I tried this - which works fine: ... extern ENUM_MA_METHOD       Ma1_Method = 0 ; ... Now I wanted to add (for the tester easy to vary) another not standard moving average , so I wrote: enum ma {   
Carl Schreiber
Added topic What is the name and the path to the expert- (indicator-, script-) template with which a new EA is 'started'
Hi, In the pre-500-mt4 I was able to change mt4 default-extpert (and the others) now I can't find them any more. Anybody with a hint - please? Thanks in advance, Gooly
Carl Schreiber
Added topic onTimer()
Hi, anybody here with experience with OnTimer()? If I Set in Oninit(): EventSetTimer(30); the OnTimer() prints its Comment every 30 second on the chart while (e.g.) the Xetra-market is closed. My question: Will OnTimer be executed even when the Extra
Carl Schreiber
Added topic Pip calculation
Hi, I  yesterday faced a surprising feature of a new broker, here the array of the difference to another broker: Symbol Descr. Point Digits Diff Spread Stp-Level LotSize TickValue TickSize USDCNH US Dollar vs Chinese 0,0001 4 1 30 100000 1,619
Carl Schreiber
Added topic Can I somehow: #define delim 0x07 (wrong is just 7 not [uchar]7 = BEL
Hi, to assign a variable a specific ASCII-Char e.g. 7 (BEL) one can do this:          string b = CharToStr( 7 ); but I cannot use this function if I want to define B as Bell
Carl Schreiber
Added topic delete the content of a file without deleting the file?
Is there a way to delete the the content of a file (using the MT4- functions !) without deleting the file:  like delete and re-create
Carl Schreiber
Added topic mt4 and a ClientSocket anybody succeeded?
Hi, I am trying to connect the mt4 as a Socket-Client to a waiting Socket-Serve: I can see the Socket-Server waiting for connection in Windows SysInternalsSuits\TCPView. I am using the example from here: https://www.mql5.com/en/code/9296 . I found
Carl Schreiber
Added topic #include are all functions included?
Hi, as fas I remember that functions that are not used by the e..g. EA are not included by the compiler and I could see the compiler-message, which functions has been eliminated. Now I don't see those messages any more. But is it still true that
Carl Schreiber
Added topic what is ASCII from here this mt5 codepage list?
Hi, I have to send and will receive ASCII - code from/to the other side of a named pipe. Here https://www.mql5.com/en/docs/constants/io_constants/codepageusage I found lots of encodings - but which one is the old fashioned ASCII ? Thanks in advance
Carl Schreiber
Added topic access the news-tab
Hi, has anybody found a solution to access the news-tab in the mt4-terminal? May be by using: GetAncestor(WindowHandle( Symbol (), Period ()), ...); PostMessageW(..) Thanks a lot in advance! Gooly
Carl Schreiber
Added topic Error invalid stops
How is this calculated? I have got this error for 2 Buy-Stop and 3 Sell-Stop-Orders. The Stop-Orders needs: entry, SL, and TP. A valid SL must be 'bigger' than the StopLevel but what is the counter-value for SL - let's say Buy-Stop: I calculate the
Carl Schreiber
Added topic delete the C:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\DB48F9DA8BDA2225EEA27E11B5A6B81C\ ??
Has anybody tried to delete the o.m. folder to start mt4 only /portable ? It seems to me that many files are doubled with the problem which to use, is actual ... Success? Gooly
Carl Schreiber
Added topic What the hell is mt4 doing?
It is weekend! NO Ticks, NO Backtesting - but the mt4 (b628) requires 25% on each kernel's cpu time?? It behaves like a virus - may be that's the reason why it was detected as malware? Or Metaquotes has a partnership with an energy company
Carl Schreiber
Added topic Ticks in OnTick()
Hi, is there a way to know what was the the last tick that starts to process OnTick - Ask or Bid - except if e.g. Bid != lastBid <= newBid (what if the Bid hasn't changed and was re-sent?)
Carl Schreiber
Added topic StringFormat(":%06.3f",v) = "00v.123" how?
Hi, I tried various version to get what is not problem with int-values - leadiing zeros if a value is to small: 11 => "011"? I have the double v = 5.123 I want to get the string "005.123" using StringFormat("",v);
Carl Schreiber
Added topic Wishlist..
Hi, I know the list of changes for migrants of the existing MQL4. What I would like to ask is there a list of wishes of features for the actual MQL4 - maybe with an easy way of voting? I'd like to have e.g. an additional refresh option of the
Carl Schreiber
Added topic CPU-usage - funny experience
I have installed mt4 b638 4 times each one for one of my kernels and each in its own folder. At the moment all 4 are running. One with an EA waiting for the next day (no indicators used or applied), the other three are waiting for me for the next