i have an array inside the indicator , how can i use it in another EA?
i can think that it needs to be copied to buffer and access it using icustom ?
- You can't. ICustom can only read buffers.
- Why copy it to a buffer, just use a buffer.
Hello
i have an array inside the indicator , how can i use it in another EA?
i can think that it needs to be copied to buffer and access it using icustom ?
if thats the case how can i copy the array to the buffer ? i cant seem to find anything about it or maybe i am missing it .
or maybe there is another way?
thank you
yes i can do that, but what if the array contains strings, how can u transfer that ?
Thank Dominik
True , the buffer solution will cover my needs
i was just trying to answer a question that jumped my mind about strings.
thanks
Thank Dominik
True , the buffer solution will cover my needs
i was just trying to answer a question that jumped my mind about strings.
thanks
There's also something called "GlobalVariableGet" in the api which allows you to retrieve variables from one script to another running on the same terminal. But I haven't tried it
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello
i have an array inside the indicator , how can i use it in another EA?
i can think that it needs to be copied to buffer and access it using icustom ?
if thats the case how can i copy the array to the buffer ? i cant seem to find anything about it or maybe i am missing it .
or maybe there is another way?
thank you