VAR1:=EMA(WINNER(CLOSE)*70,3);
VAR2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
VAR3:=VAR2/(VAR1+VAR2)*100;
VAR4:=VAR1/(VAR1+VAR2)*100;
VAR5:=MA(VAR1+VAR2,13);
VAR6:=BARSLAST(VAR3<90 AND REF(VAR3,1)>90);
VAR7:=EMA(VAR3,89);
VAR8:=EMA(VAR4,89);
VAR9:=INTPART(VAR4-VAR8);
VAR10:=EMA(VAR3,8);
VAR11:=IF(VAR4-REF(VAR4,1)>VAR3-REF(VAR3,1),1,0);
STICKLINE(VAR7>REF(VAR7,1),VAR3,VAR7,2,0),COLORGREEN;
STICKLINE(VAR8>REF(VAR8,1),VAR4,VAR8,2,0),COLORRED;
实心红柱:VAR8>REF(VAR8,1)>0,COLORRED;
散筹因子:INTPART(VAR3),COLORCYAN;
主筹因子:INTPART(VAR4),COLORWHITE;
0,DOTLINE,COLORGRAY;
20,DOTLINE,COLORGRAY;
50,DOTLINE,COLORGRAY;
100,DOTLINE,COLORGRAY;
VAR12:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR13:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
VAR14:=SMA(VAR12,3,1);
VAR15:=SMA(VAR14,3,1);
VAR16:=SMA(VAR13,8,1);
中期波段:SMA(VAR16,3,1),COLORWHITE,LINETHICK0;
VAR17:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1);
VAR18:=SMA(VAR17,3,1);
VAR19:=3*VAR17-2*VAR18;
VAR20:=EMA(VAR19,3);
{股票指标网 }
VAR21:=(VAR20-REF(VAR20,1))/REF(VAR20,1)*100;
准备资金:IF(VAR20<13,1,0),COLORCYAN,LINETHICK0;
开始建仓:IF(VAR20<13 AND VAR21>13,1,0),COLORYELLOW,LINETHICK0;
VAR22:=(CLOSE*2+HIGH+LOW)/4*10;
VAR23:=EMA(VAR22,13);
VAR24:=EMA(VAR22,34);
VAR25:=VAR23-VAR24;
VAR26:=EMA(VAR25,5);
VAR27:=2*(VAR25-VAR26)*5.5;
{股票指标网 }
主力进场:IF(VAR27>=0 AND VAR20<13,1,0),COLORMAGENTA,LINETHICK0;
VAR28:=IF(REF(中期波段,1)<REF(中期波段,2) AND 中期波段>REF(中期波段,1),1,0);
先机共振抄底:IF(开始建仓=1 AND 主力进场=1 AND 中期波段>REF(中期波段,1),1,0),COLORRED,LINETHICK0;
短线波段:IF(VAR28=1 AND VAR14>=VAR15 OR (REF(VAR14,1)<REF(VAR15,1) AND VAR14>=VAR15 AND 中期波段>REF(中期波段,1)),1,0),COLOR0080EF,LINETHICK0;
STICKLINE(VAR14>=VAR15,VAR15,REF(VAR15,1),3,0),COLOR0080EF;
STICKLINE(VAR14<VAR15,VAR15,REF(VAR15,1),3,0),COLORFF6600;
DRAWICON(先机共振抄底=1,REF(VAR15,1),1);
DRAWICON(短线波段=1 AND 先机共振抄底=0,REF(VAR15,1),7);
SMA(VAR16,3,1),COLORGREEN,LINETHICK3;
IF(中期波段>REF(中期波段,1),中期波段,DRAWNULL),COLORRED,LINETHICK3;
STICKLINE(准备资金=1,3,(-2),5,0),COLORCYAN;
STICKLINE(开始建仓=1,10,(-2),5,0),COLORYELLOW;
STICKLINE(主力进场=1 AND 开始建仓=1,6,(-2),5,0),COLORMAGENTA;