{主筹副图}
主筹:EMA(WINNER(CLOSE) * 70,3),LINETHICK2,COLORRED;
散筹:EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),COLORFF6600;
VAR0:=EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3) - EMA(WINNER(CLOSE) * 70,3);
锁定:EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),LINETHICK2,COLORSTICK;
SUM(EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3) > 0,30),COLORGREEN;
VAR1:=EMA(IF(LOW <= LLV(LOW,99),SMA(ABS(LOW - REF(LOW,1)),99,1)/SMA(MAX(LOW - REF(LOW,1),0),99,1),0) * 5,3);
启动:CROSS(EMA(WINNER(CLOSE) * 70,3),VAR0),COLORWHITE;
牛股:CROSS(EMA(WINNER(CLOSE) * 70,3),EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3)),COLORYELLOW;
VAR2:=MA(CLOSE,30) > REF(MA(CLOSE,30),1);
VAR3:=ABS(EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3)) <= 20 AND EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3) > REF(EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),1) AND VAR2;
IF(VAR3,1,0),COLORGREEN;
VAR4:=BARSLAST(VAR3);
VAR5:=(CLOSE/REF(CLOSE,1) - 1) * 100 >= 2.5 AND VAR4 <= 7 AND EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3) > REF(EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),1);
买点:IF(VAR5 AND VAR2 AND COUNT(VAR5,3)=1,30,0),LINETHICK2,COLORWHITE;
VAR6:=EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3) > 0 AND EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3) > REF(EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),1) AND REF(EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),1) < REF(EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),2);
IF(VAR6,1,0),COLORGREEN;
优选:IF(IF(VAR5 AND VAR2 AND COUNT(VAR5,3)=1,30,0) AND EMA(WINNER(CLOSE) * 70,3) > 50 AND EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3) > 0,50,0),LINETHICK2,COLORYELLOW;
STICKLINE(VAR1 > 0,0,VAR1,4,0),COLORYELLOW;
STICKLINE(CROSS(EMA(WINNER(CLOSE) * 70,3),VAR0),0,VAR0,4,0),COLORWHITE;
STICKLINE(CROSS(EMA(WINNER(CLOSE) * 70,3),EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3)),0,EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),4,0),COLORYELLOW;
STICKLINE(VAR3,5,-5,4,1),COLORGREEN;
DRAWTEXT(CROSS(EMA(WINNER(CLOSE) * 70,3),VAR0),EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3),'启动'),COLORMAGENTA;
DRAWICON(CROSS(EMA(WINNER(CLOSE) * 70,3),EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3)),EMA(WINNER(CLOSE) * 70,3),1);
DRAWTEXT(IF(VAR5 AND VAR2 AND COUNT(VAR5,3)=1,30,0),-5,'买●点'),COLORWHITE;
DRAWICON(IF(IF(VAR5 AND VAR2 AND COUNT(VAR5,3)=1,30,0) AND EMA(WINNER(CLOSE) * 70,3) > 50 AND EMA(WINNER(CLOSE) * 70,3) - EMA((WINNER(CLOSE * 1.1) - WINNER(CLOSE * 0.9)) * 70,3) > 0,50,0),-5,1);
DRAWTEXT(VAR6,50,'↑'),COLORGREEN;
50,POINTDOT,COLORMAGENTA;
30,POINTDOT,COLORGREEN;