天地量:
虚拟VOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟VOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MA5:MA(VOL,5),COLORRED;
MA10:MA(VOL,10),COLORGREEN;
MA30:=MA(VOL,30),COLORWHITE;
量能饱和AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,NODRAW,COLORLIBLUE;
十日换手:SUM(V/CAPITAL*100,10),COLORGRAY;
MS:=FROMOPEN;
MM:=IF(CURRBARSCOUNT=1 AND MS<200,1,0);
MAVOL3:=MA(VOLUME,60);
MAVOB:=HHV(VOL,60);
MAVLB:=LLV(VOL,60);
地量:VOL=MAVLB AND MM=0,COLORMAGENTA;
天量:VOL=MAVOB,COLORYELLOW;
年天量:=VOL=HHV(VOL,250);
STICKLINE(地量,0,VOL*0.5,1.8,0),COLORMAGENTA;
STICKLINE(天量,VOL,VOL*0.7,2.5,0),COLORRED;
STICKLINE(年天量,VOL,VOL*0.85,1.8,0),COLORYELLOW;
大阴:=O-OPEN*0.05>C;
长上引:=H-C>REF(C,1)*0.05;
巨量:=VOL>MAVOL3*2;
顶部:=H>HHV(H,18)*0.92;
DRAWICON(VOL*50<REF(VOL,1) AND MM=0,VOL*1.05,12);
DRAWICON(VOL>50*REF(VOL,1),MA30,11);
DRAWICON((巨量 AND 顶部 AND (大阴 OR 长上引)) OR (VOL=HHV(VOL,120) AND (O>C OR 长上引)),VOL*1.05,9); |