Kindly provide code for when PSAR crosses over BB Top band or BB bottom band. i.e opens outside of the BB band.
For the above given condition
Buy script
CROSSOVER(BBT(CLOSE, 20, 2, EXPONENTIAL),PSAR(CLOSE,0.02, 0.2)) = TRUE
Sell script:
CROSSOVER(PSAR(CLOSE,0.02, 0.2), BBB(CLOSE, 20, 2, EXPONENTIAL)) = TRUE