M5:=ma(C,5);
MM:MA(C,10);
MM2:MA(C,10),COLOR80FFFF,LINETHICK2;
M25:=MA(C,250);
MM3:IF(MM2>REF(MM2,1),MM2,DRAWNULL),COLORLIMAGENTA,LINETHICK1;
搏杀持股线:IF(MM>REF(MM,1),MM,DRAWNULL),COLORWHITE,LINETHICK2;
MM55:IF(MM<REF(MM,1),MM,DRAWNULL),COLORCYAN,LINETHICK2;
A:=(C+O)/2;
Z:=C>REF(C,1)*1.05;
D:=C<REF(C,1)*0.95;
STICKLINE(Z,A,O,1,0),COLORLIMAGENTA;
STICKLINE(D,A,O,1,0),COLORFFFF00;
ZT:=C>REF(C,1)*1.08;
DT:=C<REF(C,1)*0.92;
STICKLINE(ZT,C,O,2,0),COLORWHITE;
STICKLINE(DT,C,O,2,0),COLORFFFF00;
ZTT:=C>REF(C,1)*1.093;
S:=(C+O)/2;
STICKLINE(ZTT,S,C,0.01,0),COLORBLUE;
YS1:=(HIGH+LOW+CLOSE*2)/4;
RK3:=ema(YS1,10);
RK4:=STD(YS1,10);
RK5:=(YS1-RK3)*100/RK4;
RK6:=EMA(RK5,5);
RK7:=EMA(RK6,10);
涨:=EMA(RK6,10)+100/2-5,COLORWHITE;
跌:=EMA(涨,4),COLORRED;
决杀线:MA(C,20),COLORFFFFFF;
VAR11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)
-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
黑马线O:=EMA(VAR11,5);
VAR12:=(黑马线O-REF(黑马线O,1))/REF(黑马线O,1)*100;
熊线:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
T1:=crOSS(黑马线O,熊线) AND 涨<150;
AA:= CLOSE=OPEN AND HIGH<>LOW OR CLOSE=OPEN AND HIGH/LOW>1.03 OR CLOSE=OPEN AND CLOSE=LOW AND CLOSE<>HIGH OR REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1) OR OPEN>CLOSE AND OPEN/REF(C,1)>= 1+4/100 AND CLOSE/OPEN<=1-5/100 OR Abs(HIGH-REF(HIGH,1))/HIGH<0.001
OR OPEN>=CLOSE AND ABS(HIGH-OPEN)>=ABS(OPEN-LOW) OR CLOSE>=OPEN AND ABS(HIGH-CLOSE)>=ABS(CLOSE-LOW) OR OPEN>REF(CLOSE,1) AND OPEN>CLOSE ;
BB:=CLOSE>=OPEN AND ABS(HIGH-OPEN)<=ABS(OPEN-LOW) OR CLOSE<=OPEN AND ABS(HIGH-CLOSE)<=ABS(CLOSE-LOW);
CC:=AA OR BB;
DD:=涨>REF(涨,1) AND C<>O AND C/REF(C,1)<1.099 ;
王五:=涨>170 AND CC AND DD AND COUNT(C/REF(C,1)>1.090 AND C<>O,20)<=4>=5;
麻子:=涨>170 AND COUNT(C/REF(C,1)>1.093,15)>=5 OR BArslASTCOUNT(C/REF(C,1)>=1.093)>=5 AND C<>O;
DRAWICON((HIGH-LLV(L,90))/LLV(L,90)*100>120 AND 黑马线O>=REF(黑马线O,1) AND 黑马线O>98 AND C/REF(C,1)<1.099 AND C<>O AND REF(C,1)<>REF(O,1),H+0.5,2);
DRAWICON(黑马线O>100 AND C<>O AND REF(C,1)<>REF(O,1),H+0.5,2);
DRAWICON(王五 OR 麻子 AND C>MA(C,5) AND C>MA(C,30) AND MA(C,5)>MA(C,10) AND C>MA(C,60) AND REF(C,1)/REF(C,2)<1.08 AND REF(C,1)>REF(O,1),H+0.5,2);
K3:= ABS(L-O)<ABS(O-C) AND C/REF(C,1)>1.093 AND REF(C,1)/REF(C,2)<1.093 AND REF(C,2)/REF(C,3)<1.093 AND REF(C,3)/REF(C,4)<1.093 AND REF(C,4)/REF(C,5)<1.093 AND REF(C,5)/REF(C,6)<1.093 AND NOT(C=O AND C/REF(C,1)>1.099) ;
K4:=C/REF(C,1)>1.093 AND V<REF(V,1) AND REF(C,1)/REF(C,2)<1.093 AND COUNT(C/REF(C,1)>1.093,20)<3;
咒语1:=王五 OR 麻子 AND C>MA(C,5) AND C>MA(C,30) AND MA(C,5)>MA(C,10) AND C>MA(C,60) AND REF(C,1)/REF(C,2)<1.08 AND C/REF(C,1)>C/REF(O,1);
咒语2:=(HIGH-LLV(L,90))/LLV(L,90)*100>120 AND 黑马线O>=REF(黑马线O,1) AND 黑马线O>95 AND C/REF(C,1)<1.099;
咒语3:=黑马线O>100 AND C<>O AND C/REF(C,1)<>C/REF(O,1);
咒死你:=咒语1 OR 咒语2 OR 咒语3 ;
指标线:=K3 OR K4 AND COUNT(C/REF(C,1)>1.05,10)<=4 AND SUM(咒死你,12)<1;
DRAWICON(K3 OR K4 AND COUNT(C/REF(C,1)>1.05,10)<=4 AND SUM(咒死你,12)<1 AND SUM(指标线,20)<2 ,O,23);
DRAWTEXT(K3 OR K4 AND COUNT(C/REF(C,1)>1.05,10)<=4 AND SUM(咒死你,12)<1 AND SUM(指标线,20)<2 ,L-0.05,'妖气'),COLORFF00FF;
STICKLINE(K3 OR K4 AND COUNT(C/REF(C,1)>1.05,10)<=4 AND SUM(咒死你,12)<1 AND SUM(指标线,20)<2 ,S,C,0.005,0),COLORFFFFFF;
DRAWTEXT_FIX(1,0.50,5,0,'股林绝技-原创指标'),COLOR00FFFF;