以下是通达信过前高量源码副图(无源码的请下载附件导入)
过前高量源码
XXDING:=CURRBARSCOUNT>=N1 AND HIGH=HHV(HIGH,N1) AND HIGH>REFX(HHV(HIGH,N1-1),N1-1);
前高价:=DRAWLINE(XXDING,HIGH,REF(XXDING,1),REF(HIGH,1),1);
前二高价:=前高价+0.85;
MAVOL2:=MA(VOL,135);
AA:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XDING:=CURRBARSCOUNT>=N1 AND VOL=HHV(VOL,N1) AND VOL>REFX(HHV(VOL,N1-1),N1-1);
前高量:=DRAWLINE(XDING,VOL,REF(XDING,1),REF(VOL,1),1);
K:=3.5;
粘合:=ABS(前高量/MAVOL2-1)<K;
量过前高:CROSS(VOL,前高量) AND CLOSE>OPEN AND AA>1 AND DYNAINFO(7)>DYNAINFO(3) AND HIGH>前高价 AND 粘合;
650211841.png
|