{量价反转主图源码如下}
DCZ8:=C;
DCZ1:=REF(DCZ8,1)< REF(O,1);
趋势线:MA(DCZ8,10)DOTLINE;
DCZ2:=REF(VOL,1)>REF(VOL,2);
DCZ3:=DCZ8>REF(HIGH,1);
AA:=C>MA(C,10);
DC:=DCZ1 AND DCZ2 AND DCZ3 AND AA;
STICKLINE(DC,O,C,2,0),COLORRED;
DRAWICON(DC,L,9);
DRAWTEXT(DC,L*0.98,'★量价反转'),COLORYELLOW;
{量价反转副图源码如下}
DCZ1:=REF(CLOSE,1)< REF(OPEN,1);
DCZ2:=REF(VOL,1)>REF(VOL,2);
DCZ3:=CLOSE>REF(HIGH,1);
AA:=C>MA(C,10);
DC:=DCZ1 AND DCZ2 AND DCZ3 AND AA;
VOLUME:VOL,VOLSTICK;
STICKLINE(DC,0,V,2,0),COLORYELLOW;
DRAWICON(DC,V*0.8,34);
DRAWTEXT(DC,V,'量价反转'),COLORYELLOW;