LC := REF(CLOSE,1);
RSI$1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI$2:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;TYP := (IF(ISNULL(HIGH),CLOSE,HIGH) + IF(ISNULL(LOW),CLOSE,LOW) + CLOSE)/3;
RSI$3:SMA(MAX(CLOSE-LC,0),N3,1)/SMA(ABS(CLOSE-LC),N3,1)*100;
DRAWICON(CROSS(RSI$3,RSI$2),RSI$1,5);
DRAWICON(CROSS(RSI$3,RSI$1),RSI$3,7);
a:45;
d:63;
弱:50,COLORF00FF0;
分界:55,colorgreen;
强:60,colorwhite;
DRAWICON(CROSS(RSI$1,50),50.18,9);
DRAWICON(CROSS(60,RSI$1),63,2);
DRAWICON(CROSS(RSI$3,45),45.18,1);
DRAWICON(CROSS(65,RSI$3),65,2);