Sharing variables among indicator instances

 

Hello :-)

I would like to allow multiple instances of my indicator to share a variable -if applied to different charts-. Is that possible without using global variables?

Thank you!

 
Perhaps with File,Read/Write. I've used GlobalVariableSet().in the past to experiment, and it works as well, but cannot be Array-type. Normal global variables cannot breach their file.
 
ubzen:
Perhaps with File,Read/Write. I've used GlobalVariableSet().in the past to experiment, and it works as well, but cannot be Array-type. Normal global variables cannot breach their file.
Thank you Uzben, as always.