1>>通達信大資金流向系統(tǒng)指標公式紅柱:資金流入;藍柱:資金流;黃線:多方力量;綠線:空方力量。
ZC_1:=IF(L<DYNAINFO(7),0,IF(H>DYNAINFO(7),DYNAINFO(7)-(DYNAINFO(7)-H+0.02)/(H-L+0.02),0));
ZC_2:=DMA(ZC_1,V/CAPITAL)*100; 出貨:=IF(ZC_2>0 AND ZC_2>REF(ZC_2,1),ZC_2/20,0); 軸:0,COLOR00FF00; PJJ:=DMA((H + L + C * 2) / 4,0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=VOL / ((H - L) * 2 - ABS(C - O)); XVL:=IF(C > O,QJJ * (H - L),IF(C < O,QJJ * (H - O + (C - L)),VOL / 2)) + IF(C > O,0 - QJJ * (H - C + (O - L)),IF(C < O,0 - QJJ * (H - L),0 - VOL / 2)); ZLL:=VOL / CAPITAL; HSL1:=IF(ZLL > 10,10,ZLL); HSL:=XVL / 20 / 1.15; 攻擊流量:=HSL * 0.55 + REF(HSL,1) * 0.33 + REF(HSL,2) * 0.22; GJJ:=EMA(攻擊流量,8); LLJX:=EMA(攻擊流量,3); {股旁網(wǎng)-股票公式網(wǎng)站 www.GUpang.com} 流量:LLJX,COLORC875B7,COLORRED,NODRAW; STICKLINE(流量 > 0,流量,0,3,0)COLOR0000FF; STICKLINE(流量 < 0,流量,0,3,0),COLORFF4242; 流量基線:GJJ,COLOR00BBBB,COLORGREEN; STICKLINE(HSL * 0.4 >= 0,HSL * 0.4 * 1.5,0,0,1)COLORYELLOW; STICKLINE(HSL * 0.4 < 0,HSL * 0.4 * 1.5,0,0,1)COLORGREEN; ZJLL:=REF(LLJX,1); QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100); 流量幅%:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ))COLORMAGENTA,NODRAW; 力度:HSL / 1000,COLOR9B37FF,COLORRED,NODRAW; 周流量:SUM(LLJX,5),COLORFFBFDF,COLORMAGENTA,NODRAW; BB:=REF(周流量,1); ZQZJJ:=(周流量-BB)/BB*100; 周幅%:IF(周流量>0 AND BB<0,ABS(ZQZJJ),IF(周流量<0 AND BB<0 AND 周流量<BB,-ZQZJJ,ZQZJJ))COLORMAGENTA,NODRAW; VARQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VARQ2:=SMA(ABS(LOW-VARQ1),13,1)/SMA(MAX(LOW-VARQ1,0),10,1); VARQ3:=EMA(VARQ2,10); VARQ4:=LLV(LOW,33); VARQ5:=EMA(IF(LOW<=VARQ4,VARQ3,0),3)*100; 主力進場:STICKLINE(VARQ5>REF(VARQ5,1) AND 出貨<=0,0,VARQ5,7,0 ),COLOR00FFFF; 2>>通達信 財富滾滾--散戶主力資金線指標公式
BL:=VOL/CAPITAL*100; 資金進:=SUM(IF(CLOSE>OPEN,BL,0),20),LINETHICK0; 資金出:=SUM(IF(CLOSE<=OPEN,BL,0),20),LINETHICK0; 資金流向:SUM(資金進-資金出,3); STICKLINE(資金流向>0,0,資金流向,0.4,0),COLORLIBLUE; STICKLINE(資金流向<0,0,資金流向,0.8,0),COLORLIGRAY; VAR2:=IF(MONTH<12,1,1); VAR3:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); 主力:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13)*VAR2,LINETHICK4,COLORRED; 散戶:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933; DRAWTEXT(CROSS(主力,散戶) AND 主力<22,20,'起動'),LINETHICK2,COLOR0099FF; DRAWICON(CROSS(主力,散戶) AND 主力<22,25,1); DRAWTEXT(CROSS(主力,30) AND 散戶<主力,40,'上揚 '),LINETHICK2,COLOR00CCFF; DRAWICON(CROSS(主力,30) AND 散戶<主力,35,1); DRAWTEXT(CROSS(主力,65) AND 散戶<主力,90,'沖頂 '),LINETHICK2,COLOR9933FF; DRAWICON(CROSS(主力,65) AND 散戶<主力,70,2); DRAWTEXT(CROSS(主力,75) AND 散戶<主力,90,'小心被套'),LINETHICK2,COLORLIMAGENTA; DRAWICON(CROSS(主力,75) AND 散戶<主力,80,2); DRAWTEXT(CROSS(散戶,主力) AND 散戶>75,95,'頭部'),COLORLIRED; DRAWICON(CROSS(散戶,主力) AND 散戶>75,85,2); 買入脈沖:IF(CROSS(主力,散戶) AND 主力<35,55,5),LINETHICK3,COLORGREEN; 賣出脈沖:IF(CROSS(散戶,主力) AND 散戶>75,75,90),LINETHICK3,COLORRED; W1:=C=HHV(C,20); W2:=BARSLAST(W1); W3:=IF(W2>0,REF(C,W2),REF(C,W2)); W4:=CROSS(C,REF(W3,1)); DRAWICON(W4 AND COUNT(W4,5)=1,85,2); DRAWTEXT(W4=1,90,'↓快走'),COLORYELLOW; 3>>
VAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;
主力撤退:IF(VAR1<0,VAR1,0),COLORFEDCBA,LINETHICK2; 主力:IF(VAR1>0,VAR1,0),COLORRED,LINETHICK2; V1:=(C*2+H+L)/4*10; V2:=EMA(V1,13)-EMA(V1,34); V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5; 大戶撤退:IF(V4<0,V4,0),COLOR00FF00; 大戶:IF(V4>0,V4,0),COLORFF00FF; V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8; V6:=EMA(3*V5-2*SMA(V5,18,1),5); V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10; V8:=(INDEXC*2+INDEXH+INDEXL)/4; V9:=EMA(V8,13)-EMA(V8,34); VA:=EMA(V9,3); VB:=(V9-VA)/2; 大資金進場VB: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2; 大資金離場:IF(VB<=0,VB,0),COLORBLUE,LINETHICK2; 零為分界線:0,COLORWHITE,LINETHICK2; DRAWTEXT(ISLASTBAR AND C,VAR1,' 主力線:零軸上方可進場 中線可持股'),COLOR0000BB; DRAWTEXT(ISLASTBAR AND C,V4,' 大戶線:零軸下方短線必出且不抄底'),COLOR0000BB; DRAWTEXT(ISLASTBAR AND C,VB,' 大資金線:零軸下方需小心'),COLOR0000BB; |
|