N1:=5;N2:=8;
LC:=REF(CLOSE,1);
rsi1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
STICKLINE(crOSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1<50),0,20,4,0 ),COLOR000099;
STICKLINE(CROSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1<50),0,20,3,0 ),COLOR0000BB;
STICKLINE(CROSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1<50),0,20,1.5,0 ),COLOR0000DD;
STICKLINE(CROSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1<50),0,20,0.3,0 ),COLOR0000FF;
DRAWTEXT(CROSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1<50),18,’准’),COLORYELLOW;
DRAWTEXT(CROSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1<50),14,’备’),COLORYELLOW;

{
选股公式:

N1:=5;N2:=8;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;
云端准备:CROSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1<50);
}

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。