五:MA(C,5),COLORWHITE; 十:MA(C,10),COLORYELLOW; 三十:MA(C,30),COLORGREEN; M120:MA(C,120),LINETHICK2,COLORLIGRAY; 山谷:=MA(C,5)>MA(C,10)
AND MA(C,10)>MA(C,30) AND CROSS(MA(C,10),MA(C,30)); DRAWTEXT(山谷 AND
MA(C,5)<MA(C,120),MA(C,30)-0.08,'銀山谷'),COLORMAGENTA; DRAWTEXT(山谷 AND
MA(C,30)>MA(C,120),MA(C,30)-0.08,'金山谷'),COLORYELLOW; {漲停做記號(hào)} CM:=REF(C,1); 漲停:=IF((C-CM)*100/CM>=9.9,1,0); STICKLINE(漲停,OPEN,CLOSE,3.8,0),COLORMAGENTA;
{K線實(shí)體部分畫(huà)洋紅色,寬度為2,畫(huà)實(shí)線實(shí)心柱} STICKLINE(漲停,H,L,0,0),COLORLIRED;
{K線影線部分畫(huà)紫紅色,寬度為0?,畫(huà)實(shí)線實(shí)心柱}; {跌停做記號(hào)} 跌停:=IF((C-CM)*100/CM<=-9.9,1,0); STICKLINE(跌停,OPEN,CLOSE,3.8,0),COLORGREEN;
{K線實(shí)體部分畫(huà)綠色,寬度為2,畫(huà)實(shí)線實(shí)心柱} STICKLINE(跌停,H,L,0,0),COLORGREEN;{K線影線部分畫(huà)綠色,寬度為0?,畫(huà)實(shí)線實(shí)心柱}; {黑馬起飛點(diǎn)} 實(shí)在1:=MA(C,5)>MA(C,10) AND
MA(C,10)>MA(C,20) AND O<MA(C,10) AND C>MA(C,5) AND
C<30 AND
V<MA(V,60); DRAWTEXT(實(shí)在1,MA(C,20)*0.95,'一陽(yáng)穿雙'),COLORCYAN; DRAWTEXT(實(shí)在1,MA(C,20)*0.9,'無(wú)量黑馬等止跌'),COLORCYAN; STICKLINE(實(shí)在1,MA(C,20)*0.9,MA(C,20)*0.95,0.01,0),COLORCYAN; 實(shí)在2:=MA(C,5)>MA(C,10)
AND MA(C,10)>MA(C,20) AND O<MA(C,10) AND C>MA(C,5) AND
C<30 AND V>MA(V,60) AND
COUNT(V>MA(V,60),2)=1; DRAWTEXT(實(shí)在2,MA(C,20)*0.95,'一陽(yáng)穿雙'),COLORWHITE; DRAWTEXT(實(shí)在2,MA(C,20)*0.9,'有量黑馬起飛'),COLORWHITE; STICKLINE(實(shí)在2,MA(C,20)*0.9,MA(C,20)*0.95,0.01,0),COLORWHITE;
|