Help me in my strategy

I am getting error please help to create below code.

BUY if
price close above SMA14
price osc avb 0 line(Long cycle 14 and short cycle 7)
rsa 14 abv 50 level

CLOSE > SMA(CLOSE,14) and RSI(CLOSE, 14) > 50 and
Price OSC(CLOSE, 14,7) > 50

SALE if
price close below sma14
price osc blw 0 line (Long Cycle 14 and Short Cycle 7)
rsa 14 blw 50 level

CLOSE < SMA(CLOSE,14) and
RSI(CLOSE, 14) < 50 and
Price OSC(CLOSE, 14,7) < 50

In the above tradescript the "Price OSC(CLOSE, 14,7) " is undefined function, please verify the syntax or specify your condition, you can check the complete reference of tradescript in pi software from help menu