Detet sharop turn in the Stochastic or RSI

 

I want to know if its possible via MQL  to detect when the Stochastic Oscillator or RSI makes a sharp turn  that makes a point edge.Please see image for what i am describing


Sharp point

Reason: