小单量价指标
根据量价的变化来确认买卖点,主要体现量与大盘量的变化比,扣除大盘影响。
DDL:=(ZDMR+ZDMC-BDMR-BDMC)*DDXS/100;
IF (ISDP==1) THEN
{LB:(MA(VOL-DDL,JINQ)-MA(VOL-DDL,YUANQ))/MA(VOL-DDL,YUANQ)-(MA(INDEXV,JINQ)-MA(INDEXV,YUANQ))/MA(INDEXV,YUANQ)*DPXS/100;
JB:(MA(CLOSE,JINQ)-MA(CLOSE,YUANQ))/MA(CLOSE,YUANQ)*10-(MA(INDEXC,JINQ)-MA(INDEXC,YUANQ))/MA(INDEXC,YUANQ)*10*DPXS/100;}
ELSE
{LB:(MA(VOL-MIN(BDMR,BDMC),JINQ)-MA(VOL-MIN(BDMR,BDMC),YUANQ))/MA(VOL-MIN(BDMR,BDMC),YUANQ);/*-ISDP*(MA(INDEXV,JINQ)-MA(INDEXV,YUANQ))/MA(INDEXV,YUANQ);*/
JB:(MA(CLOSE,JINQ)-MA(CLOSE,YUANQ))/MA(CLOSE,YUANQ)*10; /*-ISDP*(MA(INDEXC,JINQ)-MA(INDEXC,YUANQ))/MA(INDEXC,YUANQ)*10;*/
}
HBZJB=HHV(JB,360)*0.9;
LBZJB=LLV(JB,360)*0.9;
DRAWICON(REF(LB,1)>0 AND LB<=0 AND JB>0 AND REF(JB,1)>JB ,JB,"sell");
/*DRAWICON(REF(LB,1)<0 AND LB>=0 AND JB>0 AND REF(JB,1)>JB ,JB,"sell");*/
DRAWICON(REF(LB,1)<0 AND LB>=0 AND REF(JB,1)<JB ,JB,"buy");
/*DRAWICON(REF(LB,1)<0 AND LB>=0 AND JB<0 AND REF(JB,1)<JB ,JB,"buy");*/
DRAWTEXT(REF(LB,1)>LB AND REF(JB,2)<=REF(JB,1) AND REF(LB,1)<0 AND LB<0 AND REF(JB,1)>JB ,JB+0.5,"卖"),colorgreen;
DRAWTEXT(REF(LB,1)<=LB AND REF(LB,1)>=0 AND REF(JB,1)>=JB AND REF(JB,2)<=REF(JB,1) ,JB-0.5,"买"),colorred;
DRAWTEXT(REF(LB,1)>0 AND LB<=0 AND JB<LBZJB ,JB-0.5,"推荐买"),colorred;