参数9: X3, 最小: 0, 最大: 999, 缺省: 0
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);
CTIME:=IF(MTIME<0.5,TOTAL,MTIME);
VVOL:IF((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT=1 AND DYNAINFO(8)>1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;
{WWW.70822.com}
绿低量:=10;
蓝低量:=50;
灰低量:=100;
H_L:=0.1*CONST(HHV(VOL,240));
GL1:=1*AMOUNT;
GL2:=HHV(GL1,10)=GL1;
GL3:=HHV(GL1,30)=GL1;
GL4:=HHV(GL1,60)=GL1;
GL5:=HHV(GL1,100)=GL1;
GL6:=HHV(GL1,250)=GL1;
全换手周期: SUMBARS(V,CAPITAL),NODRAW,COLORLIGREEN;{求完全换手到现在的周期数}
量比: V/REF(MA(V,5),1),COLORBROWN,NODRAW;
倍数:=1.9;
高量:GL2 OR GL3 OR GL4 OR GL5 OR GL6 AND CAPITAL/1000000<=35 AND CLOSE>REF(CLOSE,1),COLORYELLOW;
低量10: VOL=LLV(VOL,绿低量) AND BARSCOUNT(V)>=绿低量,COLORGREEN,NODRAW;
低量50: VOL=LLV(VOL,蓝低量) AND BARSCOUNT(V)>=蓝低量,COLORBLUE,NODRAW;
平量: RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2,COLORWHITE,NODRAW;{0.97-1.03}
倍量: VOL>=REF(V,1)*倍数 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;
缩倍:REF(V,1)*0.48>V AND NOT(O=C AND H=O),COLORMAGENTA;
缩三一:= V<=REF(V,1)*0.7 AND V>REF(V,1)*0.5;
缩量:COUNT(CLOSE>REF(CLOSE,1),2)=2 AND COUNT(VOL<REF(VOL,1),2)=2,COLORFF8000;
地量:VOL=LLV(VOL,灰低量) AND BARSCOUNT(V)>=灰低量,COLORB6B6B6,NODRAW;
梯量:VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND CLOSE>OPEN;
V1:=VOL*0.95;
V2:=VOL*0.85;
{WWW.70822.com}
STICKLINE(高量,VOL,VOL*5/7,1.97,0),COLORYELLOW;
STICKLINE(平量,0,V1,1.0,0),COLORWHITE;
STICKLINE(低量10,0,V,0.5,0),COLORGREEN;
STICKLINE(低量50,0,V,0.5,0),COLORBLUE;
STICKLINE(倍量, 0,V1,1,0),COLORYELLOW;
STICKLINE(缩倍,0,V*0.45,1,0),COLORMAGENTA;
STICKLINE(FILTER(VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2) AND CLOSE>OPEN,2),VOL,VOL*8/9,1.97,0),COLORMAGENTA{T量};
STICKLINE(缩量,0,V*0.45,1,0),COLORFF8000;
DRAWTEXT(显示文字>0 AND 高量,V*1.21,'高'),COLORYELLOW;
DRAWTEXT(显示文字>0 AND 低量10,VOL*1.25,'低'),COLORGREEN;
DRAWTEXT(显示文字>0 AND 低量50,VOL*1.25,'低'),COLORGREEN;
DRAWTEXT(显示文字>0 AND 平量,VOL*1.2,'平'),COLORWHITE;
DRAWTEXT(显示文字>0 AND 倍量,VOL*1.11,'倍'),COLORYELLOW;
DRAWTEXT(显示文字>0 AND 缩量,VOL*1.1,'缩'),COLORFF8000;
DRAWTEXT(显示文字>0 AND 梯量,VOL*1.01,'梯'),COLORMAGENTA;
DRAWTEXT(杨宗保开关>0 AND 缩倍 ,VOL*1.6,'2S'),COLORRED;
DRAWTEXT(杨宗保开关>0 AND 缩三一,VOL*1.5,'3S'),COLORYELLOW;
TJ:=C<O;{WWW.70822.com}
显性假阴:=C>REF(C,1) AND TJ;
隐性假阴:=AMOUNT/V/100>REF(C,1) AND O>REF(C,1) AND NOT(显性假阴) AND TJ;
STICKLINE(显性假阴,VOL,0,-1,0),COLORLIMAGENTA;{第一类假阴淡洋红色}
STICKLINE(隐性假阴,VOL,0,-1,0),COLORLIRED; {第二类假阴淡红色}
AKPL11:=REF(VOL,6)>REF(VOL,5) AND REF(VOL,6)>REF(VOL,4) AND REF(VOL,6)>REF(VOL,3) AND REF(VOL,6)>REF(VOL,2) AND REF
(VOL,6)>REF(VOL,1);
AKPL12:=REF(VOL,5)>REF(VOL,4) AND REF(VOL,5)>REF(VOL,3) AND REF(VOL,5)>REF(VOL,2) AND REF(VOL,5)>REF(VOL,1);
AKPL13:=REF(VOL,4)>REF(VOL,3) AND REF(VOL,4)>REF(VOL,2) AND REF(VOL,4)>REF(VOL,1);
AKPL14:=REF(VOL,6)/VOL>=0.97 AND REF(VOL,6)/VOL<=1.03;
AKPL15:=REF(VOL,5)/VOL>=0.97 AND REF(VOL,5)/VOL<=1.03;
AKPL16:=REF(VOL,4)/VOL>=0.97 AND REF(VOL,4)/VOL<=1.03;
DRAWICON(凹口平量柱>0 AND AKPL11 AND AKPL14 OR (AKPL12 AND AKPL15) OR (AKPL13 AND AKPL16),VOL*0.93,41);
V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)>=100;
百日地量群:=COUNT(V100,5)>=3;
DRAWTEXT(FILTER(百日地量群,4),V+1.2*H_L,'地量群'),COLORYELLOW;
DRAWICON(VOL<REF(LLV(VOL,100),1) AND HIGH>LOW,VOL*0.01,23);
DRAWICON((OPEN-CLOSE)/OPEN>=0.04 AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5)),VOL*1.0158,39);
买进:=REF(VOL,1)=LLV(V,13) AND V/REF(VOL,1)>1.25 AND DYNAINFO(8)>0 AND C>O AND C>REF(C,1),COLORRED;
DRAWICON(低量确认>0 AND 买进,VOL*0.93,38);
MAVOL1:MA(VOLUME,X1),COLORRED;
MAVOL2:MA(VOLUME,X2),COLORYELLOW;
MAVOL3:MA(VOLUME,X3),COLOR00FF00;
STICKLINE(1=1,VOL/3,VOL/3,1,0),LINETHICK2,COLORGRAY;
STICKLINE(1=1,VOL/2,VOL/2,1,0),LINETHICK2,COLORGRAY;
STICKLINE(1=1,2*VOL/3,2*VOL/3,1,0),LINETHICK2,COLORGRAY;
ZF:=(C-REF(C,1))/REF(C,1)*100;
极阴:=ZF<= -1.5;
昨阴:= REF(C,1)< REF(C,2);
次阳:=C >REF(O,1) AND C >REF(C,1);
成交量:=V<REF(V,1);
杨宗保背反:=REF(极阴,1) AND 昨阴 AND 次阳 AND 成交量;
DRAWTEXT(杨宗保开关>0 AND 杨宗保背反,V,'↙杨背'),COLOR00FFFF,LINETHICK5;
过阴半:=C >REF((O+C),1)/2;
阴半:=REF(极阴,1) AND 昨阴 AND 过阴半 AND 成交量;
DRAWTEXT(杨宗保开关>0 AND 阴半,V*1.2,'↙过阴半'),COLORRED,LINETHICK5;
SB:=MAX(CLOSE,OPEN);
QB:=MIN(CLOSE,OPEN);
跳空:=QB-0.01>=REF(SB,1);
阴顶开盘:=REF(C<O,1)AND 跳空 AND 成交量;
DRAWTEXT(杨宗保开关>0 AND 阴顶开盘,V,'↙英背'),COLOR00FFFF,LINETHICK5;
AHJ_1:=REF(CLOSE,1);
AHJ_2:=SMA(MAX(CLOSE-AHJ_1,0),6,1)/SMA(ABS(CLOSE-AHJ_1),6,1)*100;
AHJ_3:=IF(AHJ_2<=30,50,0);
AHJ_4:=AHJ_3 AND AHJ_2=LLV(AHJ_2,5);
AHJ_5:=VOL<MA(VOL,60)*1/3;
AHJ_6:=(OPEN-CLOSE)/OPEN>=0.04 AND (VOL/MA(VOL,60)<=2/3 OR VOL/REF(VOL,1)<=1.15 OR VOL<HHV(VOL,5));
AHJ_7:=VOL<REF(VOL,1) AND REF(VOL,1)<REF(VOL,2) AND REF(VOL,2)<REF(VOL,3) AND HIGH>LOW;
AHJ_8:=VOL<REF(LLV(VOL,100),1) AND HIGH>LOW;
AHJ_9:=AHJ_5 OR AHJ_6 OR AHJ_7 OR AHJ_8;
关注:=FILTERX(AHJ_4,3) AND COUNT(AHJ_9,3),COLORRED,LINETHICK2;
DRAWICON(敢跌敢买A>0 AND 关注,L-0.30,27);
AHJ_10:=VOL>=REF(VOL,1) AND CLOSE>(REF(OPEN,1)-REF(CLOSE,1))/2+REF(CLOSE,1) AND REF(CLOSE,1)<REF(OPEN,1) AND
CLOSE>OPEN;
AHJ_11:=VOL<=REF(VOL,1) AND CLOSE>REF(CLOSE,1) AND CLOSE>(REF(OPEN,1)-REF(CLOSE,1))/2+REF(CLOSE,1) AND CLOS
p20184131528235114.jpg