潜伏区与还魂剑 一个公式二个信号,请注意了 潜伏区 不是起涨点
DRAWTEXT_FIX(1,0.05,0,0,5),COLORCYAN;
X_1:=IF(CODELIKE(1),0,1);
X_2:=IF(NAMELIKE(2),0,1);
X_3:=IF(NAMELIKE(3),0,1);
X_4:=IF(CODELIKE(4),0,1);
X_5:=CLOSE/REF(CLOSE,1) 1.095 AND HIGH=OPEN AND LOW=HIGH;
X_6:=NOT(X_5) OR X_5=0;
X_7:=FINANCE(40)/100000000
X_8:=X_1 AND X_2 AND X_3 AND X_4 AND X_7;
X_9:=CLOSE
X_10:=CLOSE
X_11:=MA(CLOSE,5)-MA(CLOSE,13)+MA(CLOSE,8);
X_12:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
X_13:=X_12;
X_14:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
X_15:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
X_16:=X_15*(1+X_14);
X_17:=REF(VOL,1);
X_18:=SMA(MAX(VOL-X_17,0),6,1)/SMA(ABS(VOL-X_17),6,1)*100;
X_19:=X_16 REF(X_16,1) AND X_13 REF(X_13,1) AND X_18 REF(X_18,1);
X_20:=X_16 REF(X_16,1) AND X_13 REF(X_13,1) AND X_18 REF(X_18,1);
X_21:=X_16 REF(X_16,1) AND X_13 REF(X_13,1) AND X_18 REF(X_18,1);
X_22:=X_16 REF(X_16,1) AND X_13 REF(X_13,1) AND X_18 REF(X_18,1);
X_23:=X_16 REF(X_16,1);
X_24:=X_16 REF(X_16,1);
X_25:=X_13 REF(X_13,1);
X_26:=X_13 REF(X_13,1);
X_27:=X_19 OR X_21;
X_28:=X_20 OR X_22;
X_29:=X_24 AND X_25;
X_30:=X_27 OR X_29;
X_31:=49204040/40;
X_32:=X_23 AND X_26;
X_33:=IF(DATE X_31,1,0);
X_34:=LAST(X_30,7,1) AND X_32 AND X_33
X_35:=3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1);
潜伏区:IF(X_35 =8 AND X_33 0.1 AND X_9 AND X_10 AND CLOSE X_11 AND X_8,50,0),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CROSS(潜伏区,8),55,'潜伏区'),COLORMAGENTA;
还魂剑:CROSS(X_34,X_30) AND X_32 2.1 AND CLOSE OPEN AND X_10 AND X_8,NODRAW,COLORYELLOW;
STICKLINE(还魂剑,72,23,1,0),COLORYELLOW;
STICKLINE(还魂剑,70,23,2,0),COLORYELLOW;
STICKLINE(还魂剑,68,23,3,0),COLORYELLOW;
STICKLINE(还魂剑,66,23,3.2,0),COLORYELLOW;
STICKLINE(还魂剑,64,23,3.4,0),COLORYELLOW;
STICKLINE(还魂剑,24,0,2,0),COLORGREEN;
STICKLINE(还魂剑,2,0,4,0),COLORGREEN;
STICKLINE(还魂剑,24,22,7,0),COLORRED;
STICKLINE(还魂剑,8,6,7,0),COLORRED;
DRAWTEXT(还魂剑,68,'还魂剑'),COLORYELLOW;