def SMA = Average(close, 15);
plot condition = close[2] > SMA[2] and close[1] < SMA[1] and close < SMA;
Volume

Disclaimer