VAR1:=IF(DATE<1340830 AND DATE>900101,1,0);
VAR2:=IF(MONTH<12,1,100000); VAR3:=(2*CLOSE+HIGH+LOW)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); 小股民: EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK2,COLOR00FF99; 新莊: EMA(0.667*REF(小股民,1)+0.333*小股民,2),LINETHICK2,coloryellow; 高拋低吸界線: 50*VAR1, CROSSDOT; DRAWTEXT(CROSS(小股民,新莊) AND 小股民<22,20,'絕望中誕生'),colorwhite,LINETHICK7 ; DRAWICON(CROSS(小股民,新莊) AND 小股民<22,25,1); DRAWTEXT(CROSS(小股民,30) AND 新莊<小股民,40,'猶豫中上揚(yáng)'),coloryellow, LINETHICK4; DRAWICON(CROSS(小股民,30) AND 新莊<小股民,35,1); DRAWTEXT(CROSS(小股民,65) AND 新莊<小股民,55,'無奈中嘆息'),colorred ,LINETHICK4 ; DRAWICON(CROSS(小股民,65) AND 新莊<小股民,70,2); DRAWTEXT(CROSS(小股民,75) AND 新莊<小股民,67,'小心清醒'),COLOR66FF99 ,LINETHICK4 ; DRAWICON(CROSS(小股民,75) AND 新莊<小股民,80,2); DRAWTEXT(CROSS(新莊,小股民) AND 新莊>75,80,'憧憬中毀滅'),colorgreen ,LINETHICK7 ; DRAWICON(CROSS(新莊,小股民) AND 新莊>75,85,2); 逢低吸吶: IF(CROSS(小股民,新莊) AND 小股民<40,25,10),colorred,LINETHICK2; 逢高減磅: IF(CROSS(新莊,小股民) AND 新莊>75,75,90),colorgreen,LINETHICK2; |
|