Kkiteob

MA cross strategy

SMA(close, length) with consecutive-bar confirmation on Kite historical data; optional live LTP via Kite WebSocket (server stream). Connect Kite on the home page first (or set a server access token).

SMA uses the last 9 closes (same as Pine ta.sma(close, length)). Long/short fire after 1 consecutive closes above/below that MA.