DK:=MA(((SLOPE(C,20)*5)+C),20);
STICKLINE(DK =C AND CLOSE =OPEN,HIGH,LOW,0.1,1),COLORRED;
STICKLINE(DK =C AND CLOSE =OPEN,CLOSE,OPEN,8,1),COLORRED;
STICKLINE(DK =C AND CLOSE OPEN,HIGH,LOW,0.1,0),COLORRED;
STICKLINE(DK =C AND CLOSE OPEN,CLOSE,OPEN,8,0),COLORRED;
STICKLINE(DK C AND CLOSE =OPEN,HIGH,LOW,0.1,1),COLORGREEN;
STICKLINE(DK C AND CLOSE =OPEN,CLOSE,OPEN,8,1),COLORGREEN;
STICKLINE(DK C AND CLOSE OPEN,HIGH,LOW,0.1,0),COLORGREEN;
STICKLINE(DK C AND CLOSE OPEN,CLOSE,OPEN,8,0),COLORGREEN;
{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
DRAWTEXT(CROSS(C,DK),LOW*0.99,'B'),COLORMAGENTA;
DRAWTEXT(CROSS(DK,C),H*1.01,'S'),COLORYELLOW;