DY1:=(2*CLOSE+HIGH+LOW)/4;DY2:=LLV(LOW,34);DY3:=HHV(HIGH,34);BDC:=EMA((DY1-DY2)/(DY3-DY2)*100,9);BDD:=EMA((0.667*REF(BDC,1)+0.333*BDC),3);XG:CROSS(BDC,BDD);