VAR1:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
VAR2:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;
VAR3:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5;
VAR4:=(2*CLOSE+HIGH+LOW)/4;
VAR5:=LLV(LOW,34);
VAR6:=HHV(HIGH,34);
VAR7:=LLV(LOW,21);
VAR8:=HHV(HIGH,21);
VAR9:=EMA((VAR4-VAR7)/(VAR8-VAR5)*100,5);
VAR27:=EMA((VAR4-VAR5)/(VAR6-VAR5)*100,8);
VAR28:=EMA(VAR27,5);
底买入:IF(VAR2+VAR3<7 AND CROSS(VAR1,EMA(VAR1,7)) AND EMA(VAR1,7)<-18 AND EMA(VAR1,7)
股价重心:VAR9,COLORWHITE;
顶区:VAR27;{九毛八公式指标www.9m8.cn}
STICKLINE(VAR9-VAR27+20>=20,VAR9-VAR27+20,20,1,0),COLORF000FF;
STICKLINE(VAR27>0 AND (VAR27-VAR28)>=0,80,78,1,0),COLORRED;
STICKLINE(VAR27>0 AND (VAR27-VAR28)<0,80,78,1,1),COLORBLUE;
STICKLINE(VAR27>0 AND (VAR27-VAR28)>=0,20,18,1,0),COLORRED;
STICKLINE(VAR27>0 AND (VAR27-VAR28)<0,20,18,1,1),COLORBLUE;
STICKLINE(VAR27>VAR28,VAR27,VAR28,1,1),COLORGREEN;