Global Variables from custom indicator in EA

 
Hi, I want to use custom indicator values for an expert advisor, I've tested and know how to get the values in a simple chart with two indicators, but what should I use for the EA?
I mean, should i use Visual Mode and drop there the indicator that set the global variables? or whot?
 
trogster:
Hi, I want to use custom indicator values for an expert advisor, I've tested and know how to get the values in a simple chart with two indicators, but what should I use for the EA?
I mean, should i use Visual Mode and drop there the indicator that set the global variables? or whot?

if you want to use values from indicators in your EA Script, then you normaly must import the values with function iCustom() or you write the code directly in the EA.
 
Thnks i will look into it later.
Reason: