Communication Expert => Indicator

 

Hello.

My expert advisor uses an external dll library, which in turn loads external data. I need to draw some of it on a few charts. I guess it would be easiest to make an indicator that simply reads arrays of values from the expert, using something like an inverted iCustom.

Could you tell me what's the best way to send buffers? Through global variables, objects? How to write it?

Thank you in advance. Regards, elizabeth

 
  1. There is no such thing as an inverted iCustom.
  2. There is no way (best or otherwise) to send buffers because an EA doesn't have them.
  3. Global variables only contain one value.
  4. Either A) have the EA draw them as objects. (See my Polyline code)
  5. Or B) have the indicator use the same DLL and get the same data.
Reason: