技術(shù)手法馳騁股市。 如何判斷一個(gè)指標(biāo)是否是好指標(biāo)? 指標(biāo)的意義在于提示主力的異動(dòng)。那么怎么才有利于我們更快更容易把握住主力脈搏呢?我們應(yīng)該力求指標(biāo)及時(shí)的、準(zhǔn)確的、明確的、簡(jiǎn)潔的、直觀的將主力的異動(dòng)匯報(bào)給我們。 及時(shí)、準(zhǔn)確是指標(biāo)的生命線,不準(zhǔn)確或不及時(shí)的信號(hào)都會(huì)貽誤戰(zhàn)機(jī),這是指標(biāo)的內(nèi)在要求。 但是指標(biāo)作為一種圖形化的信息,達(dá)到人的大腦需要經(jīng)過(guò)視覺系統(tǒng)的轉(zhuǎn)化,為了更快捷的進(jìn)行信息轉(zhuǎn)化,勢(shì)必要求指標(biāo)所呈現(xiàn)的圖形簡(jiǎn)明扼要,能讓人直觀的把握要領(lǐng),否則,讓人看得暈頭轉(zhuǎn)向,同樣會(huì)降低決策效率和反應(yīng)速度。因此,這是指標(biāo)的外在要求。 綜合上述,好的指標(biāo)應(yīng)該是及時(shí)、準(zhǔn)確、簡(jiǎn)明、直觀的。這是我們判斷指標(biāo)好壞的終極標(biāo)準(zhǔn)! 我見過(guò)很多指標(biāo),要么失之過(guò)簡(jiǎn)(簡(jiǎn)單的簡(jiǎn)),要么失之過(guò)繁 ,一個(gè)沒(méi)有深度,一個(gè)眼花繚亂,都不能很好的為操盤服務(wù)。我個(gè)人覺得,公式的編寫應(yīng)盡量將繁雜的信息簡(jiǎn)化,這種簡(jiǎn)化主要體現(xiàn)在優(yōu)化畫面和整合買賣信號(hào)上,即使是復(fù)合式的指標(biāo)公式,也盡量以簡(jiǎn)明的色帶、圖標(biāo)呈現(xiàn)出來(lái),盡量減少不必要的雜亂的線條,雖然信息量較大,但是依然清爽。 以上就是我作為一個(gè)基本面為前提下的技術(shù)分析派的一點(diǎn)心得,希望能引起同道的共鳴。 上漲雷達(dá)主圖周期籌碼上漲周期雷達(dá)通達(dá)信主圖雙副圖指標(biāo) 主圖指標(biāo) 參數(shù) M1 2 500 5 M2 2 500 13 M4 2 500 50 突破:REF(EMA(C,5),1)NODRAW,COLORFF00FF,LINETHICK1; A1X:=(EMA(C,5)-突破)/突破*100,NODRAW; 出擊:IF(A1X>=0,REF(EMA(C,5),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)NODRAW,COLORRED,LINETHICK1; 休假:IF(A1X<0,REF(EMA(C,5),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)NODRAW,COLORGREEN,LINETHICK1; STICKLINE(A1X>=0,出擊,突破,0,-1)NODRAW,COLORRED; STICKLINE(A1X<0,休假,突破,0,-1)NODRAW,COLORGREEN; {DRAWBAND(MA(CLOSE,5),RGB(55,55,55),MA(CLOSE,8),RGB(55,55,55));} DRAWBAND(MA(CLOSE,5),RGB(200,0,0),MA(CLOSE,13),RGB(0,200,0)),COLORRED; DRAWKLINE(H,O,L,C),COLORRED; 陽(yáng)漲幅:=4;{可自調(diào)4-10} 陽(yáng)倍量:=1.90;{王子倍量倍數(shù)} 單陽(yáng):=C>O*(1+陽(yáng)漲幅/100) AND VOL>REF(VOL,1)*陽(yáng)倍量; LS0:=BARSLAST(單陽(yáng)); 不破價(jià):=REF(L,LS0); 單陽(yáng)距今T數(shù):LS0,NODRAW,COLORGREEN; P1:=5; P2:=10; P3:=20; P4:=30; ZT1:=BARSLAST((C/REF(C,1)-1)*100>9.5); 最后漲停距今數(shù):ZT1,NODRAW,COLORYELLOW; MA1:MA(CLOSE,M1)COLORWHITE; MA2:MA(CLOSE,M2)COLORYELLOW; MA4:MA(CLOSE,M4),COLORGREEN; STICKLINE(C>=MA2 && C>=O,C,O,3,0),COLORRED; STICKLINE(C>=MA2&& C>=O,H,L,0,0),COLORRED; STICKLINE(C>=MA2&& C<O,C,O,3,1),COLORRED; STICKLINE(C>=MA2 && C<O,O,H,0,0),COLORRED; STICKLINE(C>=MA2 && C<O,C,L,0,0),COLORRED; STICKLINE(CROSS(A1X,0),C,O,4,0)COLORWHITE; STICKLINE(CROSS(0,A1X),C,O,4,0)COLORGREEN; Z1:=STRCAT(HYBLOCK,' '); Z2:=STRCAT(Z1,DYBLOCK); Z3:=STRCAT(Z2,' '); DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED; AAA1:=STRCAT('滬深總上漲數(shù):',CON2STR(DYNAINFO(60),0)); AAA2:=STRCAT('滬深總下跌數(shù):',CON2STR(DYNAINFO(61),0)); AAA3:=STRCAT('滬深總成交金額:',CON2STR(DYNAINFO(62)/100000000,0)); DRAWTEXT_FIX(ISLASTBAR,0.01,0.18,0,AAA1),COLORRED; DRAWTEXT_FIX(ISLASTBAR,0.01,0.12,0,AAA2),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR,0.01,0.06,0,AAA3),COLORYELLOW; YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6; VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2)); VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)); VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1); 均價(jià)線:=AMOUNT/V/100; 漲停:=IF(REF(C,1)*1.1-C<0.01 ,1,0); STICKLINE(漲停,OPEN,CLOSE,3,0),COLORRED; STICKLINE(漲停,OPEN,CLOSE,3,0),COLORRED; STICKLINE(漲停,H,L,0,0),COLORRED; MA13:MA(C,13)NODRAW,COLORGRAY; MA21:MA(C,21)NODRAW,COLORWHITE; 支撐線:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,NODRAW; LC:=REF(CLOSE,1); 操作線:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100; 趨勢(shì)線:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100; 震倉(cāng)線:=45; 震倉(cāng)線2:=50; 逃命線:=80; 抄底線:=20; 絕底線:=5; PP2:=操作線<震倉(cāng)線2 AND REF(操作線,1)>震倉(cāng)線2 ; PP:=操作線<震倉(cāng)線 AND REF(操作線,1)>震倉(cāng)線 ; PP3:=操作線<抄底線 AND REF(操作線,1)>抄底線; HH:=COUNT(漲停,13)>=1; STICKLINE(PP2 AND HH,OPEN,CLOSE,2.3,0),COLORBLUE; STICKLINE(PP AND HH,OPEN,CLOSE,2.3,0),COLORBLUE; STICKLINE(PP3 AND HH,OPEN,CLOSE,2.3,0),COLORBLUE; A:=SMA(L,4,3) ; STICKLINE(A AND REF(PP,1) AND HH ,A*0.97,A*0.9979,3,1),COLOR808080; STICKLINE(A AND REF(PP3,1) AND HH ,A*0.97,A*0.9979,3,1),COLORGREEN,LINETHICK2; DRAWICON(A AND REF(PP3,1) AND HH,L*0.999,1),COLORBLUE; DRAWICON(A AND REF(PP,1) AND HH,L*0.999,1),COLORBLUE; N1:=12; N2:=26; N3:=9; DIFF:=(EMA(CLOSE,N1) - EMA(CLOSE,N2)); MACD2:=MACD; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); DA:=6;FA:=5;CT:=1;P:=0;N:=3; NS:=IF((HHV(ABS(((HHV(CLOSE,DA)/LLV(CLOSE,DA))-1)),DA)>(10/100)),3,DA); MM:=IF(((P=0) OR (VOL=0)),MA(CLOSE,N1),((SUM(AMOUNT,N1)/SUM(VOL,N1))/100)); M1:=REF(MM,1)COLORYELLOW,LINETHICK1; 買入:=IF(CROSS(CLOSE,M1),M1,0); 賣出:=IF(CROSS(M1,CLOSE),M1,0); DW:=BARSLAST((賣出>0)); EX10:=HHV((買入>0),(DW+1)); BJ:=IF((EX10>REF(EX10,1)),買入,0); SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2); SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O; MR:=SC AND COUNT(SS,2); 必漲:=MR AND NOT(REF(MR,1)),COLORYELLOW; STICKLINE(必漲,OPEN,CLOSE,4,0),COLORFF00FF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,3,0), COLOR0044FF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.6,0), COLOR0077FF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.2,0), COLOR1199FF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.8,0), COLOR22BBFF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.4,0), COLOR33DDFF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1,0), COLOR33FFFF; STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,3,0), COLOR000055; STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.6,0), COLOR000077; STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.2,0), COLOR000099; 黃色底買:VAR19,COLOR33AACC,NODRAW; CO:=(C-O); STICKLINE(黃色底買,O,O+CO/3,3,0),COLOR335555; STICKLINE(黃色底買,O,O+CO/3,2,0),COLOR338888; STICKLINE(黃色底買,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(黃色底買,O,O+CO/3,1,0),COLOR33CCCC; STICKLINE(黃色底買,O,O+CO/3,0,0),COLOR33EEEE; 位置1:=不破價(jià) *0.998; 位置2:=不破價(jià) *0.98; LS11:=IF(1,LS0=1,單陽(yáng)); LS21:=IF(1,LLV(L,1)>REF(L,1),1); 單陽(yáng)不破:=LS11 AND LS21; STICKLINE(單陽(yáng)不破,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破,位置2,'1'),COLORGREEN; LS12:=IF(2,LS0=2,單陽(yáng)); LS22:=IF(2,LLV(L,2)>REF(L,2),1); 單陽(yáng)不破2:=LS12 AND LS22; STICKLINE(單陽(yáng)不破2,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破2,位置2,'2'),COLORGREEN; LS13:=IF(3,LS0=3,單陽(yáng)); LS23:=IF(3,LLV(L,3)>REF(L,3),1); 單陽(yáng)不破3:=LS13 AND LS23; STICKLINE(單陽(yáng)不破3,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破3,位置2,'3'),COLORGREEN; LS14:=IF(4,LS0=4,單陽(yáng)); LS24:=IF(4,LLV(L,4)>REF(L,4),1); 單陽(yáng)不破4:=LS14 AND LS24; STICKLINE(單陽(yáng)不破4,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破4,位置2,'4'),COLORGREEN; LS15:=IF(5,LS0=5,單陽(yáng)); LS25:=IF(5,LLV(L,5)>REF(L,5),1); 單陽(yáng)不破5:=LS15 AND LS25; STICKLINE(單陽(yáng)不破5,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破5,位置2,'5'),COLORGREEN; LS16:=IF(6,LS0=6,單陽(yáng)); LS26:=IF(6,LLV(L,6)>REF(L,6),1); 單陽(yáng)不破6:=LS16 AND LS26; STICKLINE(單陽(yáng)不破6,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破6,位置2,'6'),COLORGREEN; LS17:=IF(7,LS0=7,單陽(yáng)); LS27:=IF(7,LLV(L,7)>REF(L,7),1); 單陽(yáng)不破7:=LS17 AND LS27; STICKLINE(單陽(yáng)不破7,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破7,位置2,'7'),COLORGREEN; LS18:=IF(8,LS0=8,單陽(yáng)); LS28:=IF(8,LLV(L,8)>REF(L,8),1); 單陽(yáng)不破8:=LS18 AND LS28; STICKLINE(單陽(yáng)不破8,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破8,位置2,'8'),COLORGREEN; LS19:=IF(9,LS0=9,單陽(yáng)); LS29:=IF(9,LLV(L,9)>REF(L,9),1); 單陽(yáng)不破9:=LS19 AND LS29; STICKLINE(單陽(yáng)不破9,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破9,位置2,'9'),COLORGREEN; LS110:=IF(10,LS0=10,單陽(yáng)); LS210:=IF(10,LLV(L,10)>REF(L,10),1); 單陽(yáng)不破10:=LS110 AND LS210; STICKLINE(單陽(yáng)不破10,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破10,位置2,'10'),COLORGREEN; LS111:=IF(11,LS0=11,單陽(yáng)); LS211:=IF(11,LLV(L,11)>REF(L,11),1); 單陽(yáng)不破11:=LS111 AND LS211; STICKLINE(單陽(yáng)不破11,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破11,位置2,'11'),COLORGREEN; LS122:=IF(12,LS0=12,單陽(yáng)); LS222:=IF(12,LLV(L,12)>REF(L,12),1); 單陽(yáng)不破12:=LS122 AND LS222; STICKLINE(單陽(yáng)不破12,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破12,位置2,'12'),COLORGREEN; LS133:=IF(13,LS0=13,單陽(yáng)); LS233:=IF(13,LLV(L,13)>REF(L,13),1); 單陽(yáng)不破13:=LS133 AND LS233; STICKLINE(單陽(yáng)不破13,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破13,位置2,'13'),COLORGREEN; LS144:=IF(14,LS0=14,單陽(yáng)); LS244:=IF(14,LLV(L,14)>REF(L,14),1); 單陽(yáng)不破14:=LS144 AND LS244; STICKLINE(單陽(yáng)不破14,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破14,位置2,'14'),COLORGREEN; LS155:=IF(15,LS0=15,單陽(yáng)); LS255:=IF(15,LLV(L,15)>REF(L,15),1); 單陽(yáng)不破15:=LS155 AND LS255; STICKLINE(單陽(yáng)不破15,位置1,不破價(jià),4,0),COLORRED; DRAWTEXT(單陽(yáng)不破15,位置2,'15'),COLORGREEN; DRAWTEXT(單陽(yáng),L-L*0.004,'倍量'),COLOR00FFFF; ZGB:=VOL*100/HSCOL.HSCOL,NODRAW; DRAWTEXT(ZGB-REF(ZGB,1)>50,H,'解')COLORGREEN; β0:=(H-L)/2+L; α:=β0,LINETHICK0; β:=REF(β0,1),LINETHICK0,COLORGREEN; γ:=REF(β0,2),LINETHICK0,COLORMAGENTA; 高:=PLOYLINE(1,CONST(HHV(H,20))),COLOR880088,LINETHICK1; 止:=PLOYLINE(1,CONST(HHV(H,20)*0.95)),COLOR888888,LINETHICK1; IF(CONST(α>β) AND DYNAINFO(7)>0,DYNAINFO(7),DRAWNULL)DOTLINE,COLOR0000AA,LINETHICK1; IF(CONST(α<=β)AND DYNAINFO(7)>0,DYNAINFO(7),DRAWNULL)DOTLINE,COLOR00AA00,LINETHICK1; AA:=CLOSE/REF(C,1)>=1.09; BA:=CLOSE/REF(C,1)>=1.09; 副圖1 VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); ZM:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT; ZM1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT; MMB:=(SUM(ZM,30)+SUM(ZM1,30))/10,COLORYELLOW; SG:=MMB>0 AND REF(MMB,1)<MMB; 上攻周期:COUNT(SG,5),LINESTICK,COLORWHITE; JSC:=上攻周期<1; DBQD:=FILTER(COUNT(JSC,5)>3 AND NOT(JSC),10); DRAWICON(DBQD,2,1); DRAWBAND(上攻周期,RGB(255,120,120),3,RGB(0,0,0)); DRAWBAND(JSC,RGB(0,0,255),0.5,RGB(0,0,0)); STICKLINE(COUNT(上攻周期>3,5)>=3 AND SG,0,上攻周期,1.5,0),COLORRED; XG: COUNT(COUNT(上攻周期>3,5)>=3 AND SG,20)>4; 副圖2 LC:=REF(CLOSE,1); WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; 獲利籌碼:=CONST(WINNER(C)*100); SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)); 量能飽和:=(IF(SAT>1,1,SAT)*100); WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100; 活躍:=(WRSI-WR10); 活躍度比:=IF(活躍>=0,(活躍+100)/2,100-ABS((活躍-100)/2)); DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.25,1,STRCAT(STRCAT('量能飽和:',CON2STR(量能飽和,2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.52,1,STRCAT(STRCAT('活躍度比:',CON2STR(活躍度比,2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.75,1,STRCAT(STRCAT('獲利籌碼:',CON2STR(獲利籌碼,2)),'%')),COLORYELLOW; DRAWRECTREL(950,470,630,365,RGB(150,10,250)); DRAWRECTREL(950,710,630,610,RGB(150,10,250)); DRAWRECTREL(950,855,630,955,RGB(150,10,250)); DRAWRECTREL(950,470,630+CONST(量能飽和*(950-630)/100),365,RGB(0,100,0)); DRAWRECTREL(790,470,790,365,RGB(0,0,10)); DRAWRECTREL(950,710,630+CONST(活躍度比*(950-630)/100),610,RGB(0,100,0)); DRAWRECTREL(790,710,790,610,RGB(0,0,10)); DRAWRECTREL(950,855,630+CONST(獲利籌碼*(950-630)/100),955,RGB(0,100,0)); DRAWRECTREL(790,855,790,955,RGB(0,0,10)); 總漲幅周期:=350; 高點(diǎn)位:=REFDATE(HHV(H,總漲幅周期),DATE); 低點(diǎn)位:=REFDATE(LLV(L,總漲幅周期),DATE); 低位價(jià):=REF(L,BARSLAST(低點(diǎn)位=L)),COLORGREEN,NODRAW; 高位價(jià):=REF(H,BARSLAST(高點(diǎn)位=H)),COLORRED,NODRAW; 曾最大漲幅:=(高位價(jià)-低位價(jià))/低位價(jià)*100; 當(dāng)前漲幅:=(C-低位價(jià))/低位價(jià)*100; ZFA:=CON2STR(CONST(曾最大漲幅),2); ZFB:=CON2STR(CONST(當(dāng)前漲幅),2); ZFC:=STRCAT('【曾最大漲幅】:',ZFA); ZFD:=STRCAT(ZFC,'%'); ZFE:=STRCAT(ZFD,'【當(dāng)前總漲幅】:'); ZFF:=STRCAT(ZFE,ZFB); ZFG:=STRCAT(ZFF,'%'); {DRAWTEXT_FIX(ISLASTBAR,0.73,0.345,0,''),COLORRED; DRAWTEXT_FIX(ISLASTBAR,0.73,0.345,0,ZFG),COLORYELLOW}; AA1X:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/CAPITAL*100,IF(CLOSE<REF(CLOSE,1),- VOL/CAPITAL*100,0)),0)}; 成交額:=V*C/100,NODRAW;{萬(wàn)元} AA2X:=SUM((IF(((成交額/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交額,0)),0); AA3X:=SUM((IF(((成交額/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交額,0)),0); AA4X:=SUM((IF(((成交額/8<20) AND (CLOSE>(REF(CLOSE,1)))),成交額,0)),0); AA5X:=SUM((IF(((成交額/8<20) AND (CLOSE<(REF(CLOSE,1)))),成交額,0)),0); AA6X:=((AA2X+AA3X)+AA4X)+AA5X; DD1X:=1; AAA1:=STRCAT(STRCAT('機(jī)構(gòu)持有',CON2STR((100*AA2X)/AA6X,0)),'%'); AAA2:=STRCAT(STRCAT('散戶持有',CON2STR((100*AA3X)/AA6X,0)),'%'); DRAWTEXT_FIX(1,0.83,0,1,'《★籌碼分析★》'),COLORRED; DRAWTEXT_FIX(DD1X=1,0.63,0,0,AAA1),COLORMAGENTA; DRAWTEXT_FIX(DD1X=1,0.89,0,0,AAA2),COLORGREEN; VARA5:=CONST(AA2X/AA6X*100); DRAWRECTREL(950,220,630,115,RGB(150,10,250)); DRAWRECTREL(950,220,630+CONST(VARA5*(950-630)/100),115,RGB(0,100,0)); DRAWRECTREL(790,220,790,115,RGB(0,0,10)); 最近團(tuán)購(gòu)資訊 指標(biāo)類
|
|
來(lái)自: 常熟老李jlr5mr > 《通達(dá)信公式》