- TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
- MTIME:=MOD(FROMOPEN,TOTAL);
- CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
- VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
- STICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLOR00C0C0;
- VOLUME:VOL,VOLSTICK;
- {MAVOL1:MA(VOLUME,M1);
- MAVOL2:MA(VOLUME,M2);}
- TJ:=C<O;
- TJ1:=C>REF(C,1) AND TJ;
- TJ2:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(TJ1) AND TJ;
- STICKLINE(TJ1,VOL,0,-1,0),COLORMAGENTA;
- STICKLINE(TJ2,VOL,0,-1,0),COLORLIRED;
- T:=DYNAINFO(8)>0;
- VO:VOL=LLV(VOL,100) AND T;
- BLZ:=VOL>REF(V,1)*1.9 AND C>REF(C,1);
- BLZ1:=VOL<REF(LLV(VOL,13),1);
- BLZ2:=VOL<REF(LLV(VOL,55),1);
- STICKLINE(BLZ,0,V,2.0,0),COLORYELLOW;
- 倍量柱:BLZ,COLORYELLOW;
- HJZ:=(3*C+H+L+O)/6;
- HJZ2:=(8*HJZ+7*REF(HJZ,1)+6*REF(HJZ,2)+5*REF(HJZ,3)+4*REF(HJZ,4)+3*REF(HJZ,5)+2*REF(HJZ,6)+REF(HJZ,8))/36;
- HJZ3:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>HJZ2 AND C>O;
复制代码 |