iCustom run an indicator per buffer?

 

Hi

If I use iCustom like bellow to save 4 buffers, it run the indicator 4 time for each buffer and waste CPU and resources. I'm right?!



  Buffer[i]=iCustom(NULL,0,"CustomIndi",1,i);

  Buffer[i]=iCustom(NULL,0,"CustomIndi",2,i);

  Buffer[i]=iCustom(NULL,0,"CustomIndi",3,i);

  Buffer[i]=iCustom(NULL,0,"CustomIndi",4,i);

 

No.

iCustom sees if the indicator requested is on the chart with the parameters specified (all defaulted). If not, it adds the indicator (hidden.)

After that all it is doing is reading values from the specified buffer.

Reason: