AAA:=AMOUNT/vol/100;
RSV:=(AAA-LLV(AAA,9))/(HHV(AAA,9)-LLV(AAA,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=K*3-D*2;
cci1:=(AAA-MA(AAA,14))/(0.015*AVEDEV(AAA,14));
DIF:=EMA(AAA,12)-EMA(AAA,26);
DEA:=EMA(DIF,9);
{ _最新股票指标公式}
kdj:IF(J>D,50,DRAWNULL),COLORYELLOW,LINETHICK2;
DRAWICON(J>D,40,1);
CCI:IF(CCI1>0,0,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
DRAWICON(CCI1>0,-10,1);
macd:IF(DIF>DEA,-50,DRAWNULL),COLORRED,LINETHICK2;
DRAWICON(DIF>DEA,-60,1);
TJ:=kdJ AND CCI AND MacD;
出击:IF(TJ,-80,-70),COLORWHITE;