MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MA250:MA(CLOSE,250);
HH:=CONST(HHV(H,160));
LL:=CONST(LLV(L,160));{160可改成你習(xí)慣鎖定的日K線數(shù)}
HL1:=CONST(IF(CONST(REF(MA(C,10),10))>CONST((HH+LL)/2),0.76,0.04));
HL2:=CONST(IF(CONST(REF(MA(C,10),10))>CONST((HH+LL)/2),0.80,0.08));
HL3:=CONST(IF(CONST(REF(MA(C,10),10))>CONST((HH+LL)/2),0.84,0.12));
HL4:=CONST(IF(CONST(REF(MA(C,10),10))>CONST((HH+LL)/2),0.88,0.16));
HL5:=CONST(IF(CONST(REF(MA(C,10),10))>CONST((HH+LL)/2),0.92,0.20));
HL6:=CONST(IF(CONST(REF(MA(C,10),10))>CONST((HH+LL)/2),0.96,0.24));
DRAWTEXT_FIX(1,0.00,0,0,'所屬行業(yè):')COLOR0080FF;
DRAWTEXT_FIX(1,0.07,0,0,HYBLOCK)COLOR0080FF;
DRAWTEXT_FIX(1,0.14,0,0,'所屬地區(qū):')COLOR00FFFF;
DRAWTEXT_FIX(1,0.21,0,0,DYBLOCK)COLOR00FFFF;
DRAWTEXT_FIX
DRAWNUMBER_FIX(1,0.84,HL1,0,CONST(FINANCE(1)/100000000));
DRAWTEXT_FIX
DRAWNUMBER_FIX(1,0.84,HL2,0,CONST(FINANCE(7)/100000000));
DRAWTEXT_FIX
DRAWNUMBER_FIX(1,0.84,HL3,0,CONST(DYNAINFO(39)));
DRAWTEXT_FIX
DRAWNUMBER_FIX(1,0.84,HL4,0,CONST(DYNAINFO(37)*100));
DRAWTEXT_FIX
DRAWNUMBER_FIX(1,0.84,HL5,0,CONST(DYNAINFO(17)));
DRAWTEXT_FIX
DRAWNUMBER_FIX(1,0.84,HL6,0,CONST(DYNAINFO(14)*100)),COLORFF00FF;
DRAWNUMBER_FIX(1,0.84,HL6,0,IF(CONST(DYNAINFO(14)*100)<0,CONST(DYNAINFO(14)*100),DRAWNULL))COLOR00FF00;
聯(lián)系客服