绿低量:=10;
蓝低量:=50;
灰低量:=100;
H_L:=0.1*LAST(HHV(VOL,240),10,5);
{MAV10:MA(V,10),COLORYELLOW;}
量:VOL,VOLSTICK,COLORRED;
全换手周期:=SUMBARS(V,CAPITAL),LINETHICK0,COLORGREEN;{求完全换手到现在的周期数}
饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)) 1,1,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)))*100,COLORYELLOW,NODRAW;
换手:10000*VOL/FINANCE(7),COLORRED;
量比: V/REF(MA(V,5),1),COLORMAGENTA,LINETHICK0;
几倍: V/REF(V,1),COLORYELLOW,LINETHICK0;
倍数:=1.9;
倍量: VOL =REF(V,1)*倍数 AND (IF(C O,C REF(C,1),1)),COLORYELLOW,LINETHICK0;
量皇:量比 3,COLORGREEN,LINETHICK0;
STICKLINE(量皇,VOL,0,2,0),COLORGREEN;
倍缩: REF(V,1) =VOL*倍数,COLORMAGENTA,LINETHICK0;
缩量:REF(V,1) VOL,COLORCYAN,LINETHICK0;
平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V) =2,COLORWHITE,LINETHICK0;
低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V) =绿低量,COLORGREEN,LINETHICK0;
低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V) =蓝低量,COLORGREEN,LINETHICK0;
地量:VOL=LLV(VOL,灰低量) AND BARSCOUNT(V) =灰低量,COLORBLUE,LINETHICK0;
DRAWTEXT(倍量,VOL*1.1,'倍'),COLORYELLOW;
V1:=VOL*0.95;{图标位置}
V2:=VOL*0.85;
STICKLINE(倍量, 0,V1*0.7,2,0),COLORYELLOW;
STICKLINE(平量,0,V1,2,0),COLORWHITE;
STICKLINE(低量10,0,V2,2,0),COLORCYAN;
STICKLINE(低量50,0,V2,2,0),COLORGREEN;
STICKLINE(地量,0,V2,2,0),COLORBLUE;
STICKLINE(倍缩,0,V*0.45,2,0),COLORMAGENTA;
STICKLINE(C O AND C REF(C,1),0,V1,2,0),COLORRED;{假阴柱};
真阳或假阴:=C O OR C REF(C,1);
收阳:= REF(真阳或假阴,3);
倍量1:=REF(倍量,3);
高量:=REF(V,3) =HHV(V,7);
三日不破:= LLV(C,3) =REF(L,3);
价升:=COUNT(C =REF(C,1),3)=3;{收盘价逐升}
量缩:=COUNT(V =REF(V,1),3)=3;
连阳:= COUNT(真阳或假阴,3)=3;
倍量将军柱:= 倍量1 AND 三日不破 AND 收阳;
高量将军柱:= 高量 AND 三日不破 AND 收阳;
将军柱:= 倍量将军柱 OR 高量将军柱;
黄金柱:= 将军柱 AND 价升 AND 量缩 AND 连阳 ;{标准黄金柱}
STICKLINE(黄金柱,0.3*V,0.7*V,7,0),COLORRED; {红柱}
DRAWICON(黄金柱,V*2,12),COLORRED;
V100:= V =LLV(V,100)*1.2 AND V 0 AND BARSCOUNT(V) =100;
百日地量群:=COUNT(V100,5)
DRAWTEXT(FILTER(百日地量群,4),V+30000,'地量群'),COLORRED;
●长阴短柱:C/REF(C,1) =0.96 AND V HHV(V,30)/1.9,COLORGREEN,LINETHICK0;
DRAWTEXT(●长阴短柱 ,V+1.6*H_L,'●'),COLORGREEN;
资金异动:MA(V,120),COLORBLUE,LINETHICK2;
洗盘35:MA(V,35),COLORYELLOW;
启动5:MA(V,5),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.0,0.0,0,'★价涨量缩 积极做多 长阴短柱是个宝 凡遇大跌就盯好★')COLORYELLOW,LINETHICK3;
N1:=21;
SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));
量能饱和:IF(SAT 1,1,SAT)*100,COLOR00AAFF,NODRAW;
中点:=REFDATE(HHV(V,180)*0.5,DATE);
STICKLINE(CURRBARSCOUNT=N1,中点*1.9,中点*1.5,100,1),COLOR00AAFF;
STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0077FF;
DRAWTEXT(CURRBARSCOUNT=N1+3,中点*1.8,'饱和度'),COLORYELLOW;