HJ_1:=REF(CLOSE,1); HJ_2:=SUM(vol,2)/((HHV(HIGH,2)-LLV(LOW,2))*100); HJ_3:=(CLOSE-HJ_1)*HJ_2; HJ_4:=SUM(HJ_3,0); HJ_5:=SMA(HJ_4,10,1); HJ_6:=Sma(HJ_4,20,1); LON:HJ_5-HJ_6; LONMA:MA(LON,10); LONT:LON,COLORstICK; HJ_7:=CLOSE=HHV(CLOSE,60); HJ_8:=BArslAST(HJ_7); HJ_9:=IF(HJ_8>0,REF(CLOSE,HJ_8),REF(CLOSE,HJ_8)); HJ_10:=crOSS(CLOSE,REF(HJ_9,1)); 季:HJ_10 AND COUNT(HJ_10,5)=1,LINETHICK0,COLORRED; STICKLINE(季,0,LON,6,0),COLORRED; HJ_11:=CLOSE=HHV(CLOSE,120); HJ_12:=BARSLAST(HJ_11); HJ_13:=IF(HJ_12>0,REF(CLOSE,HJ_12),REF(CLOSE,HJ_12)); HJ_14:=CROSS(CLOSE,REF(HJ_13,1)); 半:HJ_14 AND COUNT(HJ_14,5)=1,LINETHICK0,COLORCYAN; STICKLINE(半,0,LON,6,0),COLORCYAN; HJ_15:=CLOSE=HHV(CLOSE,250); HJ_16:=BARSLAST(HJ_15); HJ_17:=IF(HJ_16>0,REF(CLOSE,HJ_16),REF(CLOSE,HJ_16)); HJ_18:=CROSS(CLOSE,REF(HJ_17,1)); 年:HJ_18 AND COUNT(HJ_18,5)=1,LINETHICK0,COLORGREEN; STICKLINE(年,0,LON,6,0),COLORGREEN; HJ_19:=HIGH=HHV(HIGH,60); HJ_20:=BARSLAST(HJ_19); HJ_21:=IF(HJ_20>0,REF(HIGH,HJ_20),REF(HIGH,HJ_20)); HJ_22:=HIGH=HHV(HIGH,120); HJ_23:=BARSLAST(HJ_22); HJ_24:=IF(HJ_23>0,REF(HIGH,HJ_23),REF(HIGH,HJ_23)); HJ_25:=HIGH=HHV(HIGH,250); HJ_26:=BARSLAST(HJ_25); HJ_27:=IF(HJ_26>0,REF(HIGH,HJ_26),REF(HIGH,HJ_26)); 季縱:CLOSE/HJ_21,LINETHICK0,COLORRED; 季橫:HJ_20,LINETHICK0,COLORRED; 半縱:CLOSE/HJ_24,LINETHICK0,COLORCYAN; 半橫:HJ_23,LINETHICK0,COLORCYAN; 年縱:CLOSE/HJ_27,LINETHICK0,COLORGREEN; 年橫:HJ_26,LINETHICK0,COLORGREEN; 突破:季 OR 半 OR 年,LINETHICK0,COLORYELLOW; |
|