通達信龍頭回探主圖指標公式原始碼主圖

指标公式分享發表於2024-03-10
{ 通達信龍頭回探主圖指標公式原始碼主圖 }

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
趨勢線:HHV(MA5,90),COLORRED,LINETHICK2;
X_1:=REF(CLOSE,3)/REF(CLOSE,4)>1.09 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)>REF(MA(CLOSE,5),3) AND REF(OPEN,3)>REF(MA(CLOSE,10),3) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_2:=HIGH/REF(CLOSE,1)>=1.041;
X_3:=X_1 AND X_2;
X_4:=REF(CLOSE,4)/REF(CLOSE,5)>1.09 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)>REF(MA(CLOSE,5),4) AND REF(OPEN,4)>REF(MA(CLOSE,10),4) AND NOT(REF(CLOSE,2)/REF(CLOSE,1)>=1.09 AND REF(CLOSE,3)/REF(CLOSE,2)>=1.09);
X_5:=HIGH/REF(CLOSE,1)>=1.041;
X_6:=REF(CLOSE,4)/OPEN>1.02;
X_7:=X_4 AND X_5 AND X_6;
X_8:=REF(CLOSE,5)/REF(CLOSE,6)>1.09 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)>REF(MA(CLOSE,5),5) AND REF(OPEN,5)>REF(MA(CLOSE,10),5);
X_9:=HIGH/REF(CLOSE,1)>=1.041;
X_10:=X_8 AND X_9;
X_11:=REF(CLOSE,6)/REF(CLOSE,7)>1.09 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)>REF(MA(CLOSE,5),6) AND REF(OPEN,6)>REF(MA(CLOSE,10),6);
X_12:=HIGH/REF(CLOSE,1)>=1.041;
X_13:=X_11 AND X_12;
X_14:=REF(CLOSE,7)/REF(CLOSE,7)>1.09 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)>REF(MA(CLOSE,5),7) AND REF(OPEN,7)>REF(MA(CLOSE,10),7);
X_15:=HIGH/REF(CLOSE,1)>=1.041;
X_16:=X_14 AND X_15;
X_17:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND OPEN<ma(close,5) and="" ref(close,2)="" ref(close,3)<1.099="" (ref(close,1)<ref(ma(close,5),1)="" or="" low<ma(close,10))="" ma(close,5)="">REF(MA(CLOSE,5),1) AND REF(LOW,1)>REF(MA(CLOSE,20),1) AND OPEN/REF(CLOSE,1)<1.09 AND CLOSE>OPEN;
X_18:=X_3 OR X_7 OR X_10 OR X_13 OR X_16 AND X_17;
X_19:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,5)>MA(CLOSE,10);
X_20:=X_18 AND X_19;
X_21:=X_20 AND BARSCOUNT(CLOSE)<90;
X_22:=X_20 AND MA(CLOSE,5)>MA(CLOSE,60) AND MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,10)>MA(CLOSE,60) AND MA(CLOSE,10)>MA(CLOSE,120);
X_23:=X_21 OR X_22;
STICKLINE(X_23,OPEN,CLOSE,2.5,0),COLORMAGENTA;
DRAWICON(X_23,LOW*0.97,9);
DRAWTEXT(X_23,LOW*0.94,'回探'),COLORYELLOW;

相關文章