{量价异动主图源码如下}
操作线:MA(CLOSE,5),COLORYELLOW,DOTLINE;
ABC1:=IF(DATE< 2342.459961*500,1,1);
主趋势线:EMA(EMA(CLOSE,5),5)*ABC1,COLORRED,LINETHICK3;
ABC2:=IF(DATETODAY(DATE)< 9871,1,1);
ABC3:=主趋势线>REF(主趋势线,1)*ABC1;
IF(ABC3-1,主趋势线,DRAWNULL)*ABC1,COLORGREEN,LINETHICK3;
DRAWKLINE(H,O,L,C);
HGW:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
大资金:=SUMBARS(HGW,1);
STICKLINE(大资金,REF(C,大资金-1),REF(C,大资金-1),10,0),COLORYELLOW;
DRAWTEXT(HGW,LOW*0.986,'↖异动'),COLORYELLOW;
STICKLINE(HGW,OPEN,CLOSE,1.5,0),COLORMAGENTA;
{量价异动副图源码如下}
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
MV5:MA(V,100);
MV10:MA(V,100);
MV40:MA(V,100);
AA:=VOL>REF(V,1)*1.9;
AA1:=VOL< REF(LLV(VOL,13),1);
AA2:=VOL< REF(LLV(VOL,55),1);
HGW:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
STICKLINE(HGW,0,V,1,0),COLORMAGENTA;
DRAWICON(HGW,V*1.002,9);