Can we use typedef struct in MQL4?

 

hello forex experts!


can you please help a newbie?  I'd like to know how I can use typedef struct in MQL4.  I don't see it in the documentation.  does it come in a different name?


thank you very much.  Your help is very much appreciated.


MQL4_ndewbie

 
no
 
phy:
no

thank you Phy.  what do you use to go around this problem?

 

You just have to store things as best you can..

MQL5 will improve on the situation if they ever get it out the door.

What is it you want to put in a struct?

 
I would venture that the types of structures/APIs etc you would need are already provided, especially the ones you need when writing an indicator.
 
MQL4_newbie wrote >>

thank you Phy. what do you use to go around this problem?

To around this problem you can use integer arrays in some cases. See sample LocalTime.mq4

Reason: