水木小牛通达信指标
X_1:=0;
X_2:=80;
X_3:=20;
X_4:=LLV(LOW,6);
X_5:=HHV(HIGH,6);
X_6:=EMA((CLOSE-X_4)/(X_5-X_4)*100,6);
X_7:=EMA(0.667*REF(X_6,1)+0.333*X_6,2);
X_8:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
X_9:=(X_8/2+22)*1;
X_10:=EMA(VOL,13);
X_11:=EMA(AMOUNT,13);
X_12:=X_11/X_10/100;
X_13:=(CLOSE-X_12)/X_12*100;
X_14:=X_13<0 ;
X_15:=IF(X_14 AND X_8<X_9-2,10,0);
X_16:=REF(X_15,1) OR REF(X_15,2) OR REF(X_15,3) OR X_15;
买:=CROSS(X_6,X_7) AND X_16;
HJ_1:=MA(CLOSE,1);
HJ_2:=SMA(SMA(SMA(HJ_1,2,1),2,1),2,1);
HJ_3:=MA(HJ_2,3);
HJ_4:=(3*CLOSE+LOW+OPEN+HIGH)/6;
HJ_5:=(20*HJ_4+19*REF(HJ_4,1)+18*REF(HJ_4,2)+17*REF(HJ_4,3)+16*REF(HJ_4,4)+15*REF(HJ_4,5)+14*REF(HJ_4,6)+13*REF(HJ_4,7)+12*REF(HJ_4,8)+11*REF(HJ_4,9)+10*REF(HJ_4,10)+9*REF(HJ_4,11)+8*REF(HJ_4,12)+7*REF(HJ_4,13)+6*REF(HJ_4,14)+5*REF(HJ_4,15)+4*REF(HJ_4,16)+3*REF(HJ_4,17)+2*REF(HJ_4,18)+REF(HJ_4,20))/210;
HJ_6:=MA(HJ_5,5);
HJ_7:=ATAN((MA(CLOSE,3)/REF(MA(CLOSE,3),1)-1)*100)*180/3.141159;
HJ_8:=MA(HJ_7,3);
HJ_9:=PLOYLINE(CROSS(HJ_7,HJ_8),HJ_8);
HJ_10:=PLOYLINE(CROSS(HJ_8,HJ_7),HJ_7);
水木小牛:COUNT(CROSS(HJ_7,HJ_8),HJ_9<REF(HJ_9,3) AND HJ_10>REF(HJ_10,3)) AND COUNT(CLOSE>REF(CLOSE,1)*1.096,55)>0 AND (CROSS(CLOSE,HJ_2) AND CROSS(CLOSE,HJ_3) AND CROSS(CLOSE,HJ_5) AND CROSS(CLOSE,HJ_6) OR (CROSS(CLOSE,HJ_2) AND CROSS(CLOSE,HJ_3) AND HJ_5>REF(HJ_5,1) AND HJ_3>HJ_6) OR (CROSS(CLOSE,HJ_5) AND CROSS(CLOSE,HJ_6) AND HJ_5>REF(HJ_5,1))) AND 买,COLORFFCC00,LINETHICK2;