通达信云端准备+选股指标公式
2020/6/13 18:49:45
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);
}
投股票 网 www.tou18. cn
股市公式下载推荐