When is the new version of MT5 and where do you find out what's expected in it? - page 8

 
Ghenadie Tumco:

Hypothetically... That's it, no more MT4...

What happens to those who have a TS or EA in MT4?
1: Will they quit trading?
2: Will he order or write his own TS or Expert Advisor for another platform? Which one?

3: Will order or write his own TS or advisor for MT5?

What will happen to Brokers who have MT4?
1: Will they close their business?
2: Will they buy a license for another platform? Which one?
3: Will they buy a license for MT5?

I won't answer for everyone, only for myself.

1. I will not.

2. I will order/Write for Mt5.

3. Yes. For Mt5

4. Well, where to go then?

 
elibrarius:

When running on real ticks since October 1, 2015, a lot of these messages pop up: (testing on Metaquotes demo server)

2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.10.22 00:41 - 2015.10.22 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:03574 Core 1 AUDUSD : 2015.11.09 23:59 - real ticks absent for 3 minutes out of 1438 total minute bars within a day
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.11.10 00:00 - 2015.11.10 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.11.27 23:57 - 2015.11.27 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.11.30 00:02 - 2015.11.30 23:59 1 minute bars absent within a day while real ticks present
2016.03.03.19 13:58:03.574 Core 1 AUDUSD : 2015.12.15 00:00 - 2015.12.15 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.12.21 00:00 - 2015.12.21 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.12.28 00:00 - 2015.12.28 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2016.01.11 23:59 - real ticks absent for 42 minutes out of 1,438 total minute bars within a day
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2016.01.26 00:04 - 2016.01.26 23:59 1 minute bars absent within a day while real ticks present
2016.03.03.19 13:58:03.574 Core 1 AUDUSD : 2016.02.08 00:00 - 2016.02.08 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:03574 Core 1 AUDUSD : 2016.02.15 00:00 - 2016.02.15 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2016.03.17 00:00 - 2016.03.17 23:59 1438 minute bars absent within a day while real ticks present
2016.03.19 13:58:03.574 Core 1 AUDUSD : real ticks beginning 2015.03.02 00:00
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.10.01 00:00 - 2016.03.18 00:00 real ticks absent for 45 minutes of 170580 total minute bars, every tick generation used
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.10.01 00:00 - 2016.03.18 00:00 1448 minute bars absent in total while real ticks present
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.10.01.01 00:00 - 2016.03.18 00:00 tick volumes not matched for 2483 minute bars
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.10.01 00:00 - 2016.03.18 00:00:00 last prices absent for 4 minute bars, bid prices used
2016.03.19 13:58:03.574 Core 1 AUDUSD : 2015.10.01 00:00 - 2016.03.18 00:00 last prices turned off for 20 minute bars, bid and last prices used
2016.03.19 13:58:03.574 Core 1 EURUSD : 2015.10.12 00:02 - 2015.10.12 23:59 1 minute bars absent within a day while real ticks present
2016.03.03.19 13:58:03.574 Core 1 EURUSD : 2015.11.09 23:59 - real ticks absent for 9 minutes out of 1439 total minute bars within a day
2016.03.19 13:58:09.677 Core 1 EURUSD : 2015.11.10 23:59 - real ticks absent for 2 minutes out of 1439 total minute bars within a day
2016.03.19 13:58:09.677 Core 1 EURUSD : 2015.11.10 00:00 - 2015.11.10 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:09.677 Core 1 EURUSD : 2015.12.04 00:00 - 2015.12.04 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:09.677 Core 1 EURUSD : 2015.12.07 00:00 - 2015.12.07 23:59 1 minute bars absent within a day while real ticks present
2016.03.03.19 13:58:09.677 Core 1 EURUSD : 2015.12.14 00:00 - 2015.12.14 23:59 1 minute bars absent within a day while real ticks present
2016.03.19 13:58:09677 Core 1 EURUSD : 2016.01.11 23:59 - real ticks absent for 43 minutes out of 1439 total minute bars within a day
2016.03.19 13:58:09.677 Core 1 EURUSD : 2016.02.01 23:59 - no real ticks within a day
2016.03.19 13:58:09.677 Core 1 EURUSD : 2016.02.02 23:59 - no real ticks within a day
2016.03.19 13:58:09.677 Core 1 EURUSD : 2016.02.03 23:59 - no real ticks within a day
2016.03.19 13:58:09.677 Core 1 EURUSD : 2016.02.04 23:59 - no real ticks within a day
2016.03.19 13:58:09677 Core 1 EURUSD : 2016.02.05 23:59 - real ticks absent for 10 minutes out of 1440 total minute bars within a day
2016.03.19 13:58:09.677 Core 1 EURUSD : 2016.03.03.17 00:00 - 2016.03.17 23:59 1439 minute bars absent within a day while real ticks present
2016.03.19 13:58:09.677 Core 1 EURUSD : real ticks start from 2015.03.02 00:00:00
2016.03.19 13:58:09.677 Core 1 EURUSD : 2015.10.01 00:00 - 2016.03.18 00:00 real ticks absent for 5822 minutes of 170641 total minute bars, every tick generation used
2016.03.03.19 13:58:09.677 Core 1 EURUSD : 2015.10.01 00:00 - 2016.03.18 00:00 real ticks absent for 4 whole days
2016.03.19 13:58:09677 Core 1 EURUSD : 2015.10.01 00:00 - 2016.03.18 00:00 1444 minute bars absent in total while real ticks present
2016.03.19 13:58:09.677 Core 1 EURUSD : 2015.10.01.01 00:00 - 2016.03.18 00:00 tick volumes not matched for 2485 minute bars
2016.03.19 13:58:09.677 Core 1 EURUSD : 2015.10.01 00:00 - 2016.03.18 00:00:00 last prices absent for 5 minute bars, bid prices used
2016.03.19 13:58:09.677 Core 1 EURUSD : 2015.10.01 00:00 - 2016.03.18 00:00 last prices turned off for 12 minute bars, bid and last prices used
2016.03.19 13:58:09.677 Core 1 GBPUSD : 2015.11.09 23:59 - real ticks absent for 8 minutes out of 1437 total minute bars within a day
...............................

I.e. in those moments the tick history is not filled? Or there are no M1 bars? How to determine where it is completely present? I think optimizing on unfilled periods = wrong Expert Advisor settings.

When there is no minute bar but there are real ticks, it may not be an error at all. For example, when translating a stack, there may be bids and asks and at the same time zero flippers. The stack tool is built solely on the flippers, so a stream of zero flippers in a minute will not form a minute bar.

We can recognise such a situation, so we will not count the missing minute counter in such cases.

Also in the message "2015.11.30 00:02 - 2015.11.30 23:59 1 minute bars absent within a day while real ticks present" we can see exactly when this minute bar was not present - at 00:02. The first time in the range shows the start of the absence. This is only relevant for the first minute.

In general, zero flippers in a glass instrument will not be counted as an error when a minute bar is absent (perfectly legitimate)

 
Try running the indicator from our SimplePanel examples and pressing the buttons with the mouse
 
Slawa:
Try running the indicator from our SimplePanel examples for testing and clicking the buttons with the mouse
It turns out that the OnChartEvent() event is handled in the tester now! True (depending on the speed of testing) it does not work the first time, but I understand this will be corrected.
 
Alexandr Saprykin:

I won't speak for everyone, just for myself.

1. I won't.

2. I will order/write for Mt5.

3. Yes. For Mt5

4. Well, then where to go?

You answered for everyone... Without being clever, sincerely and accurately.
 
Will netting and hedging in mt5 work with magic numbers? For example, if I have two expets and they both buy with different magics at the same time, will it be shown in the terminal as two separate positions or one combined position?
 
Dr.Trader:
Will netting and hedging in mt5 work with magic numbers? For example, if I have two expets and they both buy with different magic numbers at the same time, will it be shown in the terminal as two separate positions, or one combined position?
Netting or hedging is chosen when you open the account. For hedging, the positions should be set in the same way as in mt4
 
Karputov Vladimir:

Hedging test:

and the result in the terminal:


Attention: In order to test trading with hedging you need to

and select a trading account with hedging.
So it turns out that the processing of multiple orders will be the same as in Quartet? This means that the Expert Advisors of the fourth type can work correctly on the fifth, we just need to change the extension? After all, the language is already almost identical, except for hedge order processing.
 
Oleg Tsarkov:
So, it turns out that the processing of multiple orders will be like in the four? This means that the four Expert Advisors will be able to work correctly on the five ones, we just need to change the extension? After all, the language is almost identical, except for processing hedge orders.

I tried it, OrdersHistoryTotal() does not find it, then how should we handle a group of open orders?

Or there are only two open orders, buy and sell, which can either grow by volume or be closed at zero?

 

Positions are accounted for:

      uint total=PositionsTotal();
      for(uint i=0; i<total; i++)
        {
         string position_symbol=PositionGetSymbol(i);
         if(_Symbol==position_symbol && MA_MAGIC==PositionGetInteger(POSITION_MAGIC))
           {
            //res=true;
            //break;
           }
        }

If the account type is a hedge, there can be more than one or two positions.

Reason: