STICKLINE(CLOSE>OPEN,(CLOSE+OPEN)/2,(CLOSE+OPEN)/2,2,1),COLORYELLOW;
STICKLINE(CLOSE>OPEN,(CLOSE+OPEN)/2,(CLOSE+OPEN)/2,2,1),COLORRED;
昨中价位:REF(OPEN,1)+REF(CLOSE,1)/2,COLORYELLOW,NODRAW;
上三分之一位: (MAX(O,C)-MIN(O,C))*2/3+MIN(O,C),NODRAW;
下三分之一位: (MAX(O,C)-MIN(O,C))/3+MIN(O,C),NODRAW;
倍量:VOL>=REF(V,1)*1.9 AND C>=O,NODRAW;
DRAWTEXT(倍量,LOW*0.99,'↖倍量'),COLORYELLOW;
STICKLINE(倍量,OPEN,CLOSE,0.5,0),COLORYELLOW;
K1:=SUMBARS(倍量,1);
STICKLINE(K1,REF(O,K1-1),REF(O,K1-1),10,0),COLORYELLOW;
VAR2:=1*AMOUNT;
月天量:=VAR2=HHV(VAR2,20);
季天量:=VAR2=HHV(VAR2,60);
百天量:=VAR2=HHV(VAR2,100);
年天量:=VAR2=HHV(VAR2,240);
天量: (季天量 OR 百天量 OR 年天量),NODRAW;
DRAWTEXT(天量,LOW*0.95,'↖高'),COLORRED;
STICKLINE(天量,OPEN,CLOSE,0.5,0),COLORRED;
K11:=SUMBARS(天量,1);
STICKLINE(K11,REF(O,K11-1),REF(O,K11-1),10,0),COLORRED;
缺口:O>REF(H,1),NODRAW;
DRAWTEXT(缺口,LOW*0.93,'↖缺'),COLORWHITE;
STICKLINE(缺口,OPEN,CLOSE,0.5,0),COLORWHITE;
K111:=SUMBARS(缺口,1);
STICKLINE(K111,REF(0,K111-1),REF(0,K111-1),10,0),COLORWHITE;
DRAWTEXT((K111,REF(0,K111-1),REF(0,K111-1),10,0),LOW,'平台'),COLORRED; |