HH:=REF(HHV(H,DAYBARPOS),DAYBARPOS);LL:=REF(LLV(L,DAYBARPOS),DAYBARPOS);CC:=REF(C,DAYBARPOS);PRICE:=(HH+LL+CC)/3;CC1:=IF(DAYBARPOS=1,PRICE,0);VALUE1:=(SUM(CC1,SUMBARS(DAYBARPOS=1,5-1))+C)/5;VALUE2:=(SUM(CC1,SUMBARS(DAYBARPOS=1,20-1))+C)/20;AO:VALUE1-VALUE2,NODRAW;0;STICKLINE(AO =0,0,21,COLORRED,1); STICKLINE(AO 0,0,-21,COLORGREEN,1);N:=2;P:=(C+H+L)/3;LC:=REF(CLOSE,1);K:=SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100;GSBD:=MA(K,1),CIRCLEDOT,COLORRED;GSBD1:=MA(K,1);VAR1:=CROSS(GSBD,30);VAR2:=CROSS(70,GSBD);REF(VAR1 H REF(H,1)+2*MINPRICE,1),SPARK;REF(VAR2 L REF(L,1)-2*MINPRICE,1),SPARK;DRAWICON(VAR1 H REF(H,1)+2*MINPRICE,L,4),VALIGN0;DRAWICON(VAR2 L REF(L,1)-2*MINPRICE,H,5);TYP:=(HIGH+LOW+CLOSE)/3;CCI1:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)),COLORRED;TP:= CCI1,COLORYELLOW,NODRAW;DRAWICON( CROSS(CCI1 100,0.5),L,1),VALIGN0;REF(CROSS(CCI1 100,0.5) AO =0,1),NOTICE( 多 DRAWICON( CROSS(CCI1 -100,0.5),H,2),VALIGN0;REF(CROSS(CCI1 -100,0.5) AO 0,1),NOTICE( 空 REF(VAR1 H REF(H,1)+2*MINPRICE AO =0,1),NOTICE( 多 REF(VAR2 L REF(L,1)-2*MINPRICE AO 0,1),NOTICE( 空