X_42:=OPEN<X_37 AND OPEN<X_38 AND OPEN<X_39 AND LOW<X_40 AND LOW<X_41;
X_43:=CLOSE>X_37 AND CLOSE>X_38 AND HIGH>X_39 AND HIGH>X_40 AND HIGH>X_41;
X_44:=X_42 AND X_43;
STICKLINE(X_44,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(X_44,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(X_44,CLOSE,OPEN,1.5,0),COLORRED;
STICKLINE(X_44,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(X_44,OPEN,CLOSE,0.5,0),COLORYELLOW;
DRAWTEXT(X_44,LOW*0.97,'一穿五'),COLORRED;
黑马1号副图指标公式;
X_1:=30;
X_2:=3;
X_3:=15;
X_4:=3;
UPPERL:=MA(HIGH,X_1)*(1+X_3/100),COLORWHITE;
UPPERS:=MA(HIGH,X_2)*(1+X_4/100),COLORYELLOW;
LOWERS:=MA(LOW,X_2)*(1-X_4/100),COLORMAGENTA;
LOWERL:=MA(LOW,X_1)*(1-X_3/100),COLORGREEN;
X_5:=REF(CLOSE,1)*1.1-CLOSE<0.01;
X_6:=CLOSE/REF(CLOSE,1)<0.913 AND CLOSE=LOW;
X_7:=HHV(HIGH,20);
X_8:=LLV(LOW,20);
X_9:=REF((X_7/X_8-1)*100<=30,1);
X_10:=REF(CLOSE,1);
X_11:=SMA(MAX(CLOSE-X_10,0),6,1)/SMA(ABS(CLOSE-X_10),6,1)*100;
X_12:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
X_13:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_12);
MA1:=MA(CLOSE,5);