how use this ind with EA .?

 

hi ..

i want use this ind in EA 


if bar red here just open sell

if bar green just open buy

i want know what last bar show red or green ?

thank you :)

Files:
_filter.ex4  10 kb
 

try that

double Red_bar = iCustom(NULL,0,"_FILTER", (put the extern 1 2 3),  2,1); 

I think this indicator repaint, chech it by putting it on an EA MACD sample

Reason: