hi
if i want to copy bufer : using " icustum" and then " copybuffer",
i want to copy the value's of an array from an indicator to another indicator ?
it can by store the array into a buffer and then use it , but is there direct solution?
can you please help?
thank you.
I'm not entirely sure what you are asking here. But if you want to share information between different indicators then you can always use Global Variables: https://docs.mql4.com/globals
- docs.mql4.com
I'm not entirely sure what you are asking here. But if you want to share information between different indicators then you can always use Global Variables: https://docs.mql4.com/globals
thank you.
hi
if i want to copy bufer : using " icustum" and then " copybuffer",
i want to copy the value's of an array from an indicator to another indicator ?
it can by store the array into a buffer and then use it , but is there direct solution?
can you please help?
thank you.
- Global variables as suggested by Filter.
- Objects drawn on the chart.
- File(s)
- Custom events.
Probably others.
Buffers can only be accessed with iCustom/CopyBuffer.
- Global variables as suggested by Filter.
- Objects drawn n the chart.
- File(s)
- Custom events.
Probably others.
Buffers can only be accessed with iCustom/CopyBuffer.
I have done this before using GlobalVariableSet/GlobalVariableGet etc.
You can loop the name - something like (to retrieve);
for(int i=0;i<100;i++){ CopiedArray[i]=GlobalVariableGet("ArraySomething"+string(i)); }
And similar code to set.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi
if i want to copy bufer : using " icustum" and then " copybuffer",
i want to copy the value's of an array from an indicator to another indicator ?
it can by store the array into a buffer and then use it , but is there direct solution?
can you please help?
thank you.