Download MetaTrader 5
To add comments, please log in or register
We have launched Spanish and Portuguese versions of the website. Try them!
macpee
456
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
14236
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