{牛股起爆副图源码如下}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
ABC1:=EMA(C,6)-EMA(C,12);
ABC2:=EMA(ABC1,5);
ABC3:=ABC1-ABC2;
ABC4:=DMA((H+L+C*2)/4,0.9);
ABC5:=VOL/((H-L)*2-ABS(C-O));
ABC6:=IF(C>O,ABC5*(H-L),IF(C<O,ABC5*(H-O+(C-L)),VOL/2))+IF(C>O,0-ABC5*(H-C+(O-L)),IF(C<O,0-ABC5*(H-L),0-VOL/2));
ABC7:=ABC6/20/1.15;
GUA1:=ABC7*0.55+REF(ABC7,1)*0.33+REF(ABC7,2)*0.22;
ABC8:=EMA(GUA1,3);
GUA2:=ABC8;
STICKLINE(GUA2>0 AND ABC3>0 ,ABC3/30,0,1,0),COLORRED;
STICKLINE(GUA2>0 AND ABC3<0,0,ABC3/30,1,0),COLORGREEN;
ABCG:=100-3*SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G1-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
ABD0:=100-3*SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1)+2*SMA(SMA((G3-LLV(G2,75))/(HHV(G4,75)-LLV(G2,75))*100,20,1),15,1);
ABD1:=ABCG<REF(ABD0,1) AND VOL>REF(VOL,1) AND G1>REF(G1,1);
STICKLINE(ABD1 AND COUNT(ABD1,30)=1,0,0.05,2,0),COLORFF00FF;
DRAWTEXT(ABD1 AND COUNT(ABD1,30)=1,0.045,' 机构抄底'),COLORFF00FF;
ABCH:=MA(100*(G1-LLV(G1,34))/(HHV(G4,34)-LLV(G2,34)),5)-20;
ABD2:=(G4+G2+G1)/3;
ABD3:=(ABD2-MA(ABD2,14))/(0.015*AVEDEV(ABD2,14));
ABD4:=(ABD2-MA(ABD2,70))/(0.015*AVEDEV(ABD2,70));
ABD5:=IF(ABD3>=150 AND ABD3<200 AND ABD4>=150 AND ABD4<200,10,0);
ABD6:=IF(ABD3<=-150 AND ABD3>-200 AND ABD4<=-150 AND ABD4>-200,-10,ABD5);
ABD7:=(G1-MA(G1,13))/MA(G1,13)*100;
ABD8:=100-ABS(ABD7);
ABD9:=IF(ABD8<90,ABD8,100);
ABD10:=IF(ABCH>0,ABCH,0);
ABD11:=IF(ABD4>=200 AND ABD3>=150,15,IF(ABD4<=-200 AND ABD3<=-150,-15,ABD6))+60;
ABD12:=ABD10>48 AND ABD11>60 AND ABD9<100;
STICKLINE(ABD12 AND COUNT(ABD12,30)=1,0,0.05,2,0),COLOR80FFFF;
DRAWTEXT(ABD12 AND COUNT(ABD12,30)=1,0.045,' 机构洗盘'),LINETHICK1,COLOR80FFFF;
{牛股起爆主图源码如下}
AA1:MA(CLOSE,5);
AA2:MA(CLOSE,10);
AA3:AA1+1.6*STD(CLOSE,11);
AA4:AA1-2*STD(CLOSE,8);
ABC1:=L<AA1 AND L<AA3;
ABC2:=H>AA3 AND H>AA1 AND C>AA1;
ABC3:=MA(LOW,20)*1.2;
ABC4:=MA(LOW,20)*1.1;
ABC5:=IF(BARSLAST(CLOSE>ABC4)<2 AND CLOSE>MA(CLOSE,3) AND BARSLAST(CLOSE=HHV(CLOSE,18))<4,(MA(CLOSE,5)-REF(MA(CLOSE,5),1))/REF(MA(CLOSE,5),1)*300,0),COLORYELLOW,LINETHICK1;
ABC6:=ABC1 AND ABC2 AND ABC5>0;
STICKLINE(ABC6,H,L,1,0),COLORRED;
DRAWTEXT(ABC6,L*0.9,'牛股起爆'),COLORRED;