Require code for Stochastic Oscillator and Relative Strength Index for Intraday Trading

Require code for Stochastic Oscillator and Relative Strength Index for Intraday Trading

hElLO tRaDeR,

Simple script using Stochastic Oscillator and RSI

BUY SCRIPT:

CROSSOVER(SOPK(9, 3, 9, SIMPLE),SOPD(9, 3, 9, SIMPLE)) AND
(TREND(RSI(CLOSE,14),2) = UP) AND
RSI(CLOSE,14) > 20

SELL SCRIPT:

CROSSOVER(SOPD(9, 3, 9, SIMPLE),SOPK(9, 3, 9, SIMPLE)) AND
(TREND(RSI(CLOSE,14),2) = DOWN) AND
RSI(CLOSE,14) < 80

More codes for beginners:

https://zerodha.com/expert-advisors/