尊:=SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
守:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
买入条件:=CROSS(尊,守) ;
卖出条件:=CROSS(守,尊) ;
换手:=VOL/SHGZG*100;
买入:IF(CROSS(尊,守) ,'1','');
潜力:IF(买入条件 AND 换手>8 ,'1',' ');
DRAWTEXT(买入条件 AND 换手>8,LOW/1.16,'↖★潜力'),colorblue;
DRAWTEXT(买入条件 ,LOW/1.03,'↖☆买'),coloryellow;
DRAWTEXT(卖出条件 ,HIGH*1.03,'↙★卖'),colorwhite;
STICKLINE(尊>守,CLOSE,OPEN,8,0),coloryellow,LINETHICK2;
//STICKLINE(尊>守,CLOSE,OPEN,10.8,0),colorblue;
//STICKLINE(尊>守 ,OPEN,CLOSE,8,0),colorFFBB11;
//STICKLINE(尊>守 ,OPEN,CLOSE,7,0),colorFFCC22;
//STICKLINE(尊>守 ,OPEN,CLOSE,5,0),colorFFDD33;
//STICKLINE(尊>女 ,OPEN,CLOSE,3,0),colorFFEE44;
//STICKLINE(尊>女 ,OPEN,CLOSE,1,0),colorFFFF55;
//STICKLINE(尊>女 ,OPEN,CLOSE,10,0),color338FDD;
//STICKLINE(尊>女 ,OPEN,CLOSE,8,0),colorFF00FF;
//STICKLINE(尊>女 ,OPEN,CLOSE,1,0),color00DDFF;
//STICKLINE(尊>女 ,OPEN,CLOSE,8,0),color00AAFF;
STICKLINE(尊<守,CLOSE,OPEN,8,0),colorblue;
//STICKLINE(尊<守,CLOSE,OPEN,6,0),COLOR555500;
//STICKLINE(尊<守,CLOSE,OPEN,5,0),COLOR888800;
//STICKLINE(尊<守,CLOSE,OPEN,4,0),COLORAAAA00;
//STICKLINE(尊<守,CLOSE,OPEN,3,0),COLORCCCC00;
//STICKLINE(尊<守,CLOSE,OPEN,2,0),COLOREEEE00;
//STICKLINE(尊<守,CLOSE,OPEN,1,0),COLORFFFF00;
//STICKLINE(尊>守 ,OPEN,CLOSE,6.6,0),color00BBFF;
//STICKLINE(尊>守 ,OPEN,CLOSE,4.4,0),color00CCFF;
//STICKLINE(尊>守 ,OPEN,CLOSE,3.3,0),color00DDFF;
//STICKLINE(尊>守 ,OPEN,CLOSE,2.2,0),color00EEFF;
//STICKLINE(尊>守 ,OPEN,CLOSE,1,0),color00FFFF;