Forum

How To Check The Sum Of Serveral Back Order Results.

Hi, I’m looking for any suggestion about this specific code. This is the original code to check the result of the last closed order. void CheckLastOrderResult() { double profit = 0 ; int orderId = - 1 ; datetime lastCloseTime = 0 ; int cnt = OrdersHistoryTotal(); for ( int i= 0 ;

Special case to Reset activation of the MQL5 products.

Hi, there is any special case to resent the activations for the MLQ5 PRODUCTS? Look like the system are reducing the choices to use the products . I lost all my computer files. Is there any contact email to present a specific case

Possible loss of data due to type conversion.

How to remove a warning in MLQ4? In this code used to close operations, void CloseOrderbuyl(){ int orderstotal = OrdersTotal (); int orders = 0 ; int ordticket[][ 2 ]; for ( int i = 0 ; i < orderstotal; i++) { bool sel = OrderSelect (i, SELECT_BY_POS , MODE_TRADES ); if (

Multiple values for an external Parameter.

What code could be used to place multiples values in one external parameter ? This is what I know for a single value: external bool Timeframe = true; or false; But how to put several values in one tab. Thanks in advance. I will appreciate any help