Can the int Init() function be called from the rest of the functions in the program?

Back to topics list To post a new topic, please log in or register
avatar
66
macpee 2016.03.30 18:41
 
Can the int init() function be called from the rest of the functions in the program? Thank you in advance.
avatar
13001
WHRoeder 2016.03.31 14:30 #
 

Can it? Sure, it's a function just like any other. I did it here How to Draw Cnadle chart in indicator_separate_window ? (XDXD) - MQL4 forum

Should it? Probably not for style. I'd create an second function and have init do only what init should, and have it all the second one.

Back to topics list  

To add comments, please log in or register