ABV:=MA(SUM(IF(CLOSE REF(CLOSE,1),VOL,IF(CLOSE REF(CLOSE,1),-VOL,0)),0)/25000,2);
M1:=EMA(ABV,12);
M2:=EMA(ABV,26);
MTM:=CLOSE-REF(CLOSE,1);
MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));
MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));
MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));
MMA:=C-REF(C,1);
MMB:=100*EMA(EMA(MMA,9),9)/EMA(EMA(ABS(MMA),9),9);
MMC:=MA(MMB,5);
V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);
V2:=REF(V1,1);
V3:=MAX(V1-V2,0);
V4:=ABS(V1-V2);
V5:=SMA(V3,10,1);
V6:=SMA(V4,10,1);
V8:=COUNT(((V5)/(V6) 0.2),5);
V9:=COUNT((LLV(V1,10)=V1),10);
庄进:IF((MMS REF(MMS,1) AND MMB REF(MMB,1) AND CROSS(ABV,M2) AND ABV REF
(ABV,1) AND M1 REF(M1,1) AND M2 REF(M2,1)),65,0),COLORWHITE,POINTDOT;
主进主轨:=ABV M2 AND CROSS(ABV,M1) AND CROSS(MMB,MMC);
STICKLINE(庄进 OR 主进主轨,65,0,4,1),COLORWHITE;
精准买卖:=V8 =1 AND V9 =1 AND CLOSE OPEN AND REF(CLOSE,1) REF(OPEN,1) AND
(VOL REF(VOL,1)) AND MMS MML AND CROSS(ABV,M2);
短线买点:=V8 =1 AND V9 =1 AND CLOSE OPEN AND REF(CLOSE,1) REF(OPEN,1) AND
(VOL REF(VOL,1)) AND CROSS(MMS,MML) AND ABV REF(ABV,1);
中线买点:=V8 =1 AND V9 =1 AND CLOSE OPEN AND REF(CLOSE,1) REF(OPEN,1) AND
(VOL REF(VOL,1)) AND ABV REF(ABV,1) AND MMS MML AND CROSS(MMM,MML)
AND MMS REF(MMS,1) AND MMM REF(MMM,1) AND MML REF(MML,1);
主进主买:=ABV M2 AND MMB MMC AND CROSS(MMS,MML) AND MMS REF(MMS,1) AND
MMM REF(MMM,1) AND MML REF(MML,1);
短中精:=精准买卖 OR 短线买点 OR 中线买点 OR 主进主买;
如意:IF(短中精,60,0),COLORFF00FF,POINTDOT;STICKLINE(如意,60,0,4,1),COLORFF00FF;
庄增:IF(ABV M2 AND MMS MML AND CROSS(MMB,MMC) AND MMB REF(MMB,1) AND MMC REF(MMC,1),55,0),COLORFFCC66,POINTDOT;
STICKLINE(庄增,55,0,4,1),COLORFFCC66;
VAR1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);
VAR2:=SMA(VAR1,3,1);
波:=SMA(VAR2,3,1);
段:=SMA(波,3,1);
VAR9:=CROSS(段,波) AND 波
AA:=LLV(LOW,36);BB:=HHV(HIGH,30);
风险:80,COLOR00FF00;
天险:89,COLORFF00FF;
太空:100,COLORFFCC66;
王:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
散户:=EMA( (CLOSE-MA(CLOSE,8))/MA(CLOSE,8),7);
金箍:IF(CROSS(散户,0),王,0),COLORYELLOW,POINTDOT;
STICKLINE(金箍,40,0,4,1),COLORYELLOW;
QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
QVAR1C:=SMA(QVAR1B,13,8);
QVAR1D:=SMA(QVAR1A,21,8);
生意上门:=SMA(QVAR1C,13,8);
AAS:=FILTER((COUNT((生意上门-QVAR1D (-65)),3)=3),34);
庄亏:IF(AAS,60,0),COLORRED,STICK,LINETHICK4;
买卖顺意:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/
(HHV(HIGH,34)-LLV(LOW,34))+100,5);
走势:(生意上门+买卖顺意)/2,COLORCCFFFF;
趋势:(王+波+段)/3,COLOR0099FF;
STICKLINE(VAR1 20 AND VAR1 80,VAR1,VAR1,10,1),COLORRED;
STICKLINE(VAR1 REF(VAR1,1),VAR1,VAR1,10,1),COLORFFCC66;
STICKLINE(VAR1 80,VAR1,VAR1,8,1),COLOR0099FF;