A股:CAPITAL/1000000,COLORWHITE; 換手:VOL/CAPITAL*100,POINTDOT; 外內(nèi)比:DYNAINFO(51); 五換:SUM(換手,5); 十換:SUM(換手,10); 二十換:SUM(換手,20); 持倉(cāng):EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3); 獲利比:WINNER(CLOSE)*100; A:=PERIOD; N:=IF(A=0,1,IF(A=1,5,IF(A=2,15,IF(A=3,30,IF(A=4,60,IF(A=5,240,DRAWNULL)))))); M:=IF(N=1,IF(MOD(FROMOPEN,1)=0,1, MOD(FROMOPEN,1)),IF(N=5,IF(MOD(FROMOPEN,5)=0,5, MOD(FROMOPEN,5)),IF(N=15,IF(MOD(FROMOPEN,15)=0,15, MOD(FROMOPEN,15)),IF(N=30,IF(MOD(FROMOPEN,30)=0,30, MOD(FROMOPEN,30)),IF(N=60,IF(MOD(FROMOPEN,60)=0,60, MOD(FROMOPEN,60)),IF(N=240,FROMOPEN,DRAWNULL)))))); 虛擬:IF(CURRBARSCOUNT=0,V*N/M,DRAWNULL),NODRAW,COLORWHITE; STICKLINE(CURRBARSCOUNT=0 AND N,虛擬,0,3,-1),COLORFFFFFF; 現(xiàn)量:VOL,NODRAW; 放量:(VOL/REF(VOL,1)>=1.5 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.5); DRAWTEXT(放量,VOL*1.05,'放'),COLORWHITE; 倍量:=(VOL/REF(VOL,1)>=2.5 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>2.5); DRAWTEXT(倍量,VOL*1.15,'倍'),COLORGREEN; AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主買:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED; 主賣:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)); STICKLINE(CLOSE<REF(CLOSE,1),0,VOL,3,0),COLORCYAN; STICKLINE(CLOSE>=REF(CLOSE,1) ,0,VOL,3,0),COLORRED; STICKLINE(主買>0,0,主買,3,0),COLORRED; STICKLINE(主賣<0 ,主買,主買,3,0),COLORGREEN;MA5:EMA(VOL,5),COLORWHITE,LINETHICK1; MA10:EMA(VOL,10),COLORYELLOW,LINETHICK1; MA20:EMA(VOL,20),COLORGRAY,LINETHICK2; MA90:EMA(VOL,90),COLORBLUE,LINETHICK2; MA3買:EMA(主買,3),COLORRED,LINETHICK1; MA5買:EMA(主買,5),COLORMAGENTA,LINETHICK1; MA10買:EMA(主買,10),COLORRED,LINETHICK1; MA20買:EMA(主買,20),COLORYELLOW,LINETHICK2; MA20買均:EMA(MA20買,2),COLORYELLOW,LINETHICK1; MA5賣:EMA(ABS(主賣),5),COLORGREEN,LINETHICK1; MA10賣:EMA(ABS(主賣),10),COLORCYAN,LINETHICK1; MA20賣:EMA(ABS(主賣),20),COLORBLUE,LINETHICK3; 資金異動(dòng):VOL/EMA(VOL,60)*100,COLORYELLOW; STICKLINE(資金異動(dòng)>=227,0,VOL,1,0),COLORYELLOW; DRAWTEXT(資金異動(dòng) AND (CROSS(VOL,MA90)) AND (MA5>MA10) AND (MA10>MA20) AND (MA20>MA90) AND (MA5買>MA5賣) DRAWTEXT(倍量 AND (CROSS(VOL,MA90)) AND (MA5>MA10) AND (MA10>MA20) AND (MA10>MA90) AND (MA5買>MA5賣) AND (MA5買>MA10買) AND (MA10買>MA10賣) AND (MA20買>MA20賣),(VOL *1.3),'縮賣'),COLORGREEN; DRAWTEXT(CROSS(MA5買,MA10買) AND (VOL>MA90) AND (CROSS(MA5買,MA20買)) AND (CROSS(MA10買,MA10賣)) AND (CROSS(MA10買,MA20賣)) AND (CROSS(MA20買,MA20賣)),(VOL *0.15),'買'),COLORWHITE; DRAWTEXT(CROSS(MA3買,MA5買) AND (VOL>MA90) AND (CROSS(MA5買,MA20買)) AND (CROSS(MA10買,MA10賣)) AND (CROSS(MA10買,MA20賣)) AND (CROSS(MA20買,MA20賣)),(VOL *0.1),' 買'),COLORGREEN; DRAWTEXT(CROSS(MA3買,MA10買) AND (VOL>MA90) AND (CROSS(MA5買,MA20買)) AND (CROSS(MA10買,MA10賣)) AND (CROSS(MA10買,MA20賣)) AND (CROSS(MA20買,MA20賣)),(VOL *0.05),'買'),COLORYELLOW; |
|
來(lái)自: 鄉(xiāng)間客 > 《我的圖書(shū)館》