MA5:MA(C,5),COLORYELLOW,LINETHICK1 DOTLINE;
多空线:EMA(C,34),COLORMAGENTA,LINETHICK2;
战略线:=MA(C,99),COLORMAGENTA,LINETHICK2;
LOWV:=LLV(LOW,9);
HIGHV:=HHV(HIGH,9);
RV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
KA:=EMA(RV,3);
QFR:=MA(KA,3);
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
ABC1:=DIFF>DEA;
好股网1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(好股网1,3,1);
D:=SMA(K,3,1);
ABC2:=K>D;
分享平台:=REF(CLOSE,1);
指标公式1:=(SMA(MAX(CLOSE-分享平台,0),5,1))/(SMA(ABS(CLOSE-分享平台),5,1))*100;
指标公式2:=(SMA(MAX(CLOSE-分享平台,0),13,1))/(SMA(ABS(CLOSE-分享平台),13,1))*100;
ABC3:=指标公式1>指标公式2;
好股网:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
平台1:=SMA(好股网,3,1);
平台2:=SMA(平台1,3,1);
ABC4:=平台1>平台2;
ABC5:=CLOSE>BBI;
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
ABC6:=MMS>MMM;
AA:=C>MA(C,20);
JG:=IF(ABC1 AND ABC2 AND ABC3 AND ABC4 AND ABC5 AND ABC6,6,0);
王牌:=BARSLASTCOUNT(JG=6)=1 AND CLOSE>OPEN AND AA COLORYELLOW;
DRAWICON(王牌,LOW,9);
DRAWTEXT(王牌,L*0.98,' ★王牌主力'),COLORYELLOW;
STICKLINE(王牌,OPEN,CLOSE,1,0),COLORYELLOW ;