[urgent] mql4 to mql5 conversion

 

Hi I have this problem, can anyone help me?


 
Ciao Davide, quelle sono funzioni non variabili perciò non bisogna mettere il tipo int davanti.
 
Michele Catanzaro #:
Ciao Davide, quelle sono funzioni non variabili perciò non bisogna mettere il tipo int davanti.

se metto il tipo int ho questo 



se non lo metto invece ho questo 

 

forse ho risolto parzialmente avendo associato quelle variabili al tipo INT nelle variabili globali


però continuo ad avere errori 

 

RISOLTO!!!!



SPERO POSSA ESSER UTILE AD ALTRI ↑ ANDAVA SOLO INSERITO L'INTERO CORPO DELLA FUNZIONE CHE STAVO USANDO, TROVATE MAGGIROI INFO QUI → https://www.mql5.com/en/articles/81#:~:text=TimeCurrent%2C%20MqlDateTime-,int%20DayOfWeek(),-int%20DayOfWeekMQL4()%0A%C2%A0%C2%A0%7B%0A%C2%A0%C2%A0

Migrating from MQL4 to MQL5
Migrating from MQL4 to MQL5
  • www.mql5.com
This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar to MQL4 Reference.
Motivazione: