假阴真阳开盘价划线公式
T:=BARSLAST(C<O AND C>REF(C,1));DRAWLINE(T=0,O,ISLASTBAR,REF(O,T),0),COLORYELLOW,DOTLINE;
{假阴真阳开盘价划线公式};
: 23
存盘公式量柱指标1 [复制链接]
吴建新
VIP贵宾会员
威望11374 学分9512 预报涨停82 支
发消息
电梯直达1楼
发表于 2016-11-27 22:28 | 只看该作者
倍量:=VOL>REF(V,1)*2.10 AND C>REF(C,1);
本帖隐藏的内容
小倍阳:=VOL>=REF(V,1)*1.58 AND VOL<=REF(V,1)*2.10 AND C>REF(C,1);
低量:=VOL=LLV(VOL,20) AND V>0;
高量:=VOL=HHV(VOL,15) AND V>0;
平量:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02;
倍缩:=VOL<=REF(V,1)*1/2;
缩三一:=VOL<=REF(V,1)*2/3;
缩三二:=VOL<=REF(V,1)*1/3;
梯量:=COUNT(V>REF(V,1),2)=2 AND COUNT(C>REF(C,1),3)=3;
缩量涨:=COUNT(C>REF(C,1),2)=2 AND COUNT(V<REF(V,1),2)=2;
百日地量:=VOL<=LLV(V,100);
T4变异:=COUNT(REF(V,1)>REF(V,2),2)=2 AND COUNT(C>=REF(C,1),4)=4;
T4:=FILTER(T4变异,3);
三日前收阳:=REF(C,3)>=REF(C,4) AND REF(C,3)>=REF(O,3);
三日前高量:=REF(V,3)>HHV(V,10);
三日最低不破顶:=LLV(C,3)>=REF(C,3);
三日均价不破顶:=MA(C,3)>=REF(C,3);
三日不破顶:=三日最低不破顶 OR 三日均价不破顶;
三日最低不破底:=LLV(C,3)>=REF(O,3);
三日均价不破底:=MA(C,3)>=REF(O,3);
三日不破底:=三日最低不破底 OR 三日均价不破底;
三日前倍量:=REF(V,3)>=(REF(V,4)*1.8);
三日前阳胜:=REF(C,3)>REF(C,4) AND REF(V,3)>REF(V,4) AND REF(C,3)>REF(O,4);
收阳次数:=COUNT(C>REF(C,1),3)>=1;
三日量不过顶:=HHV(V,3)<=REF(V,3);
三日均量不过顶:=MA(V,3)<=REF(V,3);
价升大于量升:=MA(C,3)/REF(C,3) >= (MA(V,3)/REF(V,3) * 1.2);
价量:=三日量不过顶 OR 三日均量不过顶 OR 价升大于量升;
倍量黄金柱:=三日前倍量 AND 三日不破顶 AND 三日前收阳 AND 价量 AND 收阳次数;
高量黄金柱:=三日前高量 AND 三日不破顶 AND 三日前收阳 AND 价量 AND 收阳次数;
阳胜黄金柱:=三日前阳胜 AND 三日不破顶 AND 三日前收阳 AND 价量 AND 收阳次数;
倍量将军柱:=三日前倍量 AND 三日不破底 AND 三日前收阳 AND 价量 AND 收阳次数;
高量将军柱:=三日前高量 AND 三日不破底 AND 三日前收阳 AND 价量 AND 收阳次数;
阳胜将军柱:=三日前阳胜 AND 三日不破底 AND 三日前收阳 AND 价量 AND 收阳次数;
黄金柱:=倍量黄金柱 OR 高量黄金柱 OR 阳胜黄金柱;
将军柱:=倍量将军柱 OR 高量将军柱 OR 阳胜将军柱;
STICKLINE(倍量,C,O,2,0),COLORYELLOW;
STICKLINE(低量,C,O,2,0),COLORFF8000;
STICKLINE(平量,C,O,2,0),COLORFFFFFF;
STICKLINE(梯量,C,O,2,0),COLOR008080;
STICKLINE(缩量涨,C,O,2,0),COLOR0080FF;
STICKLINE(缩三一,C,O,2,0),COLORC08080;
STICKLINE(倍缩,C,O,2,0),COLORFF0080;
STICKLINE(缩三二,C,O,2,0),COLOR400080;
STICKLINE(小倍阳,C,O,2,0),COLORYELLOW;
STICKLINE(将军柱,C,O,2,0),COLORLIMAGENTA;
DRAWTEXT(百日地量,C*1.05, '地'),COLORYELLOW;
DRAWTEXT(高量,C*1.05,'高'),COLORYELLOW;
DRAWTEXT(T4,C*1.05, 'T4'),COLORYELLOW;
DRAWTEXT(黄金柱,C*1.05,'金'),COLORYELLOW;
DRAWTEXT(小倍阳,C*1.05, '倍'),COLORYELLOW;
阴连缩:=C<REF(C,1)AND REF(C,1)<REF(C,2)AND REF(C,2)<REF(C,3) AND V*1.05<REF(V,1)
AND REF(V,1)*1.05<REF(V,2) AND NOT((BARSCOUNT(C)+1)<60) ;
DRAWTEXT(阴连缩,C*1.1,'阴连缩'),COLORWHITE;
{阳连缩}
阳连缩:= UPNDAY(C,3) ANDDOWNNDAY(V,3)
AND NOT(O=C AND H=C) ;
STICKLINE(阳连缩,C,O,1,0),COLORBROWN;
DRAWTEXT(阳连缩,C*1.1,'阳连缩'),COLORRED;
五零地量:=V<=LLV(V,50);
一百地量:=V<=LLV(V,100);
TJ:=BARSLAST(五零地量);
五零地量柱:=REF(C,TJ);
STICKLINE(五零地量柱,五零地量柱,五零地量柱,1,1),COLORFFFFFF;
TJJ:=BARSLAST(一百地量);
一百地量柱:=REF(C,TJJ);
STICKLINE(一百地量柱,一百地量柱,一百地量柱,1,1),COLORFFFFFF;
缩量二一1:=V<=REF(V,1)*0.5 AND C>O;
缩量二一2:=V<=REF(V,1)*0.5 AND C<O;
K1:=SUMBARS(缩量二一1,1);
STICKLINE(K1,REF(C,K1-1),REF(C,K1-1),30,0),COLOR8000FF;
K2:=SUMBARS(缩量二一2,1);
STICKLINE(K2,REF(C,K2-1),REF(C,K2-1),30,0),COLOR8000FF; VDING:=MAX(O,C);{实顶}
DI:=MIN(O,C);{实底}
YANG:=(DI>=REF(DING,1)) OR (C>O AND NOT(DING<=REF(DI,1))) OR (C>REF(C,1) AND C=O) OR (C=REF(C,1) AND C=O AND REF(DING,1)=C);{阳线}
YIN:=NOT(YANG);
YANGSHENG:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND (V>REF(V,BARSLAST(YIN)) OR (BETWEEN(V,REF(V,BARSLAST(YIN))*0.95,REF(V,BARSLAST(YIN))*1.05)));
YINSHENG:=(YIN AND C<=REF(DI,BARSLAST(YANG)) AND V>REF(V,BARSLAST(YANG)));
LIANGJIABI:=V/C;
MALIANGJIABI:=MA(LIANGJIABI,3);
LIANGJIABIXISHU:=1.5;
BLZ:=V>REF(V,1)*1.5;
PLZ:=BETWEEN(V,REF(V,1)*0.95,REF(V,1)*1.05) OR BETWEEN(V,REFX(V,1)*0.95,REFX(V,1)*1.05) OR
(BETWEEN(V,REF(V,2)*0.95,REF(V,2)*1.05) AND V>REF(V,1)*1.2) OR
(BETWEEN(V,REF(V,3)*0.95,REF(V,3)*1.05) AND V>REF(MA(V,2),1)*1.2 AND V>REF(HHV(V,2),1)) OR
(BETWEEN(V,REF(V,4)*0.95,REF(V,4)*1.05) AND V>REF(MA(V,3),1)*1.2 AND V>REF(HHV(V,3),1)) OR
(BETWEEN(V,REF(V,5)*0.95,REF(V,5)*1.05) AND V>REF(MA(V,4),1)*1.2 AND V>REF(HHV(V,4),1)) OR
(BETWEEN(V,REF(V,6)*0.95,REF(V,6)*1.05) AND V>REF(MA(V,5),1)*1.2 AND V>REF(HHV(V,5),1)) OR
(BETWEEN(V,REF(V,7)*0.95,REF(V,7)*1.05) AND V>REF(MA(V,6),1)*1.2 AND V>REF(HHV(V,6),1)) OR
(BETWEEN(V,REF(V,8)*0.95,REF(V,8)*1.05) AND V>REF(MA(V,7),1)*1.2 AND V>REF(HHV(V,7),1)) OR
(BETWEEN(V,REF(V,9)*0.95,REF(V,9)*1.05) AND V>REF(MA(V,8),1)*1.2 AND V>REF(HHV(V,8),1)) OR
(BETWEEN(V,REF(V,10)*0.95,REF(V,10)*1.05) AND V>REF(MA(V,9),1)*1.2 AND V>REF(HHV(V,9),1)) OR
(BETWEEN(V,REF(V,11)*0.95,REF(V,11)*1.05) AND V>REF(MA(V,10),1)*1.2 AND V>REF(HHV(V,10),1)) OR
(BETWEEN(V,REF(V,12)*0.95,REF(V,12)*1.05) AND V>REF(MA(V,11),1)*1.2 AND V>REF(HHV(V,11),1));
GLZ:=V=HHV(V,3) AND V=REFX(HHV(V,3),2);
TLZ:=(V*1.1<REFX(V,1) AND REFX(V,1)*1.1<REFX(V,2)) OR (V>REF(V,1)*1.1 AND V*1.1<REFX(V,1)) OR (V>REF(V,1)*1.1 AND REF(V,1)>REF(V,2)*1.1);
JSLS:=C<=REFX(C,1) AND REFX(C,1)<=REFX(C,2) AND LIANGJIABI>REFX(LIANGJIABI,1) AND REFX(LIANGJIABI,1)>REFX(LIANGJIABI,2);
JZ:=BLZ OR GLZ OR PLZ OR TLZ;
JJZ:=CURRBARSCOUNT>=4 AND YANG AND (YANGSHENG) AND JZ AND REFX(LLV(DI,3),3)>=DI AND (REFX(MA(LIANGJIABI,3),3)<=LIANGJIABIXISHU*LIANGJIABI OR REFX(JSLS,1)) AND REFX(C,3)>=DING;
HJZ1:=JJZ AND REFX(MA(C,3),3)>=DING AND REFX(MA(LIANGJIABI,3),3)<=LIANGJIABI AND REFX(YANG,3);
HJZ2:=YANG AND YANGSHENG AND JZ AND REFX(DI,1)>=DI AND REFX(JJZ,2) AND REFX(C,2)>DING AND REFX(LIANGJIABI,1)<LIANGJIABI;
HJZ3:=YANG AND YANGSHENG AND JZ AND REFX(LLV(DI,2),2)>=DI AND REFX(JJZ,3) AND REFX(C,3)>DING AND REFX(MA(LIANGJIABI,2),2)<LIANGJIABI;
HJZ4:=JJZ AND REFX(LLV(DI,3),3)>=DING AND REFX(MA(LIANGJIABI,3),3)<=LIANGJIABI AND REFX(YANG,3) AND (REFX(YANG,1) OR REFX(YANG,2));
WP:=JJZ OR HJZ1 OR HJZ4 OR HJZ2 OR HJZ3;
CONDJJZ:=JJZ AND REF(NOT(WP),1);
CONDHJZ1:=(HJZ1 OR HJZ2 OR HJZ3) AND REF(NOT(WP),1);
A:=CONDJJZ OR CONDHJZ1;
LZT:=BARSLAST(A);
LZTJ:=LZT<=10 AND LZT>=5;
JTJ:=C>REF(L,LZT);
JXL:=V<=LLV(V,LZT);
LTJ:=V<LLV(V,LZT)*1.1;
ZF:=(C-REF(C,1))*100/REF(C,1);
ZFTJ:=ABS(ZF)<1;
V2T:=V/REF(V,1);
JDLS:=ZF<=0 AND V2T<1;
LSTJ:=COUNT(JDLS,LZT)>=2;
{LTJ:=V2T<0.8;}
AZMD:JTJ AND LTJ AND LZTJ AND LSTJ AND ZFTJ;
STICKLINE(AZMD,0,100,3,0),COLORRED; 本帖隐藏的内容
倍量:=VOL>REF(V,1)*2.10 AND C>REF(C,1);
小倍阳:=VOL>=REF(V,1)*1.85 AND VOL<=REF(V,1)*2.10 AND C>REF(C,1);
低量:=VOL=LLV(VOL,20) AND V>0;
高量:=VOL=HHV(VOL,15) AND V>0;
平量:=V>REF(V,1)*0.98 AND V<REF(V,1)*1.02;
倍缩:=VOL<=REF(V,1)*1/2;
缩三一:=VOL<=REF(V,1)*2/3;
缩三二:=VOL<=REF(V,1)*1/3;
梯量:=COUNT(V>REF(V,1),2)=2 AND COUNT(C>REF(C,1),3)=3;
缩量涨:=COUNT(C>REF(C,1),2)=2 AND COUNT(V<REF(V,1),2)=2;
百日地量:=VOL<=LLV(V,100);
T4变异:=COUNT(REF(V,1)>REF(V,2),2)=2 AND COUNT(C>=REF(C,1),4)=4;
T4:=FILTER(T4变异,3);
阳线:=C>=REF(C,1);
阴线:=C<REF(C,1);
三日前收阳:=REF(C,3)>=REF(C,4) AND REF(C,3)>=REF(O,3);
三日前高量:=REF(V,3)>HHV(V,10);
三日最低不破顶:=LLV(C,3)>=REF(C,3);
三日均价不破顶:=MA(C,3)>=REF(C,3);
三日不破顶:=三日最低不破顶 OR 三日均价不破顶;
三日最低不破底:=LLV(C,3)>=REF(O,3);
三日均价不破底:=MA(C,3)>=REF(O,3);
三日不破底:=三日最低不破底 OR 三日均价不破底;
三日前倍量:=REF(V,3)>=(REF(V,4)*1.8);
三日前阳胜:=REF(C,3)>REF(C,4) AND REF(V,3)>REF(V,4) AND REF(C,3)>REF(O,4);
收阳次数:=COUNT(C>REF(C,1),3)>=1;
三日量不过顶:=HHV(V,3)<=REF(V,3);
三日均量不过顶:=MA(V,3)<=REF(V,3);
价升大于量升:=MA(C,3)/REF(C,3) >= (MA(V,3)/REF(V,3) * 1.2);
价量:=三日量不过顶 OR 三日均量不过顶 OR 价升大于量升;
倍量黄金柱:=三日前倍量 AND 三日不破顶 AND 三日前收阳 AND 价量 AND 收阳次数;
高量黄金柱:=三日前高量 AND 三日不破顶 AND 三日前收阳 AND 价量 AND 收阳次数;
阳胜黄金柱:=三日前阳胜 AND 三日不破顶 AND 三日前收阳 AND 价量 AND 收阳次数;
倍量将军柱:=三日前倍量 AND 三日不破底 AND 三日前收阳 AND 价量 AND 收阳次数;
高量将军柱:=三日前高量 AND 三日不破底 AND 三日前收阳 AND 价量 AND 收阳次数;
阳胜将军柱:=三日前阳胜 AND 三日不破底 AND 三日前收阳 AND 价量 AND 收阳次数;
黄金柱:=倍量黄金柱 OR 高量黄金柱 OR 阳胜黄金柱;
将军柱:=倍量将军柱 OR 高量将军柱 OR 阳胜将军柱;
HT:=5*V;
WT:=0.3;
STICKLINE(阳线,0,HT,1,0),COLOR0000AA;
STICKLINE(阴线,0,HT,1,0),COLOR00AA00;
STICKLINE(倍量,0,HT,WT,0),COLORYELLOW;
STICKLINE(低量,0,HT,WT,0),COLORBLACK;
STICKLINE(平量,0,HT,WT,0),COLORWHITE;
STICKLINE(梯量,0,HT,WT,0),COLORGRAY;
STICKLINE(缩量涨,0,HT,WT,0),COLORBLUE;
STICKLINE(缩三一,0,HT,WT,0),COLORLIRED;
STICKLINE(倍缩,0,HT,WT,0),COLORCYAN;
STICKLINE(缩三二,0,HT,WT,0),COLORLIGRAY;
STICKLINE(小倍阳,0,HT,WT,0),COLORYELLOW;
STICKLINE(将军柱,0,HT,WT,0),COLORLIMAGENTA;
DRAWTEXT(百日地量,V*10, '地'),COLORYELLOW;
DRAWTEXT(高量,HT,'高'),COLORYELLOW;
DRAWTEXT(T4,V*3.5, 'T4'),COLORYELLOW;
DRAWTEXT(黄金柱,V*3,'<-'),COLORYELLOW;
DRAWTEXT(黄金柱,V*1.5,'金'),COLORYELLOW;
DRAWTEXT(小倍阳,V*4, '倍'),COLORYELLOW; T:=BARSLAST(C<O AND C>REF(C,1)); 谢谢老师的分享 谢谢老师的分享!!! 学习!!!! 学习了,谢谢分享 谢谢分享。 谢谢,找了很久的 假阴真阳开盘价划线公式 T:=BARSLAST(C<O AND C>REF(C,1)); 谢谢老师无私分享
谢谢老师的分享 谢谢分享! 谢谢分享! 学习学习下