VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,3,0 ),COLOR000055;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.6,0 ),COLOR000077;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,2.1,0 ),COLOR000099;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1.5,0 ),COLOR0000BB;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.9,0 ),COLOR0000DD;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,0.3,0 ),COLOR0000FF;
洗盘:IF(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5STICKLINE(VAR5VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
拉高:IF(VAR51STICKLINE(VAR51STICKLINE(VAR51STICKLINE(VAR51STICKLINE(VAR51STICKLINE(VAR51STICKLINE(VAR51出货:IF(VAR51>REF(VAR51,1),VAR51,0);
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLORCYAN;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0),COLOR555555;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.6,0),COLOR777777;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.1,0),COLOR999999;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.5,0),COLORBBBBBB;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.9,0),COLORDDDDDD;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0),COLORFFFFFF;
{九毛八公式指标www.9m8.cn}
VAR18:=EMA(EMA(CLOSE,9),9);
控盘:=(VAR18-REF(VAR18,1))/REF(VAR18,1)*1000;
STICKLINE(控盘<0,控盘,0,2,0),COLORWHITE;
A10:=CROSS(控盘,0);
无控:IF(控盘<0,控盘,0),COLORWHITE;
始控:IF(A10,5,0),COLORWHITE;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,2,0),COLORRED;
有控:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED;
VAR28:=100*WINNER(CLOSE*0.95);
STICKLINE(VAR28>50 AND COST(85)
高控:IF(VAR28>50 AND COST(85)
STICKLINE(控盘0,控盘,0,2,0),COLOR00FF00;
卖出:IF(控盘0,控盘,0),COLOR00FF00;
QS:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),9,1),COLOR0000FF;
DD:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,100,0),LINETHICK1;
DRAWICON(DD=100,100,1),LINETHICK1,COLOR0088FF;
V5:=SMA(QS,2,1),COLORCYAN;
抄底:IF(QS>REF(QS,1) AND REF(QS,1)追买:IF(QS>REF(QS,1) AND CROSS(QS,V5) AND V5<80,30,0),COLORBLUE,LINETHICK2;
逃顶:=IF(QSREF(QS,2) AND QS>70,30,0),COLORLIBLUE,LINETHICK2;
{STICKLINE(逃顶,80,100,5,1),COLOR00FF00;}
MTM:=C-REF(C,1);
快:=100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORRED,LINETHICK2;
慢:=MA(快,N2),COLORGREEN,LINETHICK1;
D:=CROSS(ZIG(3,50/5)*1,MA(ZIG(3,50/5)*1,2))*1,COLORRED;
W:=CROSS(MA(ZIG(3,50/5)*1,2),ZIG(3,50/5)*1)*1,COLORBLUE;
DRAWTEXT(W=1,快*1.1,'↓跌' ),COLORGREEN;
DRAWTEXT(D=1,慢*1.1,'↑涨'),COLORRED;