通达信抄底幅图指标公式源码:
X_1:=MA(CLOSE,10);
X_2:=MA(CLOSE,55);
X_3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100
X_4:=FILTER(X_3,10);
X_5:=BARSLAST(X_4);
X_6:=REF(HIGH,X_5+2);
X_7:=REF(HIGH,X_5+1);
X_8:=REF(HIGH,X_5);
X_9:=MAX(X_6,X_7);
X_10:=MAX(X_9,X_8);
X_11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100
X_12:=X_5
X_13:=(OPEN-X_10)/X_10*100
X_14:=(CLOSE-LLV(LOW,X_5))/LLV(LOW,X_5)*100
X_15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100
X_16:=VOL/MA(VOL,5)
X_17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100
X_18:=X_11 AND X_12 AND X_13 AND X_14 AND X_15 AND X_16 AND X_17;
X_19:=FILTER(X_18,15);
X_20:=(CLOSE-X_2)/X_2
X_21:=(CLOSE-X_1)/X_1
X_22:=(X_20=1 AND X_21=1)*0.2;
X_23:=(X_22=0 AND REF(X_22,1)=0.2 AND REF(COUNT(X_22=0.2,10)=10,1)=1)*(-0.1);
X_24:=X_23=(-0.1);
X_25:=X_19 OR X_24;
X_26:=DYNAINFO(7)/REF(CLOSE,1) 1.05 AND DYNAINFO(7)/OPEN 1.05;
X_27:=VOL/REF(VOL,1) 1.2 AND CLOSE OPEN OR (LOW REF(HIGH,1) AND OPEN CLOSE AND VOL/REF(VOL,1) 1.2);
X_28:=IF(CODELIKE(3) OR (CODELIKE(4) AND DATE =1280824),CLOSE =ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE =ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
X_29:=X_25 AND X_26 AND X_27 AND X_28 AND REF(NOT(X_28),1);
STICKLINE(X_29,0,1,2,0),COLORRED;
通达信顶底趋势指标公式源码:
绝对顶:150,LINETHICK1,COLORGREEN;
短变盘:100,LINETHICK1,COLORLIBLUE;
强险区:100,POINTDOT,COLORRED;
中区:50,POINTDOT,COLORRED;
VAR22:=REF(LOW,1);
VAR23:=((MA(ABS((LOW - VAR22)),3) / MA(MAX((LOW - VAR22),0),3)) * 100);
VAR24:=MA(IF((CLOSE * 1.2),(VAR23 * 10),(VAR23 / 10)),3);
VAR25:=LLV(LOW,38);
VAR26:=HHV(VAR24,38);
VAR27:=IF(LLV(LOW,90),1,0);
VAR28:=((MA(IF((LOW = VAR25),((VAR24 + (VAR26 * 2)) / 2),0),3) / 618) * VAR27);
主力秘密筹码:STICKLINE(VAR28,强险区,中区,2,0),COLORWHITE;
动态底部:MA(IF(L = LLV(L,30),MA(ABS(L-REF(L,1)),30)/MA(MAX(L-REF(L,1),0),30),0),3)
*10,STICK,COLORGREEN,LINETHICK2;
VAR2:=(HIGH+LOW+CLOSE*2)/4;
VAR3:=MA(VAR2,21);
VAR4:=STD(VAR2,21);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(MA(VAR5,5)-25)*1.56;
K: MA(VAR6,2)*1.22,LINETHICK1;
D: MA(K,2),COLORFFFF00,LINETHICK1;
J: 3*K-2*D,COLORRED,LINETHICK2;
STICKLINE(J 85,100,J,1,1),COLORLIBLUE;
STICKLINE(J 135,150,J,1,1),COLORGREEN;
STICKLINE(J =-25,-35,J,1,1),COLORYELLOW;
STICKLINE(J REF(J,1),45,65,1,0),COLORRED;
STICKLINE(主力秘密筹码,35,45,1,0),COLORYELLOW;
通达信多空波段指标公式源码:
RSV:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
VAR1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
VAR2:=(CLOSE-LLV(CLOSE,62))/(HHV(CLOSE,62)-LLV(CLOSE,62))*100;
VARB:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);
VARC:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VARD:=SMA(VARC,3,2);
VARE:=SMA(VARD,3,2);
AA:=EMA(VARE,2);
买入:AA 20 AND AA REF(AA,1)AND REF(AA,1) REF(AA,2);
走势: EMA(VAR1,1),LINETHICK0;STICKLINE((K =D),D,REF(D,1),8,0),COLORRED;
STICKLINE((K D),D,REF(D,1),8/3,0),COLORFFFF66;
DRAWICON(CROSS(99,VAR2)AND AA =REF(AA,1),100,5);
STICKLINE(买入,0,50,8/3,0);
DRAWTEXT(买入 0,55, 进 ),COLORRED;
警戒线!:70,COLORFF00FF;
逃顶线↓:90,COLOR00EE00;
抄底线↑:20,COLORBLUE,LINETHICK2;