Download MetaTrader 5
To add comments, please log in or register
The entire MQL5.community history on a single page!
macpee
287
macpee 2016.03.30 16:41 
Can the int init() function be called from the rest of the functions in the program? Thank you in advance.
whroeder1
13613
whroeder1 2016.03.31 12: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.

/
To add comments, please log in or register