iStochastic direction

 
how can I check if Stochastic direction, if it goes down or up?
 
GoodPointMas:
how can I check if Stochastic direction, if it goes down or up?

Check the values at set intervals, maybe per closed bar

If the value is higher than the previous value, it is going up,

if lower, it is going down. 

Reason: