Indentufy cross of Stochastic and CCI in same data window

 
I have a Stochastic and CCI in the same data window.

The Stochastic axis from bottom to top of data window is 0 to 100. The CCI zero axis is in the middle of the data window and ranges positive above and negative below the axis.

My problem: I need to identify the crossing of the Stochastic with the CCI zero axis in an EA. I can visually see the cross but I need some MQL code to identify the cross. Can anyone provide sample code on how this can done or an opinion if it can be done?
 
SquareRoot:
I have a Stochastic and CCI in the same data window.

The Stochastic axis from bottom to top of data window is 0 to 100. The CCI zero axis is in the middle of the data window and ranges positive above and negative below the axis.

My problem: I need to identify the crossing of the Stochastic with the CCI zero axis in an EA. I can visually see the cross but I need some MQL code to identify the cross. Can anyone provide sample code on how this can done or an opinion if it can be done?

Can anyone confirm that it is possible to write code to do this?