量價:=(VOL/CLOSE)/3; A2:=SUM((IF(((量價>0.20) AND (CLOSE>(REF(CLOSE,1)))),量價,0)),0); A3:=SUM((IF(((量價>0.20) AND (CLOSE<(REF(CLOSE,1)))),量價,0)),0); A6:=A2 A3;DD1:=1;比:=A2/A3; AAA1:=STRCAT(STRCAT('買= ',CON2STR((100*A2)/A6,0)),'%'); AAA2:=STRCAT(STRCAT('賣= ',CON2STR((100*A3)/A6,0)),'%'); AAA3:=STRCAT(STRCAT('差= ',CON2STR((100*(A2-A3))/A6,0)),'%'); DRAWTEXT_FIX(DD1=1,0,0.04,0,AAA1),COLORRED; DRAWTEXT_FIX(DD1=1,0,0.12,0,AAA2),COLORGREEN; DRAWTEXT_FIX(DD1=1,0,0.20,0,AAA3),COLOR00FFFF; DRAWTEXT_FIX(比>2,0,0.40,0,'漲'),COLORCYAN; DRAWTEXT_FIX(比>2,0,0.48,0,'停'),COLORMAGENTA; DRAWTEXT_FIX(比>2,0,0.56,0,'板'),COLORRED; 中期線:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4) 100; DRAWTEXT(比<1.1,(DYNAINFO(5) DYNAINFO(6))/2,'○'),COLORGREEN; DRAWTEXT(比>1.5,(DYNAINFO(5) DYNAINFO(6))/2,'○'),COLORCYAN; DRAWTEXT(比>2,(DYNAINFO(5) DYNAINFO(6))/2,'○'),COLORMAGENTA; DRAWTEXT(比>2.5,(DYNAINFO(5) DYNAINFO(6))/2,'○'),COLORRED; DRAWTEXT((比>1.1 AND 中期線<5),(DYNAINFO(5) DYNAINFO(6))/2,'●'),COLORWHITE; DRAWTEXT((比<1.1 AND 中期線>98.0),(DYNAINFO(5) DYNAINFO(6))/2,'●'),COLORWHITE; DRAWTEXT((比>1.1 AND 中期線<5),C,'-買'),COLORYELLOW; DRAWTEXT((比<1.1 AND 中期線>98.0),C,'-賣'),COLORYELLOW; 均價:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK1; TT:=BARSCOUNT(C);均:=MA(C,TT); 上均線:=均 2*STD(C,3);下均線:=均-2*STD(C,3); 時長:=TIME>93000;漲幅:=C/REF(C,1)>1.02;跌幅:=C/REF(C,1)<0.98; 橫盤:=((HHV(C,TT)-LLV(C,TT))/C)<0.05;YY:=SMA(VOL,30,1); 放量:=(YY-LLV(LLV(YY,1),30))/(HHV(HHV(YY,1),30)-LLV(LLV(YY,1),30))>0.95; 漲跌幅:=漲幅 OR 跌幅; 橫漲1:=漲跌幅=0 AND 橫盤 AND 放量 AND CROSS(均價,均); DRAWTEXT(FILTER(橫漲1,10),均價,'--突破'),COLORCYAN; DRAWICON(FILTER(橫漲1,10),均價,1); XX:=SUM(AMOUNT,BARSCOUNT(CLOSE))/SUM(V*100,BARSCOUNT(CLOSE)); 主力:=EXPMA(CLOSE/XX,20);大戶:=EXPMA(CLOSE/XX,60);散戶:=EXPMA(CLOSE/XX,120); 底:=1;1.02,NODRAW;高:=1.03; AA:=主力>大戶 AND 主力>1.003 AND 大戶>散戶 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60); DRAWICON(主力>大戶 AND 大戶>散戶 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60) AND 主力=HHV(主力,30) AND CROSS(主力,1.003),C,25); DRAWTEXT(主力>大戶 AND 大戶>散戶 AND C>EXPMA(C,20) AND EXPMA(C,10)>EXPMA(C,20) AND EXPMA(C,20)>EXPMA(C,60) AND 主力=HHV(主力,30) AND CROSS(主力,1.003),C*0.999,'-主力'),COLORYELLOW; DRAWICON(CROSS(主力,1.02),C,26); DRAWTEXT(CROSS(主力,1.02),C*0.999,'-拉升'),COLORCYAN; DRAWICON(CROSS(主力,1.04),C,24); DRAWTEXT(CROSS(主力,1.04),C*0.999,'-沖漲停'),COLORLIMAGENTA; DRAWICON(CROSS(散戶,主力),C,6); DRAWTEXT(CROSS(散戶,主力),C*0.9995,'-小心'),COLORGREEN; DRAWICON(CROSS(散戶,大戶),C,6); DRAWTEXT(CROSS(散戶,大戶),C*0.9995,'-走弱'),COLORGREEN; 沒有最好,只有更好;
撇去復(fù)雜難懂的技術(shù)走線和眼花繚亂圖畫, 簡單\直觀\易懂\實用是俺一直努力的目標(biāo)。
|
|