2、,22),3)),COLOROODDDD,NODRAW;趨勢:IF(CAPITAIX1,EMA(量能,360),EMA(量能,21)),C0L0R008800,NODRAW;VAR3:=(量能-趨勢);VAR44:二SMA(RV,3,1);VAR55:二SMA(VAR44,3,1);STICKLINE(VAR3>0,20,10,5,1),COLOROOOOFF;STICKLINE(VAR3<0,100,90,10,1),COLOROOFFOO;DRAWICON(CROSS(VAR44,VAR55)ANDVAR
3、55<30,2,1);DRAWTCON(CROSS(VAR55,VAR44)ANDVAR55>30,97,2);DRAWBAND(VAR55,RGB(0,22,224),VAR44,RGB(255,50,50));KK:EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:SMA(KK,3,1),COLOROOFFFF;DRAWTEXT(CROSS(VAR44,VAR55)ANDCROSS(KK,DD),10/共振'),COLOROOFFFF;共振點:=(CROSS(VAR44,VAR55)AN
4、DCROSS(KK,DD));STTCKLTNE(共振點>0,0,100,2,0),C0L0R008888;STICKLINE(共振點>0,0,100,1.5,0),COLOROOAAAA;STICKLINE(共振點>0,0,100,0.8,0),COLOROODDDD;STICKLINE(共振點>0,0,100,0.3,0),COLOROOFFFF;VAR1:=1;VAR2:=((((2*CL0SE)+HIGH)+LOW)/4);低金叉進:20,COLORFFOOFF,L1NETH1CK2;高死叉tB:90
5、,COLORBLUE,LINETHICK2;VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);Cl:二(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFFOOFF,IJNETHTCK2;C2:二(EMA(((0.667*REF(Cl,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK2;條件:二CROSS(Cl,C2)ANDCl<40;條件O:=CROSS(C2,C1)ANDCl>90;TJ1:
6、二CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2)ANDREF(Cl,l)<20;TJ4:二CROSS(C2,C1)ANDREF(Cl,l)>80;DRAWTEXT(FILTER((REF(條件,1)AND(REF(LOW,1)>LOWORTJ2))OR(REF(條件,2)AND(REF(LOW,2)>LLV(LOW,3)ORTJ2))OR(REF(條件,3)AND(REF(LOW,3)>LLV(LOW,4)ORTJ2)),4),70/it'),COLORRED
7、;{DRAWTEXT(FILTER((REF(條件,1)AND(REF(LOW,1)>LOWORTJ2))OR(REF(條件,2)AND(REF(LOW,2)>LLV(LOW,3)ORTJ2))OR(REF(條件,3)AND(REF(LOW,3)>LLV(LOW,4)ORTJ2)),4),60/跌'),COLORRED;}DRAWTEXT(FILTER((REF(條件,1)AND(REF(LOW,1)>LOWORTJ2))OR(REF(條件,2)AND(REF(LOW,2)>LLV(LOW,3)ORTJ2))
8、OR(REF(條件,3)AND(REF(LOW,3)>LLV(LOW,4)ORTJ2)),4),65/買'),COLORRED;DRAWTEXT(條件,20,'買'),COLORRED;STICKLINE(條件,0,20,2,0),COLORRED;DRAWTEXT(條件0,85,'賣'),COLORBLUE;DRAWTEXT(CROSS(Cl,75),70,'險區(qū)J,COLORGREEN;DRAW