{猛虎成妖主图源码如下}
DRAWGBK(C>0,RGB(0,150,150),RGB(0,00,100),0,' ',0),LINETHICK2;
高1:=REF(HHV(H,120),3);
低1:=REF(LLV(L,120),3);
H1:=高1-(高1-低1)*0.191;
H2:=高1-(高1-低1)*0.382;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.618;
H5:=高1-(高1-低1)*0.809;
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
STICKLINE(A1X>=0,基准,突破,5,0),COLOR000099;
STICKLINE(A1X<0,基准,突破,5,0),COLOR00CC66;
AA:=CROSS(A1X,0),LINETHICK0;
STICKLINE(A1X>=0,C,O,2.7,0),COLOR0011FF;
STICKLINE(A1X>=0,C,O,1.8,0),COLOR0044FF;
STICKLINE(A1X>=0,C,O,0.9,0),COLOR0077FF;
STICKLINE(A1X>=0,C,O,0.1,0),COLOR0099FF;
STICKLINE(A1X>=0,H,L,0,0),COLOR0099FF;
STICKLINE(AA,C,O,2.7,0),COLOR330033;
STICKLINE(AA,C,O,1.8,0),COLOR770077;
STICKLINE(AA,C,O,0.9,0),COLORBB00BB;
STICKLINE(AA,C,O,0.1,0),COLORFF00FF;
STICKLINE(AA,H,L,0,0),COLORFF00FF;
DRAWICON(AA,C*0.92,9);
DRAWTEXT(AA,C*0.98,'猛虎'),COLORRED;
BB:=CROSS(0,A1X),LINETHICK0;
STICKLINE(A1X<0,C,O,2.7,0),COLORAAAAAA;
STICKLINE(A1X<0,C,O,1.8,0),COLORCCCCCC;
STICKLINE(A1X<0,C,O,0.9,0),COLORDDDDDD;
STICKLINE(A1X<0,C,O,0.1,0),COLORFFFFFF;
STICKLINE(A1X<0,H,L,0,0),COLORFFFFFF;
STICKLINE(BB,C,O,2.7,0),COLOR333300;
STICKLINE(BB,C,O,1.8,0),COLOR555500;
STICKLINE(BB,C,O,0.9,0),COLOR777700;
STICKLINE(BB,C,O,0.1,0),COLOR999900;
STICKLINE(BB,H,L,0,0),COLOR999900;
DRAWICON(BB,C*1.05,15);
DRAWTEXT(BB,C*1.01,'熊来'),COLOR00FF00;
{貔貅喷射副图源码如下}
DRAWGBK(CLOSE>0,RGB(0,108,108),RGB(88,0,0),0,5,0);
A1:=BARSLAST(C/REF(C,1)>1.095 AND C=H);
A2:=IF(REF(L,A1)>REF(H,A1+1),REF(C,A1+1),REF(O,A1));
A3:=BETWEEN(A1,2,13);
A4:=C>EMA(C,12)AND HHV(H,10)/LLV(L,10)<1.4;
A5:=COUNT((C/O-1)*100<-7,13)=0;
A6:=MA.MA1#WEEK>MA.MA2#WEEK;
A7:=MA(C,5)>=A2 AND C>A2 AND C>=MA(C,5) AND REF(C,1)<=REF(MA(C,5),1) AND LLV(L,A1)<A2*1.045;
A8:=IF(CODELIKE('300'),0,1)AND IF(CODELIKE('688'),0,1);
A9:=CAPITAL/1000000<10 AND C>3 AND C<60;
A10:=EXIST(CROSS(MACD.DIF,MACD.DEA),15)AND MACD.DIF>MACD.DEA;
貔貅:REF(A3,1) AND A4 AND A5 AND A6 AND A7 AND A8 AND A9 AND A10,COLORYELLOW,LINETHICK2;
{猛虎貔貅副图源码如下}
STICKLINE(MA(C,10)>=REF(MA(C,10),1),10.5,2.5,4,0),COLOR330066;
STICKLINE(MA(C,10)<=REF(MA(C,10),1),10.5,2.5,4,0),COLOR663300;
黄柱超跌:IF(1=1,DRAWNULL,DRAWNULL),COLOR00FFFF;
猛虎貔貅:IF(1=1,DRAWNULL,DRAWNULL),COLORFFFFFF;
JJ:=(2*C+H+L+O)/5;
STICKLINE(JJ>EMA(JJ,10),4,5.5,1,0),COLOR3320FF;
STICKLINE(JJ<EMA(JJ,10),4,5.5,1,0),COLORFF7700;
LC:=REF(C,1);
XX:=REF(LLV(LC,2),1);
ET2:=HHV(HHV(LC,2),20);
YY:=IF(MA(C,3)>MA(C,21),MA(C,21),MA(C,3));
STICKLINE(MA(C,8)<REF(MA(C,8),1),5.5,4.8,1,1),COLOR00FF00;
STICKLINE(YY>REF(YY,1) AND YY=MA(C,21),5.5,4.8,1,1),COLORFF00FF;
VAR1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100;
VAR3:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
VAR6:=VAR3-VAR1;
趋势线:=EMA((C-LLV(L,11))/(HHV(H,25)-LLV(L,11))*4,8)*10;
DRAWICON(HHV(趋势线,5)>34 AND (C=HHV(C,10) OR H=HHV(H,10)),3.5,2);
DRAWICON(LLV(趋势线,5)<3 AND (C=LLV(C,10) OR L=LLV(L,10)),3.5,9);
STICKLINE(LLV(MA(VAR6,5),5)<-45 AND (C=LLV(C,10) OR L=LLV(L,10)),3.8,5,1,0),COLOR00FFFF;
貔貅:STICKLINE(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.5,6.5,1,0),,COLORFFFFFF;
STICKLINE(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),8.9,8.85,4,0),,COLORFFFF00;
IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.4,DRAWNULL),CROSSDOT,COLORCC3333,LINETHICK2;
IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9.2,DRAWNULL),CROSSDOT,COLORCC3333,LINETHICK2;
IF(HHV(MA(VAR6,5),5)>44 AND (C=HHV(C,10) OR H=HHV(H,10)),9,DRAWNULL),CROSSDOT,COLORCC3333,LINETHICK2;