Errors, bugs, questions - page 554

 
Please explain - why has the terminal time remained daylight saving time? Europe and Greenwich have switched to winter time.
 
Discussed earlier (when there was a failure in September) - terminal time should be GMT+1, (the current Central European time), but now it shows GMT+2 as the current Kiev time. I'm beating the honour - please fix this nonsense.
 

In MQL4 you could create an order with stops right away, but MQL5 does not - you have to set stops after the order creation.

Am I slow (please, give me a code sample) or is it the idea?

 
idispatch:

In MQL4 you could create an order with stops right away, but MQL5 does not - you have to set stops after the order creation.

Am I being slow (please give me a code sample), or is this the idea?

Please give me the details. What version of the terminal do you have, what server, what settings do you use to place the order with, what you get...

 
alexvd:

Let's go straight to the details. Terminal version, server, what settings do you use to place an order, what you get...

Terminal - 527

Server - alpari nz demo (but the same happens in the tester)

Here is the code to create an order:

//=============================

MqlTradeRequest m_request;
MqlTradeResult m_result;

m_request.action = TRADE_ACTION_DEAL;
m_request.symbol = Symbol();
m_request.type = ORDER_TYPE_BUY;

m_request.price = Price;

m_request.sl = SL;
m_request.tp = TP;

m_request.volume = Vol;

m_request.type_filling = ORDER_FILLING_FOK;
m_request.deviation = 10;
m_request.type_time = 0;
m_request.expiration = 0;
m_request.magic = 0;
m_request.comment = "";

OrderSend(m_request, m_result);

//=================================

As a result, the order is successfully created (last error is zero) but without any stops.

If we add 2 more lines after OrderSend:

m_request.action = TRADE_ACTION_SLTP;
OrderSend(m_request, m_result);

then the stops are successfully set, but that gives us 2 operations

Документация по MQL5: Стандартные константы, перечисления и структуры / Торговые константы / Типы торговых операций
Документация по MQL5: Стандартные константы, перечисления и структуры / Торговые константы / Типы торговых операций
  • www.mql5.com
Стандартные константы, перечисления и структуры / Торговые константы / Типы торговых операций - Документация по MQL5
 


Please clarify in the MT5 terminal,A. Low - Ask Low the lowest bid price for the current day is not actually the minimum Ask for the day? If not, what is it?

after 20.10.2011 Ask Low has started to show the weather.

here is the picture today :

Документация по MQL5: Стандартные константы, перечисления и структуры / Состояние окружения / Информация об инструменте
Документация по MQL5: Стандартные константы, перечисления и структуры / Состояние окружения / Информация об инструменте
  • www.mql5.com
Стандартные константы, перечисления и структуры / Состояние окружения / Информация об инструменте - Документация по MQL5
 

Metatester saws HDD drive

Version 527.

If you look at the process monitor it goes on and on with this nonsense.

No network activity, not connected to the cloud. No terminal or metatester is running. No files are being changed.

Is this normal?

 

It turned out thatA. Low- Ask Low the lowest offer price for the current day at the start of the terminal bild 527 is assigned equal to the current Ask and no longer changes until the restart of the terminal :(

it started about 21.10.2011, looks like it is in the server side of mt5 because i have not changed the terminal version bild 515 during the Championship, but the situation is the same: my EA has missed some profitable deals
 
idispatch:

Terminal - 527

Server - alpari nz demo (but the same happens in the tester)

Here is the code to create an order:


then stops are successfully set, but this turns out to be 2 operations

In alpari execution market, when executing a market trade, stops cannot be placed immediately, you must first open a position and then modify it
 
Snaf:

The metatester saws the HDD

Version 527.

If you look at the process monitor it goes on and on with this nonsense.

No network activity, not connected to the cloud. No terminal or metatester is running. No files are being changed.

Is this normal?

Write to servicedesk.

Reason: