VAR1:=(HIGH+LOW+CLOSE*2)/4;
VAR2:=STD(VAR1,10);
VAR3:=(VAR1-EMA(VAR1,10))*100/VAR2;
VAR4:=EMA(VAR3,5);
VAR5:=SUMBARS(VOL,FINANCE(7)*100);
VAR6:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VAR7:=(CLOSE-VAR6)/VAR6*100;
VAR8:=HHV(VAR7,VAR5);
VAR9:=LLV(VAR7,VAR5);
VAR10:=(VAR7-VAR9)/(VAR8-VAR9)*100;
VAR11:=SMA(VAR10,3,1);
VAR23:=SMA(VAR11,3,1);
VAR25:=MA(3*VAR11-2*VAR23,3);
涨:EMA(VAR4,10)+100/2-5,COLORRED;
跌:EMA(涨,4),COLORWHITE;
日出:IF(CROSS(涨,跌) AND 跌<-10,20,0),COLORCCCCFF;
雨季将来:IF(CROSS(跌,80),80,100),COLORFF3798;
彩虹1:EMA(跌,4),COLORFFFF50;
彩虹2:EMA(彩虹1,4),COLORFF0000;
STICKLINE(涨
STICKLINE(涨
STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),5,0),COLOR0066FF;
STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),4,0),COLOR0088FF;
STICKLINE(涨>REF(涨,1),涨,EMA(涨,3),3,0),COLOR0099FF;
DRAWTEXT_FIX(C>O,0,0.2,0,'九毛八公式指标www.9m8.cnhttp://'),COLOR666666;
DRAWICON(日出>0,20,3);
DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'日出'),COLORFFFFFF;
DRAWTEXT(日出>0,-20,'日出'),COLORCCCCFF;
STICKLINE(FILTER(3*VAR11-2*VAR23>VAR25 AND 3*VAR11-2*VAR23<=3,5)=1 AND 跌<0,涨,涨+20,6,0);
DRAWTEXT(FILTER(3*VAR11-2*VAR23>VAR25 AND 3*VAR11-2*VAR23<=3,5)=1 AND 跌<0,60,'注意'),COLORRED;