Average of Stochastic indicator in MQL4

 

Hello forum, good day.

What would best way to check for the average of %K and %D of the Stochastic indicator in MQL4? I need to evaluate if (%K + %D) / 2 >= n.

Best regards and thank you in advance,

codeMolecules 

 
codeMolecules:

Hello forum, good day.

What would best way to check for the average of %K and %D of the Stochastic indicator in MQL4? I need to evaluate if (%K + %D) / 2 >= n.

Best regards and thank you in advance,

codeMolecules 

What have you tried ?
Reason: