DTM:=IF(OPEN =REF(OPEN,1),0,MAX((HIGH-OPEN),(OPEN-REF(OPEN,1))));
DBM:=IF(OPEN =REF(OPEN,1),0,MAX((OPEN-LOW),(OPEN-REF(OPEN,1))));
STM:=SUM(DTM,23);
SBM:=SUM(DBM,23);
TYP:=(HIGH + LOW + CLOSE)/3;
ADTM:IF(STM SBM,(STM-SBM)/STM,IF(STM==SBM,0,(STM-SBM)/SBM));
MAADTM:MA(ADTM,8);
A7:ADTM MAADTM;
ADTM:IF(A7,1,0),COLORRED;
CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
A8:CCI
CCI金叉:IF(A8,1,0),COLORRED;
AR:SUM(HIGH-OPEN,26)/SUM(OPEN-LOW,26)*100;
A9:AR 100;
AR金叉:IF(A9,1,0),COLORRED;