Please write code for given strategy

buy CCI(close14) -250 and RSI(close14) below 40

sell CCI(close14) +250 and RSI(close14) above 60

As per the above condition

Buy Script:

CCI(12, SIMPLE) < -250 AND RSI(CLOSE,14)<40

Sell Script:

CCI(12, SIMPLE) > 250 AND RSI(CLOSE,14)>60