2、MA(CLOSE,5)>REF(EMA(CLOSE,5),1),5),NODRAW;KL:二IF(山>0,2*火,0);趨勢(shì):二KL/2,C0L0REE687B,NODRAW;VARL1:二(EMA(C,12)-EMA(C,26))*100+50;VARL2:=EMA(VARL1,9);VARL3:二((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;VARL4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VARL5:=SMA(VARL4,13,8);VARL6:二S
3、MA(VARL3,21,8);低位線:=1F((趨勢(shì)-VARL6<(-70)),0,-5);DRAWBAND(低位線,RGB(00,300,150),-5,RGB(00,300,150));QS:=3*SMA((CLOSE-LLV(LOW,27))/(IIIIV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);高位線:=IF((QS-VARL6>85),0,-5);DRAWBAND(高位線,R
4、GB(255,20,147),-5,RGB(255,20,147));KI:EMA(VAR2,5),COLORLIBLUE,NODRAW;K2:SMA(VAR2,5,1),COLORYELLOW,NODRAW;K:EMA((K1-K2),2),COLORWHITE,NODRAW;DRAWBAND(85,RGB(100,100,100),85+K,RGB(128,00,00));KK1:=IF(K>12,90,85),COLORCYAN;KK2:=IF(K<-12,80,85),COLORCYAN;DRAWBAND(KK1,RGB(200,200,
5、200),KK2,RGB(200,200,200));DRAWBAND(KI,RGB(400,200,00),K2,RGB(50,300,100));STTCKLTNE(C>0.1,15,15,1,0),COLORCYAN;STICKLINE(OO.1,50,50,1,0),COLORCYAN;LC:=REF(CLOSE,1);VAR01:=C-REF(C,1);VAR02:二1OO*EMA(EMA(VARO1,6),6)/EMA(EMA(ABS(VARO1),6),6);MA5:=EMA(C,5);MA13:二EMA(C,13);UP:=DRA
6、WLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MAI3))+1),0),COLOROOOOFF;DOWN:二DRAWLINE(H二HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L二LLV(L,BARSLAST(CROSS(M
7、A13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0),COLOROOFFOO;BT:=(LLV(VAR02,2)=LLV(VAR02,7)ANDCOUNT(VAR02<0,2)ANDCROSS(VAR02,MA(VAR02,2)))ANDREF(DOWN,1)〈REF(DOWN,2)ANDUP>REF(DOWN,1);STICKLINE(BT,85,100,2,0),C0L0R000088;STICKLINE(BT,85,100,1,0),COLOROOOOCC;STICKLINE(BT,85,10
8、0,0.22,0),COLOROOOOFF;TJ1:二REF(DOWN,1)〈REF(DOWN,2)ANDUP>REF(DOWN,1)A