MetaTrader 4 platform update build 1400: Improved Market security

 

The MetaTrader 4 platform update will be released on Friday, November 10, 2023.

  1. Terminal: Improved Market security system. Now, in order to run the product, the user must be authorized in the platform with the same MQL5 account via which the product was purchased. The account must be specified under the Tools \ Options \ Community section:




    If no account or an invalid account is specified, the product will not start, and the following message will be printed in the platform journal:
    'ProductName' requires active MQL5 account in Tools->Options->Community
  2. Terminal: Updated user interface translations.
  3. Fixed errors reported in crash logs.

The update will be available through the Live Update system.

 
Great update.
Thanks
 

Thanks, update received.

What is the chance of fixing the Alert Line bug in the next version?

https://www.mql5.com/en/forum/455331

MT4 Built in Alerts Bug (Alert line Stuck behind Order Line)
MT4 Built in Alerts Bug (Alert line Stuck behind Order Line)
  • 2023.10.07
  • www.mql5.com
Hi all, Is it possible to request a fix to the Alert line becoming stuck underneath an Open order line on the chart...
 

I couldn't help but notice the size of the terminal.exe and metaeditor.exe has increased significantly.

27.6 MB for terminal.exe

and

16.0 MB for metaeditor.exe




For context, b1353 was 13.8 MB  b1380 was like 14MB or so if I remember correctly.


So the question is what's up with the extra bulkiness?

 

I am sorry to notice that with the latest build MT4  1400 when I closed the MT4 life account version as well as a second demo account version, (both installed on the same PC)  and later wanted to restart each program separately, the time to load MT4 is very long. Looking into the journal there are various error messages related to paid indicators while also registered under Tools Options Community ...

This has occurred now since 10 November, the new build installation update. 

Please advise.

Bernard

 
@BernardWG #: I am sorry to notice that with the latest build MT4  1400 when I closed the MT4 life account version as well as a second demo account version, (both installed on the same PC)  and later wanted to restart each program separately, the time to load MT4 is very long. Looking into the journal there are various error messages related to paid indicators while also registered under Tools Options Community ... This has occurred now since 10 November, the new build installation update. Please advise.

Just as the log message states, you need to log in with your community account.

Go to your MetaTrader Options (Ctrl-O) and fill in the MQL5 Community credentials, as shown in the image on the first post of this topic.


 

Hi

I seen the function OrderModify only work if expiration = 0.

When I try modify pending order with expiration > 0 , it not work,  always have error Invalid volume.

//+------------------------------------------------------------------+
//| Script program start function                                    |
//+------------------------------------------------------------------+
void OnStart()
  {
//---
   if(OrderSelect(50170564,SELECT_BY_TICKET))
     {
      double price = OrderOpenPrice(), sl = OrderStopLoss(), tp = 2050;
      datetime expiration = TimeCurrent() + 60*60;      
      bool modify = OrderModify(OrderTicket(),price,sl,tp,expiration,clrNONE);
     }   
  }
//+------------------------------------------------------------------+


 
Trinh Dat #: I seen the function OrderModify only work if expiration = 0.
  1. No where do you check if the ticket has already opened, or opened and already closed.
  2. Some brokers do not allow expirations, or have a minimum. Ask them.
  3. There is no need to create pending orders in code.

    1. The pending has the slight advantage, A) you are closer to the top of the queue (filled quicker), B) there's no round trip network delay (filled quicker.)

      Don't worry about it unless you're scalping M1 or trading news.

    2. Humans can't watch the screen 24/7, so they use pending orders; EAs can, so no need for pending orders, have it wait until the market reaches the trigger price and just open an order.

 
William Roeder #:
  1. No where do you check if the ticket has already opened, or opened and already closed.
  2. Some brokers do not allow expirations, or have a minimum. Ask them.

Do you see the log above ? Order still open and EA request to modify order, but it always ERROR Invalid volume.

The Error only happen when use the function OrderModify  . No problem with manual trade to set expiration .

I just want mql5 know about it.

 
Trinh Dat #:

It's not clear what you are trying to change. Are you trying to change the expiration along with the take profit? Or are you trying to change only the take profit?

Trinh Dat #:
datetime expiration = TimeCurrent() + 60*60;

If you do not want to change the expiration, then you should note that this will definitely not be equal to the existing expiration value


And I would ask the moderators to move this post and everything related to it to another topic. To avoid flooding here. This is obviously off topic.


[EDIT]

If you are not trying to change the expiration, then use the value that OrderExpiration() returns for that order.

The expression below will return false

((TimeCurrent() + 60*60) == OrderExpiration())
 
Vladislav Boyko #:

It's not clear what you are trying to change. Are you trying to change the expiration along with the take profit? Or are you trying to change only the take profit?

do you ever use  OrderModify with expiration >0  ? 

I just want mql5 know about it. No need to discuss about it.
Reason: