LC:=REF(C,1);
rsi12:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(Abs(CLOSE-LC),12,1)*100;
RSI50:=SMA(MAX(CLOSE-LC,0),50,1)/SMA(ABS(CLOSE-LC),50,1)*100;
MAX(RSI12,RSI50)/MIN(RSI12,RSI50)<1.01 AND RSI12<=REF(RSI12,1);
LC:=REF(C,1);
rsi12:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(Abs(CLOSE-LC),12,1)*100;
RSI50:=SMA(MAX(CLOSE-LC,0),50,1)/SMA(ABS(CLOSE-LC),50,1)*100;
MAX(RSI12,RSI50)/MIN(RSI12,RSI50)<1.01 AND RSI12<=REF(RSI12,1);