通達(dá)信雙喜臨門分時(shí)買賣指標(biāo)公式
- 指標(biāo)類別: 通達(dá)信指標(biāo)公式
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)分類: 趨勢
- 畫線方法: 副圖
- 日期:2020-05-05 來源:互聯(lián)網(wǎng)
通達(dá)信雙喜臨門分時(shí)買賣指標(biāo)公式:
昨收:=DYNAINFO(3);
HH:=DYNAINFO(5);
LL:=DYNAINFO(6);
FK:=MAX(HH-昨收,昨收-LL)*0.1;
ZS:=昨收-FK*3.2;
Q1:=昨收-FK*3.22;
Q2:=昨收-1*FK*3.22;
Q3:=昨收-5*FK*3.2;
TJ:=FILTER(C,239)>0,NODRAW;
TJJ:=SUM(TJ,0),NODRAW;
TJA:=CONST(TJJ),NODRAW;
NN:=2400;
HD:=HHV(C,NN);
LD:=LLV(C,NN);
最高:=CONST(HD),NODRAW;
最低:=CONST(LD),NODRAW;
HLMAX:=最高;
HLMIN:=最低;
HLMN1:=(HLMAX+HLMIN)/2;
HLMN2:=HLMAX-HLMIN;
HLMN3:=(100-0)/2*1.3;
HLMN4:=(100-0)/1*1.3;
{時(shí)間設(shè)置}
LTA:=FINANCE(7)+300000000;
GB:=2*IF(FINANCE(7)<100000000000,FLOOR(ABS((FINANCE(7)/1000000000-1))),FLOOR(ABS((FINANCE(7)/1000000000-1)))/10),NODRAW ;
C1:=CLOSE;
V1:=TIME;
A1:=COUNT(BARSCOUNT(C)=1 AND TIME<102000 ,0 );
T:=IF(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),
(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000))),NODRAW;
TTA:=INTPART(2*T/5);
KP30:=T<240;
KPGD:=H=HHV(H,0) AND KP30;
GDSJ:=BARSLAST(KPGD);
成交額:=AMOUNT,NODRAW;
VV2:=SUM(AMOUNT,T),NODRAW;
VV3:=VV2/T;
SS:=IF(CAPITAL>150000000,0.3,IF(CAPITAL>20000000,0.5,IF(CAPITAL>10000000,0.8,IF(CAPITAL<200000,5,IF(CAPITAL<1000000,3,
IF(CAPITAL<5000000,1.5,1)))))),NODRAW;
VV5:=(REF(VV3,T-1)/CEILING(REF(VV3,T-1)/CAPITAL *10000+0.1))*SS,NODRAW;
大額線:=IF(REF(VV3,T)=REF(VV3,T-1),VV5,REF(VV3,T)),NODRAW;
起算量:=大額線*100,COLOR00FFFF,NODRAW;
初正1:=IF(T=1 AND DYNAINFO(4)>=DYNAINFO(3),VV2,0);
初負(fù)1:=IF(T=1 AND DYNAINFO(4)<DYNAINFO(3),VV2,0);
初正:=SUM(IF(初正1>=大額線 AND T=1,初正1,0),T),NODRAW;
初負(fù):=SUM(IF(初負(fù)1>=大額線 AND T=1,初負(fù)1,0),T),NODRAW;
初正2:=SUM(初正1,T),NODRAW;
初負(fù)2:=SUM(初負(fù)1,T),NODRAW;
T00:=IF(C1>REF(C1,1),0.9,-0.9);
T01:=IF(C1<REF(C1,1),-0.9,0.9);
T02:=T00+T01,NODRAW;
TT1:=BARSLAST(CROSS(T02,+1.5)),NODRAW;
TT2:=BARSLAST(CROSS(-1.5,T02)),NODRAW;
TT:=IF(T02=1.8,1,IF(T02=-1.8,-1,0));
正V1:=IF(TT=1 OR (TT=0 AND TT1<TT2),成交額,0),NODRAW;
負(fù)V1:=IF(TT=-1 OR (TT=0 AND TT1>TT2),成交額,0),NODRAW;
正負(fù)0:=IF(成交額!= 0 AND (正V1=0 AND 負(fù)V1=0),成交額,0);
正V0:=IF(正負(fù)0!= 0 AND REF(正V1,1)!= 0 ,正負(fù)0,0);
負(fù)V0:=IF(正負(fù)0!= 0 AND REF(負(fù)V1,1)!= 0 ,正負(fù)0,0);
正V11:=正V1+正V0,NODRAW;
負(fù)V11:=負(fù)V1+負(fù)V0,NODRAW;
正V:=IF(正V11>=大額線,正V11,0);
負(fù)V:=IF(負(fù)V11>=大額線,負(fù)V11,0);
正V2:=IF(正V11<大額線,正V11,0);
負(fù)V2:=IF(負(fù)V11<大額線,負(fù)V11,0);
正總:=IF(TJJ<2,初正,0)+SUM(正V,T),NODRAW,COLOR0000FF;
負(fù)總:=IF(TJJ<2,初負(fù),0)+SUM(負(fù)V,T),NODRAW,COLOR00FF00;
正總1:=IF(TJJ<2,初正2,0)+SUM(正V11,T),NODRAW,COLOR0000FF;
負(fù)總1:=IF(TJJ<2,初負(fù)2,0)+SUM(負(fù)V11,T),NODRAW,COLOR00FF00;
紅喜%:(正總-負(fù)總)/(正總+負(fù)總)*100,COLOR00FF00,NODRAW;
綠喜%:(正總1-負(fù)總1)/(正總1+負(fù)總1)*100,COLOR00FF00,NODRAW;
Q4:=IF(TJA>1 AND 紅喜%>=0,HLMAX,HLMIN),NODRAW;
Q5:=IF(TJA>1 AND 紅喜%>=0,HLMIN,HLMAX),NODRAW;
DRAWBAND(Q4,RGB(100,100,100),Q5,RGB(50,50,50));
STICKLINE(TJA>1 AND CROSS(紅喜%,0),Q4,Q5,10,0),COLOR777777;
STICKLINE(TJA>1 AND CROSS(0,紅喜%),Q4,Q5,10,0),COLOR777777;
DRAWBAND(IF(TJA<2,HLMAX,DRAWNULL),RGB(10,10,10),HLMIN,DRAWNULL);
HHHH:=REF(H,GDSJ),COLORFFFFFF,LINETHICK1;
過頂:IF(CROSS(C,HHHH),1,0),COLOR00FF00,POINTDOT,NODRAW;
沖高:IF(FILTER(CROSS(C,HHHH*1.01),15),1,0),COLOR00FFFF,POINTDOT,NODRAW;
N:=20;
L1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100-0;
龍K:IF(TJA<2, ((SMA(L1,3,1)-HLMN3)*HLMN2/HLMN4+HLMN1),DRAWNULL),COLORBBFFBB;
鳳D:IF(TJA<2,SMA(龍K,3,1),DRAWNULL),COLORBBFFBB;
DRAWBAND(龍K,RGB(0,150,0),((50-HLMN3)*HLMN2/HLMN4+HLMN1),RGB(0,150,0));
DRAWBAND(鳳D,RGB(50,50,50),((50-HLMN3)*HLMN2/HLMN4+HLMN1),RGB(50,50,50));
AR1:=LLV(LOW,10);
AR2:=HHV(H,25);
AR3:=EMA((C-AR1)/(AR2-AR1)*4,4);
紅紅的天:=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),LINETHICK0;
IF(TJA<2 AND CROSS(紅紅的天,2),((100-HLMN3)*HLMN2/HLMN4+HLMN1),((50-HLMN3)*HLMN2 /HLMN4+HLMN1)),COLOR0000CC;
有心就有:IF(TJA<2 AND CROSS(紅紅的天,2),((100- HLMN3)*HLMN2/HLMN4+HLMN1),DRAWNULL),CROSSDOT,LINETHICK6,COLORFF77FF;
好運(yùn)!:IF(TJA<2 AND CROSS(紅紅的天,2),((100- HLMN3)*HLMN2/HLMN4+HLMN1),DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
ND:=FLOOR(C/10);
DIF:=IF(TJA<2,EMA(CLOSE,12)-EMA(CLOSE,26),DRAWNULL);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
MACD2:=((MACD*INTPART((2500/(1+ND)))+50-HLMN3)*HLMN2/HLMN4+HLMN1);
STICKLINE(TJA<2 AND MACD>=0,((50-HLMN3)*HLMN2/HLMN4+HLMN1),MACD2,0,0),COLOR0000FF,LINETHICK3;
STICKLINE(TJA<2 AND MACD<0,((50-HLMN3)*HLMN2/HLMN4+HLMN1),MACD2,0,0),COLORFFFF00,LINETHICK3;
IF(TJA<2,((DIF*INTPART((2500/(1+ND)))+50-HLMN3)*HLMN2/HLMN4+HLMN1),DRAWNULL),COLORFFFFFF;
IF(TJA<2,((DEA*INTPART((2500/(1+ND)))+50-HLMN3)*HLMN2/HLMN4+HLMN1),DRAWNULL),COLOR00FFFF;
IF(TJA<2,C,DRAWNULL),COLORFF0000;
IF(TJA<2,REF(H,GDSJ),DRAWNULL),COLORFFFFFF,LINETHICK1;
DRAWICON(TJA<2 AND 過頂,HHHH,1);
DRAWICON(TJA<2 AND 沖高,HHHH,23);
{強(qiáng)弱界定}
MMA30:=EMA(CLOSE,30)-(Q2+Q3)/2*0.001;
強(qiáng)弱界定:=EMA(CLOSE,900)-(Q2+Q3)/2*0.001;
DRAWBAND(IF(PERIOD=0 AND TJA>1,MMA30,DRAWNULL),RGB(130,50,0),強(qiáng)弱界定,RGB(0,80,80));
DRAWICON(PERIOD=0 AND CROSS(MMA30,強(qiáng)弱界定),H,1);
IF(PERIOD=0 AND TJA>2,強(qiáng)弱界定,DRAWNULL),COLOR888800;
{金龍喜舞}
日時(shí)轉(zhuǎn)換:=IF(PERIOD=5,120,240);
QZS:=(EMA(CLOSE,10)+EMA(CLOSE,32))/2-(Q2+Q3)/2*0.001;
VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2-(Q2+Q3)/2*0.001;
VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2-(Q2+Q3)/2*0.001;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
DRAWBAND(IF(PERIOD=0 AND TJA>1,MMA30,DRAWNULL),RGB(80,20,20),EMA(VAR1,60),RGB(0,150,30));
IF(PERIOD=0 AND TJA>2,EMA(VAR1,60),DRAWNULL),COLOR666666;
IF(PERIOD=0 AND TJA>2,MMA30,DRAWNULL),COLOR666666;
牽引線:=VAR1,COLORYELLOW;
強(qiáng)弱線:=EMA(VAR1,日時(shí)轉(zhuǎn)換),POINTDOT,COLORFF00FF;
趨勢關(guān)注:=IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量價(jià)關(guān)注:=IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
沖擊量:=IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;
強(qiáng)勢區(qū):=IF(VAR1>強(qiáng)弱線,1,DRAWNULL),NODRAW,COLORRED;
止損區(qū):=IF(VAR1<強(qiáng)弱線,1,DRAWNULL),NODRAW,COLORGREEN;
IF(PERIOD=0 AND TJA>2, EMA(VAR1,日時(shí)轉(zhuǎn)換),DRAWNULL),POINTDOT,COLORFFFFFF;
IF(PERIOD=0,((50-HLMN3)*HLMN2/HLMN4+HLMN1),DRAWNULL),COLOR999999,LINETHICK2;
{盤龍駙鳳};
DDM:=((100-HLMN3)*HLMN2/HLMN4+HLMN1);
DDL:=((0-HLMN3)*HLMN2/HLMN4+HLMN1);
望喜1:=IF(PERIOD=0 AND TJA>0,IF(((綠喜%+50-HLMN3)*HLMN2/HLMN4+HLMN1)>DDM,DDM,((綠喜%+50- HLMN3)*HLMN2/HLMN4+HLMN1)),DRAWNULL),COLOR00FF00,LINETHICK1;
盤龍1:=IF(PERIOD=0 AND TJA>0,IF(((紅喜%+50-HLMN3)*HLMN2/HLMN4+HLMN1)>DDM,DDM,((紅喜%+50- HLMN3)*HLMN2/HLMN4+HLMN1)),DRAWNULL),COLOR00FFFF,LINETHICK2;
盤龍:IF(PERIOD=0 AND TJA>0,IF(盤龍1<DDL,DDL,盤龍1),DRAWNULL),COLORFF00FF,LINETHICK2;
望喜:IF(PERIOD=0 AND TJA>0,IF(望喜1<DDL,DDL,望喜1),DRAWNULL),COLOR00FF00,LINETHICK2;
STICKLINE(PERIOD=0 AND FILTER(T,239)>0,HLMAX,HLMIN,1,0),COLORWHITE;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢線:=EMA(V11,3);
V12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100;
準(zhǔn)備現(xiàn)金: STICKLINE(TJA<2 AND 趨勢線<=13,((0-HLMN3)*HLMN2/HLMN4+HLMN1),((10-HLMN3)*HLMN2 /HLMN4+HLMN1),5,0),COLORLIGREEN;
AA:=(趨勢線<=13) AND FILTER((趨勢線<=13),15);
買入股票: STICKLINE(TJA<2 AND 趨勢線<=13 AND V12>13,((0-HLMN3)*HLMN2/HLMN4+HLMN1),((20-HLMN3)*HLMN2/HLMN4+HLMN1),5,0),COLOR0099FF;
BB:= (趨勢線<=13 AND V12>13) AND FILTER((趨勢線<=13 AND V12>13),10) ;
見頂清倉: STICKLINE(TJA<2 AND 趨勢線>=90 AND V12,((0-HLMN3)*HLMN2/HLMN4+HLMN1),((20-HLMN3)*HLMN2/HLMN4+HLMN1),5,0),COLORRED;
通達(dá)信雙喜臨門分時(shí)買賣指標(biāo)公式實(shí)例圖解:
通達(dá)信雙喜臨門分時(shí)買賣指標(biāo)公式
- ·通達(dá)信頂部出倉分時(shí)指標(biāo)公式
- ·通達(dá)信主力資金分時(shí)指標(biāo)公式
- ·通達(dá)信主力散戶分時(shí)指標(biāo)公式
- ·通達(dá)信高拋低吸分時(shí)指標(biāo)公式
- ·通達(dá)信漲停分時(shí)主圖指標(biāo)公式
- ·通達(dá)信籌碼分布分時(shí)指標(biāo)公式
- ·通達(dá)信分時(shí)監(jiān)控頂?shù)踪I賣指標(biāo)公式
- ·通達(dá)信分時(shí)低部頂部頂?shù)字笜?biāo)公式
- ·通達(dá)信分時(shí)組合主力買賣盤外內(nèi)盤差指標(biāo)公式
- ·通達(dá)信陽光猛虎出籠分時(shí)指標(biāo)公式
- ·通達(dá)信冷眼分時(shí)多空買賣指標(biāo)公式
- ·通達(dá)信機(jī)構(gòu)分時(shí)指標(biāo)公式