AMV0:=VOL*(O+C)/2; BS:SUM(AMV0,88)/SUM(VOL,88),COLORMAGENTA,LINETHICK2; CG:MA(C,17),COLORCYAN,LINETHICK2; FL:HHV(CG,2),COLORGREEN; FS:CG-(FL-CG),COLORYELLOW,LINETHICK2; MA6:MA(C,6),COLORWHITE,LINETHICK0; MA18:MA(C,18),COLOR0099FF,LINETHICK0; 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); STICKLINE(買線>=賣線,LOW,HIGH,0.1,0),COLORRED; STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLORRED; {STICKLINE(買線<賣線,LOW,HIGH,0.1,0),COLOR148A14;} STICKLINE(買線<賣線,CLOSE,OPEN,3,0),COLOR148A14; F:=100*(C-REF(C,1))/REF(C,1); 今小昨:=IF(C<REF(O,1) AND F<0,1,0); P1:=今小昨; 今小前:=IF(C<REF(O,2) AND F<0,1,0); P2:=今小前; STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),OPEN,CLOSE,3,0),COLORMAGENTA; STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1 AND CROSS(ZIG(3,3) ,REF(ZIG(3 ,3),1)),H,L,0.3,0),COLORMAGENTA; STICKLINE(TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,O,C,3,0),COLORBLUE ; STICKLINE(TROUGHBARS(3,3,1)=0 AND HIGH>LOW+0.01,H,L,0.3,0),COLORBLUE ;
藍色出現(xiàn)關注或買進,待第二天粉色出現(xiàn)逢低堅決買進;
逃頂王公式
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; Q3:=SMA(Q2,9,1); Q4:=SMA(Q3, 3, 1); 長趨勢:3*Q3-2*Q4,COLORWHITE,LINETHICK3; 趨勢線:EMA(Q3, 3),COLORRED,LINETHICK3; DRAWTEXT(CROSS(趨勢線, 長趨勢) AND REF(長趨勢,1)>80, REF(長趨勢,3), '頂'),COLORRED,LINETHICK5; 逢低買: DRAWTEXT(REF(CROSS(趨勢線,長趨勢),82) AND 趨勢線>1.3*長趨勢,長趨勢,'逢低買'),LINETHICK1; 買: DRAWTEXT(REF(CROSS(長趨勢,趨勢線),1) AND 長趨勢>1.3*趨勢線,趨勢線,'買'),COLORRED,LINETHICK1; VAR3:PEAKBARS(3,15,1)<10; VAR5:=IF(VAR3=1,2,0); 頂:= IF(VAR5=2,2,0); 頂A:IF(頂>REF(頂,1),50,0),COLORGREEN; DRAWTEXT(頂A=50,45,'快逃'),COLOR00FF00; 金叉: CROSS(長趨勢,趨勢線); DRAWTEXT(金叉,趨勢線,'★'),COLORRED;
|