通达信云端准备+选股指标公式

通达信漂亮公主指标公式

通达信云端准备+选股指标公式:

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;

通达信底部金山指标公式