MetaTrader 4 Client Terminal build 646: New Smart Search, Books in the Market and Updated Window of MQL4 Application Settings - page 7

 

Anyway I appreciate your willingness to help. It's a bug. Please report it.

 
report it yourself to Service Desk
 
qjol: try: mailgw.netvision.net.il:25
fabio7774: telnet mailgw.013net.net:25
Pre-Build 600 the problem was MQ4 only did plain text (port 25) perhaps try SSL (port 465)
 
Garbages are sent to the SMTP server.
 
angevoyageur:

If you are thinking something is buggy, please report it to Service Desk of Metaquotes.

If you need help, please post your code to demonstrate your issue.



I could confirm the bug described by petermitchell.

I already post the bug on Service Desk at ticket #1004792 on 28th April, but I didn't got any reaction since then...

 
TesterStadistics is not working.
 
  
#property  strict
#property indicator_chart_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
  
extern int corner=1;
extern int x = 5;
extern int y = 20;  
extern int  font_size= 30;  

void init()  {   }         
void deinit()  {    } 


 void start() 
{    
   double Profits=0;     
   for (int i=0; i<OrdersTotal(); i++)
   {  if (!OrderSelect(i,SELECT_BY_POS,MODE_TRADES)) continue;
      if (OrderSymbol()!=Symbol()) continue;
      if (OrderType()<=OP_SELL)     Profits = Profits+OrderProfit()+OrderSwap()+OrderCommission();
   }  
   
    color colr=Lime; if (Profits<0)colr=Red;
    text(1,DoubleToStr(Profits,2)+" $",font_size,colr); 
   } 
    

void text(int zz ,string text,int Fsize,color col)
{ string name= WindowExpertName()+string(zz);
  
      ObjectDelete(name);                                // if i don't use this line. text alignment is moving
      
      if(ObjectFind(name)<0)
      ObjectCreate(name, OBJ_LABEL, 0, 0, 0);
      ObjectSet(name, OBJPROP_CORNER,corner);
      ObjectSet(name, OBJPROP_BACK,0);
      ObjectSet(name, OBJPROP_XDISTANCE,x );
      ObjectSet(name, OBJPROP_YDISTANCE,y ); 
      ObjectSetText(name,text,Fsize,"Arial",col);
       
}

 

here is my very simple indicator.

when i use corner == 1 or corner ==3

in build 646 the text alginment is moving. it doesnot happened in build 625.

so imust add ObjectDelete.. to make it work as supposed to be.

but with ObjectDelete.. the label is FLICKER in backtesting

label

 

another one i dont like about new build MT4

if i run CLOSE ALL SCRIPT.. i must enable AUTO TRADING BUTTON.

in case if i run 5 EA.. and i want to run CLOSE ALL SCRIPT.. my script is closing position but my EA will put another new position.

it is very unconvenient.

 
You can also disable trading per ea in ea properties.
 
ranyg:
meanwhile my broker Fxglobe said that there is nothing to do about the problem.All custom indicators that come default with the platform (build 646 ) wont open.Could it be that only I face this problem since there are no other posts on this subject ?
Reason: