What is the code for Stochastic crossing level

 

Hi,

I did not find to code for Stochatic crossing levels.e.g.:

The BUY signal (Long):

1. Stochastic 120,3,3 moves/cross up or equal or above to Level(line) 85 - (this should be first signal for buying)
and
2. Stochastic 15,3,3 moves/cross below or equal or below to Level(Line) 40 -(this is the final buy signal for LONG trade)

Exit Long:

1. Stochastic 15,3,3 moves/cross up equal or above to Level(line) 95 - (this is the exilt signal for Long trade)

Could anybody help to find the correct code to create this idea?


Thanks in advanced.

Peter

Reason: