Carl Schreiber
Carl Schreiber
  • Information
9+ years
experience
2
products
7
demo versions
0
jobs
0
signals
0
subscribers
Carl Schreiber
Added topic Am I wrong or is it the new mql5 build 1915?
It's just a tiny little indicator to check the local existence of the bars that is started on GBPUSD H1 of the MQ- Demo account: //+------------------------------------------------------------------+
Carl Schreiber
Added topic Is there a Way to Delete/Remove an Indicator e.g. by deleting the handle
Hi, Is there a way to delete an Indicator that was started in OnInit() by handle = iCustom(..) and then after some 'live-time' in OnCalculate() or OnTick() it is not needed any more and could be deleted to remove it from RAM and further calculation
Carl Schreiber
Added topic Anyone with a Light in my Darkness of CopyBuffer?
I just want to see a simple ema: In OnInit() I create the handle and defined 3 buffers successfully!! In OnCalculate() I want to copy the values into the buffer:    int limit=rates_total-prev_calculated;    int count=(limit> 1
Carl Schreiber
Added topic Windows Oct.-Update next week - gonna be fun!
next week there will be the Win 10 update, but it is already available and there are first testimonials, taken from here https://winfuture.de/news,105358.html (German):     .. files disappeared after the installation of the October
Carl Schreiber
Added topic What is wrong here: Err 4002: ERR_WRONG_INTERNAL_PARAMETER: Wrong parameter in the inner call of the client terminal function" ??
My (win10,64, Mt5 b 1881)  call: .. input int       BB_Period = 14 ; input double    BB_Devi   = 2 ; .. int Hdl_BB; int OnInit () {    ..    Hdl_BB = iBands ( _Symbol
Carl Schreiber
Added topic OpenOrders shows 0 despite I have 13 open positions??
I have on a demo account 13 open positions: but OrdersTotal() shows zero(?):      uint o = OrdersTotal ();      Comment ( "OrdTotal " ,o); How do you get the open positions in MQL5
Carl Schreiber
Added topic Metaquotes Demo-Server is missconfigured ...
hopefully someone of the staff is reading it and start to change it! I tried to debug an indicator with mt5 connected to MetaQuotes-Demo: MetaTrader 5 Desktop Demo. In the option for the debugger I wanted set: And these are the first Bars I get
Carl Schreiber
Added topic Credits and debits - how to catch them in mql5?
Hi, with MQL4 credits and debits and other bookings on the account are cached with OrdersTotal ( "history" ). In MQL5 HistoryOrdersTotal() seems to ignore them. On the other hand to get account information 'knows' only
Carl Schreiber
Added topic script on chart and the first bar..?
Hi, I want to write e little script which needs the first bar of the chart ( Eurusd m1) it is attached to. Naively I use (mql5) iTime: void OnStart ()   { //---    datetime tOne  = iTime ( _Symbol , _Period , 0 );
Carl Schreiber
Added topic The Initial Thread Race
Since now all techn. questions should go to the forum here is mine: The start of an indicator or an EA starts a thread race of various things. Especially if one uses OOP the setup of all the instances of the classes took quite a while - that's my
Carl Schreiber
Added topic IndicatorRemove
Is there a way that an indicator can remove itself? I tried ExpertRemove() which worked as far as I remember for mql4 - but mql5 it does not - do I have to force a division by zero or an invalid array access
Carl Schreiber Published product

Check Online-Status monitors your terminal. If its connection to the server is interrupted for longer time, you will receive an email and/or a push notification, depending on what your settings. You can find out how long the terminal has been offline and can judge the quality of your brokers and/or the provider of your VPS after some time. Remember, the terminal manages and controls your money. Everything hangs in the air if it has no connection to the server! Check Online-Status displays the

Carl Schreiber Published product

Check Online-Status monitors your terminal. If its connection to the server is interrupted for longer time, you will receive an email and/or a push notification, depending on what your settings. You can find out how long the terminal has been offline and can judge the quality of your brokers and/or the provider of your VPS after some time. Remember, the terminal manages and controls your money. Everything hangs in the air if it has no connection to the server! Check Online-Status displays the

Carl Schreiber
Added topic FYI: Unexpected Behaviour of CopyRates
This little piece of code: int OnInit () {    MqlRates r[];    int nR,nB = iBars ( _Symbol ,     PERIOD_M1 );    Print ( __LINE__ , "  nB: " ,nB, "  " ,err( _LastError ));
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