[Indicator] Where the best place to put the global variables? Inside init(){...} or outside the function??

 

Where the best place to put the global variables? Inside init(){...} or outside the function?? My variables will used in many functions repeatedly. 

I want to know the best way and efficiently to create indicator. 

 
If they are declared inside a function they are local to the function, not global.
 
WHRoeder:
If they are declared inside a function they are local to the function, not global.
init() function is initialization, it sounds like global to me. I tried to put global variable in init() function but MQL gave me a warning. 
 
Musngi:
init() function is initialization, it sounds like global to me. I tried to put global variable in init() function but MQL gave me a warning. 
WHRoeder:
If they are declared inside a function they are local to the function, not global.
Reason: