How to detect intersection of OBV, MFI y CCI indicators.

 

Hello all,

I'm trying to build an indicator that alerts me every time the indicators OBV, MFI y CCI intersect as shown in the image below in the blue squares:

The problem that I have is that indicator OBV always has different values when it touches the other two indicators, so I can't condition it to one specific value.

Has anybody had this problem? or does anyone know how to make it work?

Thanks in advance.

 
They never intersect at a bar, only between bars. Use standard cross code.
bool wasAbove = prevX < prevY;
bool isAbove  = currX < currY;
bool isCross  = wasAbove != isAbove;
 
I wonder how would one code of buying and selling doing these confirmation as image ?
Reason: