{公式名称: 短线王}
X_1:=(4*CLOSE+OPEN)/5;
X_2:=(8*X_1+7*REF(X_1,1)+6*REF(X_1,2)+5*REF(X_1,3)+4*REF(X_1,4)+3*REF(X_1,5)+2*REF(X_1,6)+REF(X_1,8))/36;
X_3:=(HHV(X_2,2)+HHV(X_2,4)+HHV(X_2,8))/3;
X_4:=(LLV(X_2,2)+LLV(X_2,4)+LLV(X_2,8))/3;
X_5:=(HHV(X_3,2)+HHV(X_3,4)+HHV(X_3,8))/3;
X_6:=(LLV(X_4,2)+LLV(X_4,4)+LLV(X_4,8))/3;
X_7:=(LLV(X_2,2)+LLV(X_2,4)+LLV(X_2,8))/3;
IF(X_2 =REF(X_2,1),X_2,DRAWNULL),COLORGREEN,LINETHICK3;
IF(X_2 =REF(X_2,1),X_2,DRAWNULL),COLORRED,LINETHICK3;
STICKLINE(X_5 X_2,X_5,X_2,0,0),COLORBLACK;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);{www.9m8.cn 九毛八公式指标网}
DRAWTEXT(REF(X_6,1)=REF(X_2,1) AND X_6 X_2,LOW*0.97,1),COLORRED;
DRAWTEXT(REF(X_7,1)=REF(X_2,1) AND X_7 X_2,LOW*0.93,1),COLORYELLOW;
DRAWTEXT(REF(X_5,1)=REF(X_2,1) AND X_5 X_2,HIGH*1.05,2),COLORGREEN;
X_8:=REF(CLOSE,1)*1.1-CLOSE 0.01 AND HIGH=CLOSE;
X_9:=CROSS(CLOSE,X_5) AND X_8;
DRAWTEXT(X_9,LOW,3),COLORWHITE;
STICKLINE(X_9,CLOSE,OPEN,3.2,0),COLOR0077FF;
STICKLINE(X_9,CLOSE,OPEN,2.5,0),COLOR0099FF;
STICKLINE(X_9,CLOSE,OPEN,1.9,0),COLOR00BBFF;
STICKLINE(X_9,CLOSE,OPEN,1.2,0),COLOR00DDFF;
STICKLINE(X_9,CLOSE,OPEN,0.3,0),COLORYELLOW;