X_1:=STRCAT(HYBLOCK,40); X_2:=STRCAT(X_1,DYBLOCK); X_3:=STRCAT(X_2,40); DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(X_3,GNBLOCK)),COLORLIRED; DRAWTEXT_FIX(ISLASTBAR,0,0.03,0,EXTERNSTR(0,3)),COLORWHITE; DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,EXTERNSTR(0,6)),COLORLIBLUE; DRAWTEXT_FIX(ISLASTBAR,0,0.09,0,EXTERNSTR(0,12)),COLORLIGREEN; DRAWTEXT_FIX(ISLASTBAR,0,0.15,0,FGBLOCK),COLORLIMAGENTA; DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,EXTERNSTR(0,1)),COLORYELLOW; X_4:=ABS((3.14*CLOSE/4-EMA(CLOSE,20))/EMA(CLOSE,20)); X_5:=DMA(2.2*CLOSE/4,X_4); 分界線:EMA(X_5,200)*1.118,COLORMAGENTA,LINETHICK2; 持股線:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2; X_6:=CLOSE/分界線; X_7:=X_6*((1.88*CLOSE+HIGH+LOW)/4); X_8:=(X_7-分界線)/分界線/3.3; X_9:=X_7-X_8*X_7; 漲速線:IF(X_9<分界線 AND X_9<CLOSE*0.15,分界線*0.85,X_9),COLORYELLOW,LINETHICK2; X_10:=MA((LOW+HIGH+CLOSE)/3,5); 壓力:HHV(X_10,60),COLORCYAN,LINETHICK2; 支撐:MA(REF(LLV(CLOSE,30),1),2),COLORLIGRAY; 頂線:SUM(CLOSE,21)/29*1.6,DOTLINE,COLORFF9900; X_11:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,20))/EMA(CLOSE,20)); X_12:=DMA((2.15*CLOSE+LOW+HIGH)/4,X_11); 金線王:EMA(X_12,200)*1.118,COLOR0080FF; X_13:=CLOSE>REF(CLOSE,1)*1.093 AND CLOSE=HIGH; X_14:=DYNAINFO(13)>0; X_15:=REF(X_13,1) AND REF(X_13,2) AND (REF(CLOSE>LOW,1) OR REF(CLOSE>LOW,2)); X_16:=REF(X_13,3) AND REF(X_13,2); X_17:=X_15 OR X_16 AND REF(CLOSE>REF(CLOSE,1) AND
CLOSE>OPEN*1.02,1) AND CLOSE>OPEN AND CLOSE<REF(CLOSE,1) AND
LOW>REF(LOW,1) AND VOL<REF(VOL,1); DRAWTEXT(X_17,LOW*0.99,1231),COLORYELLOW; X_18:=CONST(LLVBARS(LOW,10)); X_19:=CONST(REF(HIGH,X_18)); X_20:=CONST(CURRBARSCOUNT); X_21:=CONST(BARSLAST(CURRBARSCOUNT>X_20+X_18 AND HIGH>X_19)); X_22:=CONST(REF(HIGH,X_21)); X_23:=CONST(BARSLAST(CURRBARSCOUNT>X_20+X_21 AND HIGH>X_22)); X_24:=CONST(REF(HIGH,X_23)); X_25:=10; X_26:=CONST(LLVBARS(LOW,X_25)); X_27:=CONST(REF(HIGH,X_26)); X_28:=CONST(CURRBARSCOUNT); X_29:=CONST(BARSLAST(CURRBARSCOUNT>X_28+X_26 AND HIGH>X_27)); X_30:=CONST(REF(HIGH,X_29)); X_31:=CONST(BARSLAST(CURRBARSCOUNT>X_28+X_29 AND HIGH>X_30)); X_32:=CONST(REF(HIGH,X_31)); 洗盤殺入線:DRAWLINE(CURRBARSCOUNT=10+1,X_32,ISLASTBAR,X_32,1),COLORGREEN; DRAWTEXT(ISLASTBAR,X_32,1232),COLORGREEN; X_33:=10; X_34:=CONST(HHVBARS(VOL,10)); 量能平臺(tái):IF(CURRBARSCOUNT<=X_33+3,CONST(IF(X_34=0,CLOSE,REF(CLOSE,X_34))),DRAWNULL),COLORLIRED; NOTEXT_新量能點(diǎn):IF(CURRBARSCOUNT=X_34+1,量能平臺(tái),DRAWNULL),CIRCLEDOT,COLORWHITE; DRAWTEXT(ISLASTBAR,量能平臺(tái),1233),COLORLIRED; STICKLINE(X_13,OPEN,CLOSE,1.1,0),COLORYELLOW; STICKLINE(CLOSE/REF(CLOSE,1)<0.93 AND LOW=CLOSE,OPEN,CLOSE,1,0),COLORGREEN;
|