以下是通达信底部起爆公式源码和截图
通达信底部起爆公式源码:
REFLINE:0;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
MACD:=2*(DIFF-DEA);
X1:=EMA(DIFF,5)*5;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*5;
X3:IF(X2 0,X2,0),POINTDOT,COLORRED;
X4:=IF(X2 0,X2,0),POINTDOT,COLORGREEN;
STICKLINE(X2 0,0,X2,2.8,0),COLORRED;
STICKLINE(X2 0,0,X2,2.8,0),COLOR000088;
STICKLINE(X2 0,0,X2,2.6,0),COLOR000099;
STICKLINE(X2 0,0,X2,2.4,0),COLOR0000AA;
STICKLINE(X2 0,0,X2,2.2,0),COLOR0000BB;
STICKLINE(X2 0,0,X2,2,0),COLOR0000CC;
STICKLINE(X2 0,0,X2,1.8,0),COLOR0000DD;
STICKLINE(X2 0,0,X2,1.5,0),COLOR0000EE;
STICKLINE(X2 0,0,X2,1.0,0),COLOR0000FF;
STICKLINE(X2 0,0,X2,0.0,0),COLOR0000FF;
STICKLINE(X2 0,0,X2,2.8,0),COLORGREEN;
STICKLINE(X2 0,0,X2,2.8,0),COLOR007700;
STICKLINE(X2 0,0,X2,2.6,0),COLOR008800;
STICKLINE(X2 0,0,X2,2.6,0),COLOR009900;
STICKLINE(X2 0,0,X2,2.4,0),COLOR00BB00;
STICKLINE(X2 0,0,X2,2.0,0),COLOR00CC00;
STICKLINE(X2 0,0,X2,1.8,0),COLOR00DD00;
STICKLINE(X2 0,0,X2,1.5,0),COLOR00EE00;
STICKLINE(X2 0,0,X2,1,0),COLOR00FF00;
STICKLINE(X2 0,0,X2,0,0),COLOR00FF00;
动能A:X2,COLORWHITE,LINETHICK2;
资金动能B:X1,COLORBROWN,LINETHICK3;
VAR2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
VAR3:=SMA(SMA(VAR2,3,1),3,1);
VAR4:=EMA(VAR3,5);
大底部:=IF(CROSS(VAR4,10)ANDVAR4 10,14,0);
中底部:=IF(CROSS(VAR4,20)ANDVAR4 10,13,0);
小底部:=IF(CROSS(VAR4,30)ANDVAR4 10,12,0);
AA:= =REF(V,1)*1.91ANDC REF(C,1)*1.01;
红柱:DRAWICON(CROSS(资金动能A,0)ANDAA,-1,1);
持币:IF(SAR(10,2,20) =H,0,DRAWNULL),CIRCLEDOT,COLORWHITE;
持股:IF(SAR(10,2,20) =L,0,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
个股:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),COLOR1010FF;
反弹:IF(CROSS(个股,9),10,0),STICK,LINETHICK3,COLOR00FF00;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
SHORT:=7;LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
线:=EMA(((KS
/10)+EMA(CLOSE,10)),3);AA:=-100*(趋势线-CLOSE)/趋势线;
AC:=(EMA(AA,5)
);SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22)*20)+
CLOSE),55);
MM:=MA(MMV,1);STICKLINE(((SSL MM)),SSL,MM,0.01,0),COLORRED;
SA:=(MM*0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21));
捞钱手:IF(((SSL MM)),MM,SA),LINETHICK2,COLORFF00FF;
能量线:=DMA(((CLOSE
+OPEN)/2),(VOL/(SMA(VOL,4,1)
*4)));上开:=O;上收:=C;
上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,4);智能黄金线:A,COLORYELLOW,LINETHICK1;
B:=REF(A,1);STICKLINE(((SSL MM)),捞钱手,智能黄金线,0.01,0),COLORFFFF00;
VA1:=EMA(上收,8);VA2:=EMA(上收,20);
DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★底部')
,LINETHICK2,COLORRED;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★高位');
DRAWTEXT(CROSS(VA1,VA2)AND(C =O)AND
智能黄金线 REF(智能黄金线,1),VA1*0.97,'★买'),COLOR00FF00;
选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3);
箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20) =REF(MA(上收,20),1);
T2:=CROSS(选手A,箱底A)
AND箱顶A/箱底A 100/100ANDT1;
T3:=CROSS(箱顶A,选手A)AND
箱顶A/箱底A 100/100;
选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;
箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;
T4:=CROSS(选手,箱底)
AND箱顶/箱底 110/100;
T5:=CROSS(箱顶,选手)AND
箱顶/箱底 110/100;
VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;
VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);
买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);
DRAWTEXT(CROSS(买线,卖线)AND
箱顶 =REF(箱顶,1),LOW*0.95,'★引爆'),COLOR00FFFF
P1:=5;
P2:=4;
SSRCJL:=Ema(vol,13);
SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE/SSRCJL)/100);
SSRGL:=(((CLOSE-SSRCBJX)/SSRCBJX)*100);
绝对底:SSRGL (0-18),COLORRED;
大底:SSRGL (0-14),COLORMAGENTA;
中底:SSRGL (0-10),COLORYELLOW;
短底:SSRGL (0-6),COLORWHITE;
stICKLINE((SSRGL (0-18)),60,80,3,0),COLORRED;
STICKLINE((SSRGL (0-14)),40,60,3,0),COLORMAGENTA;
STICKLINE((SSRGL (0-10)),20,40,3,0),COLORYELLOW;
STICKLINE((SSRGL (0-6)),0,20,3,0),COLORWHITE;
VAR1:=LLV(LOW,P1);
VAR2:=HHV(HIGH,P1);
K:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORRED,LINETHICK1;
D:EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK1;
连续3天短底买:0;
通达信底部起爆公式截图