Code for stochastic + psar combo?

can you give me code when both stochastic oscillator & parabolic SAR give buy & sell signal , exactly same as PI standard settings ?

thank you

As per the above condition

Buy Script:

PSAR(CLOSE,0.02, 0.2) AND SOPK(9, 3, 9, SIMPLE) > 80 OR SOPD(9, 3, 9, SIMPLE) > 80

Sell Script

PSAR(CLOSE,0.02, 0.2) AND SOPK(9, 3, 9, SIMPLE) < 20 OR SOPD(9, 3, 9, SIMPLE) < 20
1 Like