小鲁157
发表于 2015-5-8 10:26
tyrant188
发表于 2016-1-18 14:15
A1:=C>=REF(C,4);
A2:=C<REF(C,4);
A3:=C<REF(C,4) AND REF(A1,1);
T:=BARSLAST(A3),NODRAW;
M0:=(T=0 AND REFX(T=1 AND NOT(A2),1)) OR (REFX(T=2 AND NOT(A2),2)) OR (REFX(T=3 AND NOT(A2),3)) OR (REFX(T=4 AND NOT(A2),4)) OR (REFX(T=5 AND NOT(A2),5)) OR (REFX(T=6 AND NOT(A2),6)) OR (REFX(T=7 AND NOT(A2),7)) OR (REFX(T=8 AND NOT(A2),8));
M1:=T=1 AND REFX(T=2 AND NOT(A2),1) OR (REFX(T=3 AND NOT(A2),2)) OR (REFX(T=4 AND NOT(A2),3)) OR (REFX(T=5 AND NOT(A2),4)) OR (REFX(T=6 AND NOT(A2),5)) OR (REFX(T=7 AND NOT(A2),6)) OR (REFX(T=8 AND NOT(A2),7));
M2:=T=2 AND REFX(T=3 AND NOT(A2),1) OR (REFX(T=4 AND NOT(A2),2)) OR (REFX(T=5 AND NOT(A2),3)) OR (REFX(T=6 AND NOT(A2),4)) OR (REFX(T=7 AND NOT(A2),5)) OR (REFX(T=8 AND NOT(A2),6));
M3:=T=3 AND REFX(T=4 AND NOT(A2),1)OR (REFX(T=5 AND NOT(A2),2)) OR (REFX(T=6 AND NOT(A2),3)) OR (REFX(T=7 AND NOT(A2),4))OR (REFX(T=8 AND NOT(A2),5));
M4:=T=4 AND REFX(T=5 AND NOT(A2),1) OR (REFX(T=6 AND NOT(A2),2)) OR (REFX(T=7 AND NOT(A2),3)) OR (REFX(T=8 AND NOT(A2),4));
M5:=T=5 ANDREFX(T=6 AND NOT(A2),1) OR (REFX(T=7 AND NOT(A2),2)) OR (REFX(T=8 AND NOT(A2),3));
M6:=T=6ANDREFX(T=7 AND NOT(A2),1) OR (REFX(T=8 AND NOT(A2),2));
M7:=T=7ANDREFX(T=8 AND NOT(A2),1);
N0:=T=1 AND REF(T=0 AND A3,1) AND A2;
N1:=T=2 AND REF(N0,1) AND A2;
N2:=T=3 AND REF(N1,1) AND A2;
N3:=T=4 AND REF(N2,1) AND A2;
N4:=T=5 AND REF(N3,1) AND A2;
N5:=T=6 AND REF(N4,1) AND A2;
N6:=T=7 AND REF(N5,1) AND A2;
N7:=T=8 AND REF(N6,1) AND A2;
WZD:=L*0.98;
WZG:=H*1.02;
DRAWTEXT(T=0,WZD,'1'),COLORGREEN;
DRAWTEXT(N0,WZD,'2'),COLORGREEN;
DRAWTEXT(N1,WZD,'3'),COLORGREEN;
DRAWTEXT(N2,WZD,'4'),COLORGREEN;
DRAWTEXT(N3,WZD,'5'),COLORGREEN;
DRAWTEXT(N4,WZD,'6'),COLORGREEN;
DRAWTEXT(N5,WZD,'7'),COLORGREEN;
DRAWTEXT(N6,WZD,'8'),COLORGREEN;
DRAWTEXT(N7,WZG,'9'),COLORMAGENTA;
DRAWTEXT(M0,WZD,'1'),COLORBLACK;
DRAWTEXT(M1,WZD,'2'),COLORBLACK;
DRAWTEXT(M2,WZD,'3'),COLORBLACK;
DRAWTEXT(M3,WZD,'4'),COLORBLACK;
DRAWTEXT(M4,WZD,'5'),COLORBLACK;
DRAWTEXT(M5,WZD,'6'),COLORBLACK;
DRAWTEXT(M6,WZD,'7'),COLORBLACK;
DRAWTEXT(M7,WZD,'8'),COLORBLACK;
B1:=C<=REF(C,4);
B2:=C>REF(C,4);
B3:=C>REF(C,4) AND REF(B1,1);
T1:=BARSLAST(B3),NODRAW;
M8:=(T1=0 AND REFX(T1=1 AND NOT(B2),1)) OR (REFX(T1=2 AND NOT(B2),2)) OR (REFX(T1=3 AND NOT(B2),3)) OR (REFX(T1=4 AND NOT(B2),4)) OR (REFX(T1=5 AND NOT(B2),5)) OR (REFX(T1=6 AND NOT(B2),6)) OR (REFX(T1=7 AND NOT(B2),7)) OR (REFX(T1=8 AND NOT(B2),8));
M9:=T1=1 AND REFX(T1=2 AND NOT(B2),1) OR (REFX(T1=3 AND NOT(B2),2)) OR (REFX(T1=4 AND NOT(B2),3)) OR (REFX(T1=5 AND NOT(B2),4)) OR (REFX(T1=6 AND NOT(B2),5)) OR (REFX(T1=7 AND NOT(B2),6)) OR (REFX(T1=8 AND NOT(B2),7));
M10:=T1=2 AND REFX(T1=3 AND NOT(B2),1) OR (REFX(T1=4 AND NOT(B2),2)) OR (REFX(T1=5 AND NOT(B2),3)) OR (REFX(T1=6 AND NOT(B2),4)) OR (REFX(T1=7 AND NOT(B2),5)) OR (REFX(T1=8 AND NOT(B2),6));
M11:=T1=3 AND REFX(T1=4 AND NOT(B2),1)OR (REFX(T1=5 AND NOT(B2),2)) OR (REFX(T1=6 AND NOT(B2),3)) OR (REFX(T1=7 AND NOT(B2),4))OR (REFX(T1=8 AND NOT(B2),5));
M12:=T1=4 AND REFX(T1=5 AND NOT(B2),1) OR (REFX(T1=6 AND NOT(B2),2)) OR (REFX(T1=7 AND NOT(B2),7)) OR (REFX(T1=8 AND NOT(B2),4));
M13:=T1=5 ANDREFX(T1=6 AND NOT(B2),1) OR (REFX(T1=7 AND NOT(B2),2)) OR (REFX(T1=8 AND NOT(B2),3));
M14:=T1=6ANDREFX(T1=7 AND NOT(B2),1) OR (REFX(T1=8 AND NOT(B2),2));
M15:=T1=7ANDREFX(T1=8 AND NOT(B2),1);
N8:=T1=1 AND REF(T1=0 AND B3,1) AND B2;
N9:=T1=2 AND REF(N8,1) AND B2;
N10:=T1=3 AND REF(N9,1) AND B2;
N11:=T1=4 AND REF(N10,1) AND B2;
N12:=T1=5 AND REF(N11,1) AND B2;
N13:=T1=6 AND REF(N12,1) AND B2;
N14:=T1=7 AND REF(N13,1) AND B2;
N15:=T1=8 AND REF(N14,1) AND B2;
DRAWTEXT(T1=0,WZG,'1'),COLOR9900CC;
DRAWTEXT(N8,WZG,'2'),COLOR9900CC;
DRAWTEXT(N9,WZG,'3'),COLOR9900CC;
DRAWTEXT(N10,WZG,'4'),COLOR9900CC;
DRAWTEXT(N11,WZG,'5'),COLOR9900CC;
DRAWTEXT(N12,WZG,'6'),COLOR9900CC;
DRAWTEXT(N13,WZG,'7'),COLOR9900CC;
DRAWTEXT(N14,WZG,'8'),COLOR9900CC;
DRAWTEXT(N15,WZD,'9'),COLORGREEN;
DRAWTEXT(M8,WZG,'1'),COLORBLACK;
DRAWTEXT(M9,WZG,'2'),COLORBLACK;
DRAWTEXT(M10,WZG,'3'),COLORBLACK;
DRAWACK;
DRAWTEXT(M13,WZG,'6'),COLORBLACK;
狼奔股市
发表于 2016-3-26 06:17
{涨停5基因附图公式:} {1.百日低量群} N:=100; V100:= V<=LLV(V,N)*1.2 AND V>0 AND BARSCOUNT(V)>=N; 百日地量群:=COUNT(V100,5)>=3; 倍量:= VOL>=REF(V,1)*1.9 AND C>REF(C,1); 百地_倍量:=REF(百日地量群,1) AND 倍量; 地量又倍量:COUNT(百地_倍量,1)>=1;{2.倍量过左峰} N2:=20; 左峰高:=REF(HHV(C,N2),1); 倍量过左:REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高 AND C>O AND VOL/REF(VOL,1)>=1.9; {3.回踩黄金线} {1.黄金柱} JJ:=(3*C+H+L+O)/6; VAR1:=DMA(JJ,0.2); {VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3) +4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;} TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1); LJL:=FILTER(TJ1,3); 黄金线:=REF(LOW,BARSLAST(LJL)); 黄金柱:=FILTER(TJ1,3); {2.倍量过左峰} SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1); SR2:=FILTER(SR1,10); SR3:=BACKSET(SR2,10+1); HD:=FILTER(SR3,10); 前高:=REF(H,BARSLAST(HD)); {倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;} 突破前高:=CROSS(C,前高); 倍量过左峰:= 突破前高 AND 倍量; {3.凹口起柱} T7:=REF(VOL,6)/REF(VOL,7)>=2; T6:=REF(VOL,5)/REF(VOL,6)>=2; T5:=REF(VOL,5)/REF(VOL,4)>=1.5; T4:=REF(VOL,4)/REF(VOL,3)>=1.5; T3:=REF(VOL,2)/REF(VOL,3)>=1.5; T1:=V/REF(VOL,1)>2; T0:=C>O AND C>REF(C,1); 凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ; {凹口起柱} AKQZ:= 黄金柱 AND 凹口起柱; {4.前高低位} X:=21; TTY:=H; AAT:=REF(TTY,X)=HHV(TTY,2*X+1); BBT:=FILTER(AAT,X); CCT:=BACKSET(BBT,X+1); HD10T:=FILTER(CCT,X); 前期高位:=REF(H,BARSLAST(HD10T)); {突破前高} TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位; {选股} 回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10)) AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线 AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0; {5.长阴短柱} 长阴短柱: C/REF(C,1)<0.95 AND V<HHV(V,30)/1.9; {6.1 底同向精准} NN:=3; LL0:=0; L0:=LL0/100; L1:=ABS(L-REF(L,1))<=L0; L2:=ABS(L-REF(L,2))<=L0; L3:=ABS(L-REF(L,3))<=L0; L4:=ABS(L-REF(L,4))<=L0; L5:=ABS(L-REF(L,5))<=L0; 精准线:=L1 OR L2 OR L3 OR L4 OR L5; 底精准: FILTER(精准线,NN),COLORCYAN; {6.2 异向并肩精准线} 异向并肩精准:MIN(O,C)=REF(MAX(O,C),1) ; {4.咬住峰顶线} FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值} TJ:=BETWEEN(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线: COUNT(TJ,3)>=2,COLORLIRED;
tyrant188
发表于 2016-2-6 01:13
{涨停5基因附图公式:} {1.百日低量群} N:=100; V100:= V<=LLV(V,N)*1.2 AND V>0 AND BARSCOUNT(V)>=N; 百日地量群:=COUNT(V100,5)>=3; 倍量:= VOL>=REF(V,1)*1.9 AND C>REF(C,1); 百地_倍量:=REF(百日地量群,1) AND 倍量; 地量又倍量:COUNT(百地_倍量,1)>=1;{2.倍量过左峰} N2:=20; 左峰高:=REF(HHV(C,N2),1); 倍量过左:REF(COUNT(C<左峰高,2)=2,1) AND C>左峰高 AND C>O AND VOL/REF(VOL,1)>=1.9; {3.回踩黄金线} {1.黄金柱} JJ:=(3*C+H+L+O)/6; VAR1:=DMA(JJ,0.2); {VAR1:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3) +4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;} TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1 AND C>REF(C,1); LJL:=FILTER(TJ1,3); 黄金线:=REF(LOW,BARSLAST(LJL)); 黄金柱:=FILTER(TJ1,3); {2.倍量过左峰} SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1); SR2:=FILTER(SR1,10); SR3:=BACKSET(SR2,10+1); HD:=FILTER(SR3,10); 前高:=REF(H,BARSLAST(HD)); {倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;} 突破前高:=CROSS(C,前高); 倍量过左峰:= 突破前高 AND 倍量; {3.凹口起柱} T7:=REF(VOL,6)/REF(VOL,7)>=2; T6:=REF(VOL,5)/REF(VOL,6)>=2; T5:=REF(VOL,5)/REF(VOL,4)>=1.5; T4:=REF(VOL,4)/REF(VOL,3)>=1.5; T3:=REF(VOL,2)/REF(VOL,3)>=1.5; T1:=V/REF(VOL,1)>2; T0:=C>O AND C>REF(C,1); 凹口起柱:= T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ; {凹口起柱} AKQZ:= 黄金柱 AND 凹口起柱; {4.前高低位} X:=21; TTY:=H; AAT:=REF(TTY,X)=HHV(TTY,2*X+1); BBT:=FILTER(AAT,X); CCT:=BACKSET(BBT,X+1); HD10T:=FILTER(CCT,X); 前期高位:=REF(H,BARSLAST(HD10T)); {突破前高} TPQG:= 黄金柱 AND 倍量过左峰 AND C>前期高位; {选股} 回踩黄金线: (COUNT(TPQG,10) OR COUNT(AKQZ,10)) AND COUNT(CROSS(黄金线*1.01,L),3)>0 AND L>=黄金线 AND C>REF(C,1) AND REF(C,2)>REF(C,1) AND COUNT(LJL,3)=0; {5.长阴短柱} 长阴短柱: C/REF(C,1)<0.95 AND V<HHV(V,30)/1.9; {6.1 底同向精准} NN:=3; LL0:=0; L0:=LL0/100; L1:=ABS(L-REF(L,1))<=L0; L2:=ABS(L-REF(L,2))<=L0; L3:=ABS(L-REF(L,3))<=L0; L4:=ABS(L-REF(L,4))<=L0; L5:=ABS(L-REF(L,5))<=L0; 精准线:=L1 OR L2 OR L3 OR L4 OR L5; 底精准: FILTER(精准线,NN),COLORCYAN; {6.2 异向并肩精准线} 异向并肩精准:MIN(O,C)=REF(MAX(O,C),1) ; {4.咬住峰顶线} FDX:=PEAK(1,10,1);{REF(HHV(H,60),5)};{上一波峰值} TJ:=BETWEEN(MA(H,3),FDX*0.997,FDX*1.02);咬住峰顶线: COUNT(TJ,3)>=2,COLORLIRED;
yangwt
发表于 2015-5-8 10:29
多谢楼主分享!!!
叫我女王
发表于 2015-5-8 10:29
:handshake
怡瑞
发表于 2015-5-8 10:43
缩量大跌,敢进必涨
tyq2006
发表于 2015-5-8 11:04
李京洋
发表于 2015-5-8 11:07
就是高呀。向你学习
Cherish25
发表于 2015-5-8 11:12
谢谢分享!
杨秀强
发表于 2015-5-8 11:13
谢谢老师分享 老师辛苦了
fhr7336
发表于 2015-5-8 11:17
之华
发表于 2015-5-8 11:19
在大盘大跌的环境下择机大胆介入
股道热场
发表于 2015-5-8 11:23
#在这里快速谢谢你分享回复#谢谢你分享
阿李伯
发表于 2015-5-8 11:31
感谢你的分析
Cherish25
发表于 2015-5-8 11:31
谢谢楼主,楼主辛苦了
johnnyxie
发表于 2015-5-8 11:37
DINGDINGDING
张嘉城
发表于 2015-5-8 11:42
谢谢002326刚出凹口强
页:
[1]
2
3
4
5
6
7
8
9
10