变盘:STICKLINE(CLOSE=CMAX AND B1=CMIN,B2,CLOSE,4,1),COLORFF00FF;
DRAWTEXT(变盘,(HIGH * 1.01),'变'),COLORYELLOW;
买入:STICKLINE(B1=CMAX AND CLOSE=CMIN,B2,CLOSE,7,0),COLORGREEN;
STICKLINE(B1=CMIN AND CLOSE =B2 OR (B2=CMIN AND B1 =B3 OR B3=CMIN AND B1 =B2) AND B2 B4 AND CLOSE =B1,B1,B2,7,0),COLORRED;
S2:=SMA(C,3,1);
S6:=SMA(C,5,1);
DK:=2*(S2-S6);
LC := REF(CLOSE,1);
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLOR9900FF;
{九毛八股票公式指标网 全网优质指标下载平台www.9m8.cn}
DRAWTEXT(CROSS(RSI1,80),(HIGH * 1.1),'卖'),COLORYELLOW;
DRAWICON(CROSS(RSI1,80),(HIGH)*(1.02),2);
低位金叉:=CROSS(RSI1,50) AND( DK REF(DK,3));
DRAWTEXT(低位金叉,L-1.04,' 买'),COLORYELLOW;
DRAWICON(CROSS(RSI1,50),L-0.58,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶'),COLOR1880FF;