N:=14;
SHORT:=12;
LONG:=26;
M:=9;
N1:=9;
M1:=3;
M2:=3;
TYP:=(HIGH + LOW + CLOSE)/3;
CCI:(TYP-MA(TYP,N))/(0.015*AVEDEV(TYP,N)),COLORYELLOW;
CCIG:=CCI
GCCI:IF(CCIG,130,100),COLORYELLOW;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
G10G:=C MA10;
G10:IF(G10G,-150,-200),COLORRED;
GG10G:=MA10 REF(MA10,1);
DIFF:=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);
DEA:=EMA(DIFF,M);
:40*(DIFF-DEA);
ZERO := 0;
MACDG:=MACD
GMACD:IF(MACDG,-70,-100),COLORGREEN;
:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M1,1),COLORYELLOW;
D:=SMA(K,M2,1),COLORMAGENTA;
KDG:=K
GKD:IF(KDG,200,170),COLORMAGENTA;
KD:(K+D)-100,COLORMAGENTA;
G1:=G10G+KDG+MACDG=3;
STICKLINE(G1,-225,-300,8,0),COLORRED;
G2:=G1 AND CCIG;
STICKLINE(G2,-215,-200,8,0),COLORMAGENTA;
S1:=G10G+KDG+MACDG=2;
STICKLINE(S1,-300,-275,8,0),COLORGREEN;
STICKLINE(S1,-275,-250,8,0),COLORYELLOW;
STICKLINE(S1,-250,-225,8,0),COLORRED;
S2:=G10G+KDG+MACDG=1;
STICKLINE(S2,-300,-275,8,0),COLORGREEN;
STICKLINE(S2,-275,-250,8,0),COLORYELLOW;
S3:=G10G+KDG+MACDG=0;
STICKLINE(S3,-275,-300,8,0),COLORGREEN;
STICKLINE(GG10G,-325,-310,8,0),COLORLIRED;
DRAWTEXT_FIX(ABS(C) 0,0.02,0.01,0, ),COLORMAGENTA;
DRAWTEXT_FIX(ABS(C) 0,0.02,0.2,0, CCI ),COLORYELLOW;
DRAWTEXT_FIX(ABS(C) 0,0.02,0.6,0, MACD ),COLORGREEN;
DRAWTEXT_FIX(ABS(C) 0,0.02,0.8,0, 10日均 ),COLORRED;