VAR2:=IF(MONTH<12,1,1);
VAR3:=VAR1/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
VAR6:=(VAR3-VAR4)/(VAR5-VAR4)*100;
VAR7:=0.667*REF(EMA(VAR6,13)*VAR2,1);
VAR8:=0.333*EMA(VAR6,13)*VAR2;
DRAWTEXT_FIX(C>O,0,0.2,0,'九毛八公式指标www.9m8.cn'),COLOR666666;
主力:EMA(VAR6,13)*VAR2,LINETHICK4,COLORRED;
散户:EMA(VAR7+VAR8,2),LINETHICK2,COLORFF9933;
VAR13:=CROSS(主力,75);
VAR15:=散户<主力;
小心被套:IF(VAR13 AND VAR15,75,62),STICK,LINETHICK2,COLORGREEN;
NOTEXT62:62,STICK,LINETHICK2,COLOR000000;
冲顶:IF(CROSS(主力,65) AND 散户<主力,61,49),STICK,LINETHICK2,COLORF00FF0;
NOTEXT49:49,STICK,LINETHICK2,COLOR000000;
上扬:IF(CROSS(主力,30) AND 散户<主力,48,35),STICK,LINETHICK2,COLORYELLOW;
NOTEXT35:35,STICK,LINETHICK2,COLOR000000;
强弱分界线:50,POINTDOT,LINETHICK2,COLORFFFF00;
DRAWTEXT(CROSS(主力,散户) AND 主力<22,20,'起动'),LINETHICK2,COLOR0099FF;
DRAWICON(CROSS(主力,散户) AND 主力<22,25,1);
DRAWTEXT(CROSS(主力,30) AND 散户<主力,40,'上扬 '),LINETHICK2,COLOR00CCFF;
DRAWICON(CROSS(主力,30) AND 散户<主力,35,1);
DRAWTEXT(CROSS(主力,65) AND 散户<主力,55,'冲顶 '),LINETHICK2,COLOR9933FF;
DRAWICON(CROSS(主力,65) AND 散户<主力,70,2);
DRAWTEXT(CROSS(主力,75) AND 散户<主力,67,'小心被套'),LINETHICK2,COLOR009900;
DRAWICON(CROSS(主力,75) AND 散户<主力,80,2);
DRAWTEXT(CROSS(散户,主力) AND 散户>75,80,'头部'),COLORYELLOW;
DRAWICON(CROSS(散户,主力) AND 散户>75,85,2);
买入脉冲:IF(CROSS(主力,散户) AND 主力<35,55,5),LINETHICK4,COLORRED;
卖出脉冲:IF(CROSS(散户,主力) AND 散户>75,75,90),LINETHICK4,COLORGREEN;