k:="kd.k";
d:="kd.d";
DRAWTEXT(K<D AND FILTER(crOSS(69,((SMA(MAX((CLOSE - REF(CLOSE,1)),0),8,1) / SMA(Abs((CLOSE - REF(CLOSE,1))),8,1)) * 100)),10),HIGH*1.02,'←简单勾顶');
DRAWICON(K<D AND FILTER(CROSS(69,((SMA(MAX((CLOSE - REF(CLOSE,1)),0),8,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),8,1)) * 100)),10),HIGH*1.02,1);