title: Stochastic pine script stratygy
body: <p>Hi all hope ur doing well,</p>
  <p>I’m trying to code a strategy that go long when k is in the overbought area and crossed d and the opposite for shorting</p>
  <p>But I’m new to this and I don’t now how to write the long entry if the cross happen in the overbought area.</p>
  <p>Thanks all,</p>