X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
PLOYLINE(VAR3,VAR3),COLOR00FFFF;
PLOYLINE(VAR2<VAR3,VAR3),COLORFF0000;
STICKLINE(VAR2>=VAR3,VAR2,VAR3,8,0),COLOR00FFFF;
STICKLINE(VAR2<VAR3,VAR2,VAR3,8,0),COLOR9B6469;
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN<XCLOSE,XOPEN,XCLOSE);
C1:=IF(XOPEN<XCLOSE,XCLOSE,XOPEN);
AC:=CLOSE;
转强:=DMA(HIGH,6);
转弱:=DMA(LOW,6);
B:=CLOSE*0;
转折线:IF(B=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK2,COLORFFFFFF;
趋势:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
OP:=MA(X1,5);
REFOP:=REF(OP,1);
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);