VAR1:=EMA(EMA(CLOSE,3),1); 控盤:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; STICKLINE(控盤<0,控盤,0,2,0),COLORWHITE; A10:=CROSS(控盤,0); 無控盤:IF(控盤<0,控盤,0),COLORWHITE; STICKLINE(控盤>REF(控盤,3) AND 控盤>0,控盤,0,4,0),COLORRED; 輕度控盤:0,COLORRED; VAR2:=100*WINNER(CLOSE*0.95); STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盤>0,控盤,0,2,0),COLORFF00FF; 高度控盤:0,COLORFF00FF; STICKLINE(控盤<REF(控盤,3) AND 控盤>0,控盤,0,2,0),COLOR00FF00; 出貨:0,COLOR00FF00; DRAWTEXT(FILTER(無控盤<-14,10),無控盤,' 抄底'),COLORYELLOW; VAR3:(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100; 0, VOLSTICK; 拉升:IF(VAR3>0,VAR3,0); 短頂: STICKLINE(VAR3>9 AND VAR3< REF(VAR3,1),VAR3-8,0,3,0), COLORFF0000; 大頂: STICKLINE(VAR3>20 AND VAR3< REF(VAR3,1),VAR3-8,0,8,1),COLORFF0000; VAR4:=HHV(VAR3>20,10); 危險: STICKLINE(VAR4 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR3-8,0,4,0),COLOR008364; 止損: STICKLINE(VAR4 AND VAR3< REF(VAR3,1) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR3-8,0,3,0),COLORFF937F; 短底: STICKLINE(VAR3<-9 AND VAR3> REF(VAR3,1),VAR3+8,0,3,0), COLOR00AAFF; 大底: STICKLINE(VAR3<-20 AND VAR3> REF(VAR3,1),VAR3+8,0,7,0), COLORYELLOW; {陰陽乾坤} MID:EMA(CLOSE,17),LINETHICK1,COLORFFFFFF; UPPER:MID+2*STD(CLOSE,17),LINETHICK1,COLOR0000FF; LOWER:MID-2*STD(CLOSE,17),LINETHICK1,COLOR00CC00; UPPERO:MID+3*STD(CLOSE,17),LINETHICK1,COLORFF00FF; LOWERO:MID-3*STD(CLOSE,17),LINETHICK1,COLOR00AA00; VARA:=EMA(CLOSE,20); VAR1:IF(VARA>REF(VARA,2),VARA,IF(VARA<REF(VARA,2),VARA,VARA)),COLOR00FF00; PARTLINE(VARA,VARA>REF(VARA,2)),LINETHICK2,COLORFF00FF; PARTLINE(VARA,VARA=REF(VARA,2)),LINETHICK2,COLORFF0000; PARTLINE(VARA,VARA<REF(VARA,2)),LINETHICK2,COLOR00FF00; 買入:IF(VARA>REF(VARA,2) AND REF(VARA<=REF(VARA,2),1),1,0),LINETHICK0,COLORAAAAAA; DRAWICON(CROSS(LOW,LOWERO),LOWERO*0.96,6),ALIGN0;{紅寶石} DRAWICON(CROSS(HIGH,UPPERO),HIGH,7),ALIGN2;{綠寶石}; |
|