三线突破:MA(CLOSE,13)+Abs(MA(CLOSE,13)-REF(MA(CLOSE,13),1)),COLOR00FF00,LINETHICK1;
主力筹码:MA(CLOSE,13)+MA(CLOSE,13)-REF(MA(CLOSE,13),1),COLOR00FF00,LINETHICK1;
三线擒牛:IF(MA(CLOSE,13)< 主力筹码,主力筹码,MA(CLOSE,13)),COLOR00FF00,LINETHICK1;
小主力:三线擒牛-(MA(CLOSE,3)-三线擒牛),COLORFFFFFF,POINTDOT,LINETHICK0;
半年线:=MA(CLOSE,120),COLORFFFFFF;
大主力:半年线-(MA(CLOSE,3)-半年线),COLORFFFFFF,LINETHICK2;
IF(三线擒牛=主力筹码,三线擒牛,三线擒牛),COLORMAGENTA,LINETHICK2;
AA:(小主力>=REF(小主力,1),小主力),COLORMAGENTA,POINTDOT,LINETHICK1;
BB:(小主力< REF(小主力,1),小主力),COLORBLUE,POINTDOT,LINETHICK1;
DRAWTEXT(crOSS(三线擒牛,大主力),L-0.13,'★买') ,COLORYELLOW;
DRAWICON(CROSS(三线擒牛,大主力),L,9);
MA21:=MA(CLOSE,21),COLOR000000;
三线捉牛:MA(CLOSE,21),COLOR000000,LINETHICK0;
STICKLINE((MA21 > REF(MA21,1)),MA21,MA21,3,6),LINETHICK3,COLORFFFFFF;
STICKLINE(C>=三线捉牛 AND C>=O,C,O,2,0),COLORRED;
STICKLINE(C>=三线捉牛 AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=三线捉牛 AND C< O,C,O,2,1),COLORRED;
STICKLINE(C>=三线捉牛 AND C< O,O,H,0,0),COLORRED;
STICKLINE(C>=三线捉牛 AND C< O,C,L,0,0),COLORRED;
STICKLINE(C< 三线捉牛 AND C>O,C,O,2,1),COLORFFFF00;
STICKLINE(C< 三线捉牛 AND C<=O,C,O,2,1),COLORFFFF00;
STICKLINE(C< 三线捉牛 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C< 三线捉牛 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C< 三线捉牛 AND C>O,O,L,0,1),COLORFFFF00;
牛熊线:MA(C,60),CIRCLEDOT,COLORFFF000;
DRAWTEXT_FIX(1,0.60,0.75,0,' '),COLORYELLOW;