T_D1:=(C-LLV(L,32))/(HHV(H,32)-LLV(L,32))*1.2*C;
T_D2:=EMA(T_D1,3);
T_D3:=EMA(T_D1,5);
T_D4:=EMA(T_D1,7);
T_D5:=T_D3>=T_D4 AND T_D2<REF(T_D2,1);
T_D6:=T_D3<T_D4 AND T_D2>REF(T_D2,1);
持:STICKLINE(T_D2>=T_D3,T_D4,T_D2,1,0),COLORFF9FFF;
空:STICKLINE(T_D2<=T_D3,T_D4,T_D2,1,0),COLORFF6000;
买:STICKLINE(T_D6,T_D2,T_D4,1,0),COLORYELLOW;
卖:STICKLINE(T_D5,T_D2,T_D4,1,0),COLORGREEN;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);