月价托:=MA5 MA20 AND MA5 MA10 AND CROSS(MA10,MA20);
季价托:=MA20 MA60 AND MA20 MA40 AND CROSS(MA40,MA60);
短、长价托:=MA5 MA60 AND MA5 MA10 AND CROSS(MA10,MA60);
DRAWTEXT(月价托,L,'月价托'),COLORYELLOW;
STICKLINE(月价托,L,H,0.5,1), COLORYELLOW;
STICKLINE(月价托,O,C,5,1),LINETHICK3, COLORYELLOW;
DRAWTEXT(季价托,L,'季价托'),COLORF00FF0;
STICKLINE(季价托,L,H,0.5,1), COLORF00FF0;
STICKLINE(季价托,O,C,5,1),LINETHICK3, COLORF00FF0;
DRAWTEXT(短、长价托,L,'短、长价托'),COLOR36C0C1;
STICKLINE(短、长价托,L,H,0.5,1), COLOR36C0C1;
STICKLINE(短、长价托,O,C,5,0),LINETHICK3, COLOR36C0C1;
VOL1:=MA(VOL,5);
VOL2:=MA(VOL,10);
VOL3:=MA(VOL,20) ;
量托:=VOL1 =VOL3 AND CROSS(VOL2,VOL3) AND REF(VOL2,1) REF(VOL3,1);
DRAWTEXT(量托,L,'▲'),COLORWHITE;
DRAWTEXT(量托,L*0.97,'量托'),COLORWHITE;
STICKLINE(量托,L,H,0.5,1), COLORWHITE;
STICKLINE(量托,O,C,5,1),LINETHICK3, COLORWHITE;
STICKLINE(CLOSE OPEN AND REF(CLOSE,1) REF(OPEN,1),REF(CLOSE,1),REF(CLOSE,1),20,0),COLORFFFFFF;
MTM1:=C-REF(C,1);
DBX:=100*EMA(EMA(MTM1,6),6)/EMA(EMA(ABS(MTM1),6),6);
买DD:=IF(LLV(DBX,2)=LLV(DBX,7) AND COUNT(DBX 0,2) AND CROSS(DBX,MA(DBX,2)),1,0);
买AA:=FILTER(买DD=1,5);
DRAWTEXT(买AA,H*1.04,'★买入选股'),COLORYELLOW;
卖DD:=IF(HHV(DBX,2)=HHV(DBX,7) AND COUNT(DBX 50,2) AND CROSS(MA(DBX,2),DBX),1,0);
卖AA:=FILTER(卖DD=1,1);
DRAWTEXT(卖AA,L*0.95,'★卖出选股'),COLORGREEN;
HL10:=WINNER(C/1.1)*100;
HL20:=WINNER(C/1.2)*100;
HL30:=WINNER(C/1.3)*100;
TL10:=(1-WINNER(C/0.9))*100;
GGG:=HL10 10 AND HL10 REF(HL10,1) AND HL10 REF(HL10,2)*2 AND TL10=0 AND VOL REF(VOL,1)*1.5;
DRAWTEXT(GGG,L*0.93,'★筹码'),COLORMAGENTA;