Scripts: SlipPage

 

SlipPage:

Calculation of slippages of the performed deals in account currency.

Author: fxsaber

 

I'm not able to get this compiled:

initialize sequence for 'struct ORDERTYPE_PROFIT' expected SlipPage.mqh 311 30

Can you have a look please?
 
Alexander Schick #:

I'm not able to get this compiled:

initialize sequence for 'struct ORDERTYPE_PROFIT' expected SlipPage.mqh 311 30

Can you have a look please?

Change it in line 311 of the mqh file.

   static ORDERTYPES_PROFIT GetProfitData(const string Symb=NULL)
     {
      ORDERTYPES_PROFIT Res={}; // Before: ORDERTYPES_PROFIT Res={0};