VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
机构资金量:=EMA(IF(LOW<=LLV(LOW,30),SMA(ABS(LOW-REF(LOW,1)),30,1)/SMA(MAX(LOW-REF(LOW,1),0),30,1),0),3)*10;
机构进场:IF(机构资金量>20,1,0),STICK,COLOR00FFFF,LINETHICK2;
VAR8:=MA(CLOSE,5);
VAR9:=MA(CLOSE,10);
VAR10:=MA(CLOSE,30);
VAR11:=MA(CLOSE,60);
DRAWTEXT_FIX(1,0,0.07,0,'九毛八公式指标www.9m8.cn'),COLORMAGENTA,LINETHICK4;
VAR12:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VAR13:=INTPART(VAR12*100)/100;
VAR14:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VAR15:=INTPART(VAR14*100)/100;
VAR16:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VAR17:=INTPART(VAR16*100)/100;
VAR18:=EMA(CLOSE,5)-EMA(CLOSE,10);
VAR19:=EMA(VAR18,9);
VAR20:=0-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR21:=0-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR22:=0-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR23:=0-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR24:=REF(VAR19,1);
VAR25:=VAR19;
VAR26:=VAR25-VAR24;
VAR27:=REF(VAR18,1);
VAR28:=VAR18;
VAR29:=VAR28-VAR27;
VAR30:=OPEN;
VAR31:=CLOSE;
游资进场:IF(VAR30<=VAR8 AND VAR30<=VAR9 AND VAR30<=VAR10 AND VAR31>=VAR8 AND VAR31>=VAR17 AND VAR26>0 AND VAR29>0,1,0),COLORFF00FF,LINETHICK2;