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?
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?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?