This is the standard approach for stochastic. If you look at the stochastic formula this indicator is showing where the close price is in relation to the recent high and low price. so if the price is closer to the highs then the stochastic value is above 50. It is possible to plot the 50% level on the price chart itself - as well as the 20/80 levels.
It is possible to use stochastic as a trend indicator knowing this information.
The chart below shows the 50% stochastic level (my adaptation) plotted on a monthly chart, as well as the 0% and 100% levels. The price can basically be used as the indicator.
The code for this is on my blog.