i'd like to limit the use of an indicator so it cannot be used in EAs
but i'm not sure if it is possible
If you are using buffers you can hide them preventing other programs from accessing them via iCustom. You have to use SetIndexLabel(x,NULL); where x is buffer number in OnInit. https://docs.mql4.com/customind/setindexlabel
If you are using objects there is no good solution bc even hidden objects can be read by another program.

- docs.mql4.com
If you are using buffers you can hide them preventing other programs from accessing them via iCustom. You have to use SetIndexLabel(x,NULL); where x is buffer number in OnInit. https://docs.mql4.com/customind/setindexlabel
If you are using objects there is no good solution bc even hidden objects can be read by another program.
thank you so much i didn't knew that
If you are using buffers you can hide them preventing other programs from accessing them via iCustom. You have to use SetIndexLabel(x,NULL); where x is buffer number in OnInit. https://docs.mql4.com/customind/setindexlabel
If you are using objects there is no good solution bc even hidden objects can be read by another program.
That will not prevent accessing the buffer. Buffers (any buffer - displayed or not) can always be accessed using iCustom() regardless if they are displayed in the data window or not
iCustom accepts a limited list of input parameters of the indicator no more than 59 parameters, under the main settings, make a description and on the 60-61 line of settings, create the parameter enabling the indicator
thanks i'll try that

- 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
i'd like to limit the use of an indicator so it cannot be used in EAs
but i'm not sure if it is possible
thanks for help
Jeff