Thank you, MiniMe!
exactly!
just a little detail - how to to make filter bar (indicator) itself ??
I'm trying to make it as arrows bar or strait colored line to just drop it in any oscillator window, but
... it just NO GO today...
DIN_KusKus_EA:
//----------------------------------
bool CheckDamianiFilter()
{
double DamianiGreen, DamianiGray;
DamianiGray = iCustom(NULL, Signal_TimeFrame, "Damiani_volatmeter", Viscosity, Sedimentation, Threshold_level,lag_supressor, 0, SignalCandle);
DamianiGreen = iCustom(NULL, Signal_TimeFrame, "Damiani_volatmeter", Viscosity, Sedimentation, Threshold_level,lag_supressor, 2, SignalCandle);
if (DamianiGreen > DamianiGray)
{
return (true);
}
return(false);
}