MetaTrader 4 Build 529 beta released with new compiler - page 90

 
Mine, on the other hand, doesn't seem to be loading at all. ))
 
Hmm. Turns out to be a problem with symbolic links. My history folder is located on my drive D, and the terminal folder in AppData has a symbolic link to it. If I remove the link, the terminal creates a new history folder on startup and the downloading process is normal. If instead of the folder link to it, then current data and history with Home key is loaded, but the archive for some reason does not load. I rechecked access rights - they are the same for both the folder created by Metatrader and my folder on disk D. Strange, that's the first time I've seen a link affect the operation of the program in any way.
 

I've just checked - I also have a problem with loading historical data from the archive. The M1 seems to have loaded, I open the M1 chart and there's "Waiting for update"...

In the log:

2013.12.04 19:01:04.783 HistoryBase: not enough memory 'USDCAD1' [4699170 bars]

2013.12.04 19:01:04.783 Memory handler: cannot allocate 281965560 bytes of memory

About a gig of free memory.

 

Trade/AccountInfo.mqh cannot compile

Error:
'ENUM_ORDER_TYPE' - declaration without type AccountInfo.mqh 58 65
'trade_operation' - comma expected AccountInfo.mqh 58 81

 

MT4 build 553, ME876.

Deint() function triggers only when an indicator is removed from subwindow, it is not called when switching timeframes.

Code to test:

//+------------------------------------------------------------------+
//|                                              Deinit_function.mq4 |
//|                        Copyright 2013, MetaQuotes Software Corp. |
//|                                              https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2013, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
#property indicator_separate_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//--- indicator buffers mapping
   
//---
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
   Print("Exit");
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int counted_bars=IndicatorCounted();
   return(0);
  }
//+------------------------------------------------------------------+
 
Lion.Fx:

Trade/AccountInfo.mqh cannot compile


Trade in five is different from trade in four. Therefore, it is not possible to use Friday inludes containing purely Friday specifics
 
Code debugging in the tester is much needed, will this be implemented?
 
ForexMoneyMaker:

MT4 build 553, ME876.

Deint() function triggers only when an indicator is removed from subwindow, it is not called when switching timeframes.

Code to test:


Thanks for the message, corrected.
 
stringo:

Trading in five is different from trading in four. Therefore, you cannot use Friday inludes containing purely Friday specifics

OK. I understand that it will be possible to use them in quadruple. Or will they be rewritten for four in the future?

And the rest of inludes can be used? For example ChartObjects?
I'm trying to do the following now:

ENUM_BASE_CORNER corner=CORNER_LEFT_UPPER;

The compiler gives out: 'CORNER_LEFT_UPPER' - undeclared identifier

without this enumeration it is impossible to set anchor angle via ChartObjects

 
Lion.Fx:

OK. I understand that it will be possible to use them in quadruple. Or will they be rewritten for quadruple in the future?

May we use other inluders? For example ChartObjects?
I am trying to do the following now:

ENUM_BASE_CORNER corner=CORNER_LEFT_UPPER;

The compiler gives out: 'CORNER_LEFT_UPPER' - undeclared identifier

without this enumeration you can't set the anchor angle via ChartObjects




In time, inclusion files will be written specifically for foursomes.

Let's bring the objects into line, too

Reason: