洗盘缩量指标公式 

XA_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.04OR  

CLOSE/OPEN>=1.03AND(VOL<=MA(VOL,60)ORVOL/REF(VOL,1)<=1.2OR  

VOL<HHV(VOL,5))ANDHIGH>LOW;  

XA_2:=(OPEN-CLOSE)/OPEN>=0.04AND(VOL/MA(VOL,60)<=2/3OR  

VOL/REF(VOL,1)<=1.15ORVOL<HHV(VOL,5));  

XA_3:=VOL/REF(VOL,1)<=0.5ANDREF(VOL,2)>REF(VOL,1)AND  

REF(CLOSE,1)<REF(OPEN,1)ANDCLOSE<OPEN;  

XA_4:=REF(XA_2,1)ANDVOL/REF(VOL,1)<=0.52;  

XA_5:=REF(XA_2,1)ANDVOL/REF(VOL,1)<=0.52ANDCLOSE>OPEN;  

倍缩:XA_3ORXA_4ANDHIGH>LOWANDREF(VOL,2)>REF(VOL,1),NODRAW;  

STICKLINE(倍缩ANDNOT(DATE=1160107),0.37,0,5,0),COLORYELLOW;  

XA_6:=VOL>REF(VOL,1)*0.5ANDCLOSE>OPEN;  

XA_7:=COUNT(倍缩,5)AND(XA_6ORXA_5ORREF(XA_5,1))AND  

(REF(VOL,1)/REF(VOL,2)<=1.98ORREF(XA_2,1));  

企稳:FILTER(XA_7,5)ANDNOT(DATE=1160108)AND  

REF(CLOSE,1)<REF(OPEN,1),COLORRED,LINETHICK2;  

反弹:IF(企稳AND(XA_1OR(CLOSE>OPENANDVOL/REF(VOL,1)>=1.95)OR  

(CLOSE>REF(OPEN,1)ANDREF(CLOSE,1)<REF(OPEN,1)AND  

VOL/REF(VOL,1))),1.5,0),COLORYELLOW,LINETHICK2;

image.png

   缩量涨停指标公式 

VOLUME:=VOL;  

量柱:V/CAPITAL*100,VOLSTICK;  

倍量柱:=IF(V/REF(V,1)>1.9ANDC>REF(C,1),1,0);  

高量柱:=IF(V=HHV(V,10),3,2);  

低量柱:=IF(V=LLV(V,10),9,8);  

并肩平量柱:=IF((V/REF(V,1)>0.95ANDV/REF(V,1)<1.05),7,6);  

缩量柱:=IF(V<REF(V,1)ANDREF(V,1)<REF(V,2)AND  

REF(V,2)<REF(V,3),25,35);  

梯量柱:=IF(V>REF(V,1)ANDREF(V,1)>REF(V,2)AND  

REF(V,2)>REF(V,3),11,10);  

DRAWTEXT(倍量柱>0,量柱*0.99,'倍');  

DRAWTEXT(高量柱>2,量柱*0.85,'高');  

DRAWTEXT(并肩平量柱>6,量柱*0.7,'平');  

DRAWTEXT(梯量柱>10,量柱*0.55,'梯');  

DRAWTEXT(低量柱>8,量柱*1.01,'低'),COLORYELLOW;  

DRAWTEXT(缩量柱<35,量柱*1.01,'缩'),COLORYELLOW;  

AAA:=(3*C+H+L+O)/6;  

VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*  

REF(AAA,6)+REF(AAA,8))/36;  

VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;  

VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;  

VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;  

VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;  

VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;  

DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));  

短线:VAR1,COLORWHITE;  

中线:VAR6,COLORYELLOW;  

下跌:IF(VAR1=VAR6,VAR6,DRAWNULL),COLORGREEN;  

TJ1:=VOL>=HHV(VOL,3)ANDVOL>2*REF(VOL,1)ANDCLOSE>VAR1;  

将军柱:=FILTER(TJ1,5);  

TJ2:=IF(BARSLAST(将军柱)=1ANDCLOSE>REF(HIGH,1),1,IF(BARSLAST(将军  

柱)=2  

ANDCLOSE>REF(HIGH,2),1,IF(BARSLAST(将军柱)=3AND  

CLOSE>REF(HIGH,3),1,0)));  

突破:TJ2=1;  

STICKLINE(CLOSE,REF(HIGH,BARSLAST(将军柱)),REF(HIGH,BARSLAST(将军  

柱)),1,0),COLORCYAN;  

STICKLINE(CLOSE,REF(LOW,BARSLAST(将军柱)),REF(LOW,BARSLAST(将军  

柱)),1,0),COLORYELLOW;  

TJ3:=IF(BARSLAST(将军柱)=1ANDCLOSE>REF(LOW,1),1,IF(BARSLAST(将军  

柱)=2  

ANDCLOSE>REF(LOW,2),1,IF(BARSLAST(将军柱)=3AND  

CLOSE>REF(LOW,3),1,0)));  

三天法则:=TJ3=1;  

成立:三天法则AND突破;  

条件成立:=FILTER(成立,3);  

DRAWTEXT(条件成立,L*0.99,'将军柱'),COLORYELLOW;  

DRAWKLINE(H,O,L,C);  

MA5:=MA(CLOSE,5),COLORWHITE;  

MA10:=MA(CLOSE,10),COLORYELLOW;  

MA30:=MA(CLOSE,30),COLORMAGENTA;  

MA60:=MA(CLOSE,60),COLORGREEN;  

MA120:=MA(CLOSE,120),COLORLIMAGENTA;  

MA240:=MA(CLOSE,240),COLORBLUE,NODRAW;  

VOL5:=MA(VOL,5),COLORWHITE;  

VOL10:=MA(VOL,10),COLORYELLOW;  

VOL40:=MA(VOL,40),COLORFF00FF;  

量托:=VOL5>=VOL40ANDCROSS(VOL10,VOL40)AND  

REF(VOL10,1)<REF(VOL40,1);  

DRAWTEXT(量托,L-0.012,'量托'),COLORWHITE;  

AA1:=BARSLAST(MA60>MA30AND(MA30=MA10ORMA30>MA10));  

BB1:=REF(COUNT(C<MA60,AA1)=AA1,1);  

CC1:=CROSS(C,MA60)ANDVOL>MA(VOL,5)AND  

(C-REF(C,1))/REF(C,1)*100>3;  

芙蓉出水:=BB1ANDCC1,COLOR00FF00;  

DRAWTEXT(芙蓉出水,H+0.3,'芙蓉出水'),COLORFF00FF;  

STICKLINE(芙蓉出水,H,L,1,1),COLORFF00FF;  

STICKLINE(芙蓉出水,O,C,3,1),LINETHICK2,COLORFF00FF;  

MA1:=MA(CLOSE,5);  

MA2:=MA(CLOSE,10);  

MA3:=MA(CLOSE,20);  

ZJ:=AMOUNT/10000;{资金}  

TM:=V-MA(V,10);{量填满}  

一穿三:=MA1>OANDMA2>OANDMA3>OANDMA1<CANDMA2<CANDMA3<CAND  

CLOSE>OPEN;  

DRAWTEXT(一穿三,L-0.012,'一穿三'),COLORFF00FF;  

STICKLINE(一穿三,OPEN,CLOSE,1,0),COLORFF00FF;  

三日不破:=MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(L,3);  

三日量缩:=(MAX(MAX(V,REF(V,1)),REF(V,2))<REF(V,3));  

三日价涨A:=C>=REF(C,1);  

三日价涨B:=C<REF(C,1);  

三日价涨C:=MIN(MIN(C,REF(C,1)),REF(C,2))>=REF(L,3);  

TIM:=IF(DATE<1140214,1,0);  

缩倍柱:=(VOL*1.95<=REF(VOL,1))*TIM;  

百日低量:=(VOL=LLV(VOL,100))*TIM;  

倍量柱:=C>REF(C,1)*1.04AND(VOL>=1.9*REF(VOL,1))*TIM;  

四日前倍量柱:=(REF(VOL,3)>1.9*REF(VOL,4))*TIM;  

四日前高量柱:=(REF(VOL,3)>=REF(VOL,4)ANDREF(VOL,3)<1.9*REF(VOL,4)  

AND  

三日量缩)*TIM;  

前三引用不成立:=COUNT(REF(四日前倍量柱,1)AND(REF(三日不破,1)OR  

REF(三日价涨C,1)),3)=0  

ANDCOUNT(REF(四日前高量柱,1)AND(REF(三日不破,1)ORREF(三日价涨  

C,1)),3)=0;  

倍量黄金柱:=四日前倍量柱AND三日量缩AND三日不破AND三日价涨AAND  

前三引用不成立;  

高量黄金柱:=四日前高量柱AND三日量缩AND三日不破AND三日价涨AAND  

前三引用不成立;  

黄金柱:=倍量黄金柱OR高量黄金柱;  

次倍量黄金柱:=NOT(黄金柱)AND四日前倍量柱AND三日量缩AND三日不破  

AND三日价涨BAND前三引用不成立;  

次高量黄金柱:=NOT(黄金柱)AND四日前高量柱AND三日量缩AND三日不破  

AND三日价涨BAND前三引用不成立;  

次黄金柱:=次倍量黄金柱OR次高量黄金柱;  

准倍量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前倍量柱AND((三日量缩  

AND三日价涨C)OR  

(COUNT(倍量柱,3)>=1AND三日不破))AND前三引用不成立;  

准高量黄金柱:=NOT(黄金柱OR次黄金柱)AND四日前高量柱AND(三日量缩  

AND三日价涨C)AND  

前三引用不成立;  

准黄金柱:=准倍量黄金柱OR准高量黄金柱;  

倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日前倍量柱AND  

三日不破AND三日价涨AAND  

前三引用不成立;  

高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱)AND四日前高量柱AND  

三日不破AND三日价涨AAND  

前三引用不成立;  

将军柱:=倍量将军柱OR高量将军柱;  

次倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱)AND四日  

前倍量柱AND三日不破AND  

三日价涨BAND前三引用不成立;  

次高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱)AND四日  

前高量柱AND三日不破AND  

三日价涨BAND前三引用不成立;  

次将军柱:=次倍量将军柱OR次高量将军柱;  

准倍量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军  

柱)AND四日前倍量柱AND三日价涨C  

AND前三引用不成立;  

准高量将军柱:=NOT(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将军  

柱)AND四日前高量柱AND三日价涨C  

AND前三引用不成立;  

准将军柱:=准倍量将军柱OR准高量将军柱;  

BACKSET100:=BACKSET(黄金柱OR次黄金柱OR准黄金柱OR将军柱OR次将  

军柱OR准将军柱,4);  

FILTER100:=FILTER(BACKSET100,3),NODRAW;  

BACKSET101:=BACKSET(黄金柱,4);  

FILTER101:=FILTER(BACKSET101,3);  

BACKSET102:=BACKSET(次黄金柱,4);  

FILTER102:=FILTER(BACKSET102,3);  

BACKSET103:=BACKSET(准黄金柱,4);  

FILTER103:=FILTER(BACKSET103,3);  

BACKSET104:=BACKSET(将军柱,4);  

FILTER104:=FILTER(BACKSET104,3);  

BACKSET105:=BACKSET(次将军柱,4);  

FILTER105:=FILTER(BACKSET105,3);  

BACKSET106:=BACKSET(准将军柱,4);  

FILTER106:=FILTER(BACKSET106,3);  

黄金线下影线:=REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))<=REF(L,3);  

黄金线实体下端:=REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))<=MIN(REF(C,3),REF(O,3))AND  

MIN(MIN(L,REF(L,1)),REF(L,2))>REF(L,3),LINETHICK0;  

黄金线上影线:=REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))>=REF(H,3);  

黄金线实体上端:=REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))>=MAX(REF(C,3),REF(O,3))AND  

REF(FILTER100,3)=1ANDMIN(MIN(L,REF(L,1)),REF(L,2))<REF(H,3);  

黄金线实体中间:=REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3))AND  

REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3));  

黄金线实体中间1:=REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3))AND  

REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3))AND  

REF(L,2)=MIN(MIN(L,REF(L,1)),REF(L,2));  

黄金线实体中间2:=REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3))AND  

REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3))AND  

REF(L,1)=MIN(MIN(L,REF(L,1)),REF(L,2));  

黄金线实体中间3:=REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))<MAX(REF(C,3),REF(O,3))AND  

REF(FILTER100,3)=1AND  

MIN(MIN(L,REF(L,1)),REF(L,2))>MIN(REF(C,3),REF(O,3))AND  

L=MIN(MIN(L,REF(L,1)),REF(L,2));  

BACKSET201:=BACKSET(黄金线下影线,4);  

FILTER201:=FILTER(BACKSET201,3),NODRAW;  

BACKSET202:=BACKSET(黄金线实体下端,4);  

FILTER202:=FILTER(BACKSET202,3),NODRAW;  

BACKSET203:=BACKSET(黄金线上影线,4);  

FILTER203:=FILTER(BACKSET203,3),NODRAW;  

BACKSET204:=BACKSET(黄金线实体上端,4);  

FILTER204:=FILTER(BACKSET204,3),NODRAW;  

BACKSET205:=BACKSET(黄金线实体中间,4);  

FILTER205:=FILTER(BACKSET205,3),NODRAW;  

BACKSET2051:=BACKSET(黄金线实体中间1,4);  

FILTER2051:=FILTER(BACKSET2051,3),NODRAW;  

BACKSET2052:=BACKSET(黄金线实体中间2,4);  

FILTER2052:=FILTER(BACKSET2052,3),NODRAW;  

BACKSET2053:=BACKSET(黄金线实体中间3,4);  

FILTER2053:=FILTER(BACKSET2053,3),NODRAW;  

BT201:=IF(BARSLAST(FILTER201)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER201));  

BT202:=IF(BARSLAST(FILTER202)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER202));  

BT203:=IF(BARSLAST(FILTER203)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER203));  

BT204:=IF(BARSLAST(FILTER204)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER204));  

BT205:=IF(BARSLAST(FILTER205)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER205));  

BT2051:=IF(BARSLAST(FILTER2051)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2051));  

BT2052:=IF(BARSLAST(FILTER2052)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2052));  

BT2053:=IF(BARSLAST(FILTER2053)=DRAWNULL,BARSCOUNT(CLOSE),BARSLAST(FILTER2053));  

最近黄金  

线:=MIN(MIN(MIN(MIN(MIN(MIN(BT201,BT202),BT203),BT204),BT2051),BT2052),BT2053);  

DAY1:=SUMBARS(FILTER100,1),NODRAW;  

HJX1_1:=IF(SUMBARS(FILTER201,1)=DAY1,IF(DAY1=1,LOW,REF(LOW,DAY1-1)),0),NODRAW;  

HJX1_2:=IF(SUMBARS(FILTER202,1)=DAY1,IF(DAY1=1,MIN(C,O),MIN(REF(C,DAY1-1),REF(OP  

EN,DAY1-1))),0),NODRAW;  

HJX1_3:=IF(SUMBARS(FILTER203,1)=DAY1,IF(DAY1=1,HIGH,REF(HIGH,DAY1-1)),0),NODRAW;  

HJX1_4:=IF(SUMBARS(FILTER204,1)=DAY1,IF(DAY1=1,MAX(C,O),MAX(REF(C,DAY1-1),REF(OP  

EN,DAY1-1))),0),NODRAW;  

HJX1_51:=IF(SUMBARS(FILTER2051,1)=DAY1,IF(DAY1=2,LOW,IF(DAY1<2,DRAWNULL,REF(LOW,  

DAY1-2))),0),NODRAW;  

HJX1_52:=IF(SUMBARS(FILTER2052,1)=DAY1,IF(DAY1=3,LOW,IF(DAY1<3,DRAWNULL,REF(LOW,  

DAY1-3))),0),NODRAW;  

HJX1_53:=IF(SUMBARS(FILTER2053,1)=DAY1,IF(DAY1=4,LOW,IF(DAY1<4,DRAWNULL,REF(LOW,  

DAY1-4))),0),NODRAW;  

黄金  

线:=HJX1_1+HJX1_2+HJX1_3+HJX1_4+HJX1_51+HJX1_52+HJX1_53,COLORYELLOW,NODRAW;  

立桩量:=VOL=HHV(VOL,40)ANDVOL>1.9*REF(VOL,1);  

立桩量三日突破:=IF(BARSLAST(立桩量)=1AND  

CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2AND  

CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3AND  

CLOSE>REF(HIGH,3),1,0)));  

立桩量三日不破:=BARSLAST(立桩量)=3AND  

REF(LOW,3)<=MIN(MIN(C,REF(C,1)),REF(C,2));  

BACKSET300:=BACKSET(立桩量三日不破,4);  

BACKSET301:=BACKSET(立桩量三日突破,4);  

立桩量成立:=FILTER(BACKSET300,3)ANDBACKSET301AND立桩量;  

DRAWTEXT(立桩量成立,HIGH*1.01,'↙立桩量'),COLOR00FF00;  

DRAWTEXT(FILTER101,LOW*0.986,'↖黄金柱'),COLORYELLOW;  

STICKLINE(FILTER101,OPEN,CLOSE,0.5,0),COLORYELLOW;  

DRAWTEXT(FILTER102,LOW*0.986,'↖次黄金柱'),COLORYELLOW;  

DRAWTEXT(FILTER104,LOW*0.986,'↖将军柱'),COLORYELLOW;  

STICKLINE(FILTER104,OPEN,CLOSE,1.5,0),COLORYELLOW;

image.png

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。