Which command in indicator for expert

 

Hi,

My indicator shows 'Alerts', and wihthin that a/the target price,how can i use it for making my expert advisor? It  can't be done by simple use  extern int dUseAlert or dUseTargetprice, so what's the trick in here? Should i use 'bool', or maybe  some command in the indicator itself, buffer or something like that?....


EJ