DC1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
DC2:=crOSS(DC1,10);
DC3:=(2*CLOSE+HIGH+LOW)/4;
DC4:=LLV(LOW,27);
DC5:=HHV(HIGH,27);
DC6:=EMA((DC3-DC4)/(DC5-DC4)*100,13);
DC7:=EMA(0.618*REF(DC6,1)+0.382*DC6,3);
DC8:=CROSS(DC6,DC7) AND DC6<16;
XG:DC2 AND DC8;