一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

《通達(dá)信主副圖指標(biāo)集錦》6

 吾乃一口吞天 2011-08-26
《通達(dá)信主副圖指標(biāo)集錦》6  

2010-03-20 12:32:07|  分類: 通達(dá)信 |  標(biāo)簽: |字號 訂閱

{35秘密Z一品茶緣編寫主圖}
MA3:MA(C,3),COLOR00FF00;
MA5:MA(C,5),COLORFFFFFF;
ZX:=(MA3+MA5)/2;
MA20:MA(C,20),COLORFF00FF;
MA30:MA(C,30),COLORYELLOW;
QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);
YB:=C>REF((O-C)/2+C,2);
買:CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0,NODRAW;
優(yōu):買 AND MA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0,NODRAW;
{以下設(shè)置主圖顯示方式}
STICKLINE(買,h,l,0,1),COLOR00FF00,linethick2;
STICKLINE(買,o,c,4,1),COLOR00FF00,linethick2;
STICKLINE(優(yōu),h,l,0,1),COLORYELLOW,linethick2;
STICKLINE(優(yōu),o,c,4,1),COLORYELLOW,linethick2;
DRAWTEXT(買,L*0.99, '買'),COLOR00FF00;
DRAWICON(優(yōu),L,1);
{經(jīng)典震倉----白馬飲水,一品茶緣副圖指標(biāo)}
{DDF:10,30,10;----參數(shù)選擇18以上最安全,一般股票只需要設(shè)置10。}
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
DTPL:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;
DTSJ:=BARSLAST(DTPL AND NOT(REF(DTPL,1)));
ZXDT:=MA10>MA20 AND MA20>MA30 AND MA10>REF(MA10,1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
BMBD:=DTSJ<20 AND ZXDT AND COUNT(ZXDT,5)>=3;
TDDF:=(L/REF(C,1)-1)*100<=-5 AND (REF(HHV(H,5),1)/L-1)*100>=DDF;
跳水:TDDF*1,COLOR00FF00,LINETHICK2;
DRZC:=COUNT(H/REF(C,1)>=1.08,7) AND L/REF(C,1)<=0.93 AND BMBD;
運(yùn)動(dòng):IF(DRZC>0,1,0),COLORFF00FF,LINETHICK2;
經(jīng)典:((DRZC OR TDDF) AND BMBD AND L=LLV(L,5))*1,COLORYELLOW,LINETHICK2;
STICKLINE(DRZC,0,0.5,4,0),COLORYELLOW;
DRAWTEXT(DRZC OR 經(jīng)典=1,1,'經(jīng)◆典'),COLORFF00FF;
優(yōu)選:DRZC AND TDDF AND BMBD AND L=LLV(L,5),COLORYELLOW,POINTDOT,LINETHICK0;
DRAWICON(優(yōu)選,1,20);

 

 

{一品愛家}指標(biāo)信號與使用說明:
1、生命=籌碼;
2、孕育=短線超跌;
3、健康=籌碼脫離低位區(qū);
4、成長=籌碼進(jìn)入集中區(qū);
5、快樂=籌碼進(jìn)入控盤區(qū);
6、步步高=籌碼集中后拐點(diǎn);
7、退、休=高位回調(diào)信號;
8、經(jīng)典震倉:
綠色跳水=短線超跌;
紫色運(yùn)動(dòng)=單日急跌;
黃色經(jīng)典=安全低吸。
{特快列車Z----一品茶緣編寫精品指標(biāo),主圖}
{特快列車指標(biāo)使用說明:
均線角度巧安排,要乘特快看站臺;
買票上車是提示,啟動(dòng)加速列車開!}
A5:MA(C,5),COLOR00FFFF;
A20:MA(C,20),COLORFF00FF;
A30:MA(C,30),COLOR00FF00;
M5:=ATAN((A5/REF(A5,1)-1)*100)*180/3.14159;
M20:=ATAN((A20/REF(A20,1)-1)*100)*180/3.14159;
M30:=ATAN((A30/REF(A30,1)-1)*100)*180/3.14159;
QSXS:=M30>0;
A50:=IF(M5<0,-25,0);
A51:=IF(BETWEEN(M5,0,45),25,A50);
A52:=IF(BETWEEN(M5,45,75),50,A51);
MA5:=IF(M5>75,75,A52)*QSXS;
A200:=IF(M20<0,-25,0);
A201:=IF(BETWEEN(M20,0,45),25,A200);
A202:=IF(BETWEEN(M20,45,75),50,A201);
MA20:=IF(M20>75,75,A202)*QSXS;
A300:=IF(M30<0,-25,0);
A301:=IF(BETWEEN(M30,0,45),25,A300);
A302:=IF(BETWEEN(M30,45,75),50,A301);
MA30:=IF(M30>75,75,A302)*QSXS;
SGSJ:=BARSLAST(CROSS(MA5,REF(MA5+1,1)));
XGSJ:=BARSLAST(CROSS(REF(MA5-1,1),MA5));
列車:=IF(MA5>=50 AND MA20>=25 AND MA30>=25 AND SGSJ<XGSJ,50,25);
啟動(dòng):=IF(CROSS(列車,45),50,25);
站臺:=IF(MA5<=0 AND COUNT(MA20>=25,10)>=9 AND MA30>=25,-25,25);
買票:=IF(站臺=-25 AND COUNT(站臺=-25,3)>=2 AND C>=REF(C,4),25,-10);
上車:=IF(CROSS(MA5,0) AND COUNT(MA20>=25,10)>=9 AND MA30>=25,50,25);
DRAWTEXT(列車=50,A30, '○'),COLOR88FFFF;
DRAWTEXT(啟動(dòng)=50,A30, '●'),COLORFF00FF;
STICKLINE(站臺=-25,A30,A30*0.98,4,0),COLORFFFF00;
STICKLINE(買票=25,A30,A30*0.98,2,0),COLORFFFFFF;
DRAWTEXT(買票=25,A30*0.97, '票'),COLORFF8800;
DRAWTEXT(上車=50,A30, '△'),COLORFFFFFF;

 

 

{一品【特快列車】----副圖}
{特快列車指標(biāo)使用說明:
均線角度巧安排,要乘特快看站臺;
買票上車是提示,啟動(dòng)加速列車開!}
A5:=MA(C,5);
A20:=MA(C,20);
A30:=MA(C,30);
M5:=ATAN((A5/REF(A5,1)-1)*100)*180/3.14159;
M20:=ATAN((A20/REF(A20,1)-1)*100)*180/3.14159;
M30:=ATAN((A30/REF(A30,1)-1)*100)*180/3.14159;
QSXS:=M30>0;
A50:=IF(M5<0,-25,0);
A51:=IF(BETWEEN(M5,0,45),25,A50);
A52:=IF(BETWEEN(M5,45,75),50,A51);
MA5:IF(M5>75,75,A52)*QSXS,COLOR00FFFF;
A200:=IF(M20<0,-25,0);
A201:=IF(BETWEEN(M20,0,45),25,A200);
A202:=IF(BETWEEN(M20,45,75),50,A201);
MA20:IF(M20>75,75,A202)*QSXS,COLORFF00FF;
A300:=IF(M30<0,-25,0);
A301:=IF(BETWEEN(M30,0,45),25,A300);
A302:=IF(BETWEEN(M30,45,75),50,A301);
MA30:IF(M30>75,75,A302)*QSXS,COLOR00FF00;
SGSJ:=BARSLAST(CROSS(MA5,REF(MA5+1,1)));
XGSJ:=BARSLAST(CROSS(REF(MA5-1,1),MA5));
列車:IF(MA5>=50 AND MA20>=25 AND MA30>=25 AND SGSJ<XGSJ,50,25),COLOR00FFFF;
啟動(dòng):IF(CROSS(列車,45),50,25),COLORFF00FF;
站臺:IF(MA5<=0 AND COUNT(MA20>=25,10)>=9 AND MA30>=25,-25,25),COLORFFFF00;
買票:IF(站臺=-25 AND COUNT(站臺=-25,3)>=2 AND C>=REF(C,4),25,-10),COLORFF8800;
上車:IF(CROSS(MA5,0) AND COUNT(MA20>=25,10)>=9 AND MA30>=25,50,25),COLORFFFFFF;
{以下設(shè)置副圖顯示方式}
DRAWTEXT(列車=50,25, '○'),COLOR88FFFF;
DRAWTEXT(啟動(dòng)=50,25, '●'),COLORFF00FF;
DRAWTEXT(上車=50,25, '△'),COLORFFFFFF;
STICKLINE(站臺=-25,-10,-25,4,0),COLORFFFF00;
{低位反轉(zhuǎn)}副 (一品)

MA30:=MA(C,30);
QSXS:=MA30>=REF(MA30,1);
ZF:=(C/REF(C,1)-1)*100;
波段低點(diǎn):=LLV(C,3)=LLV(C,10) OR LLV(L,3)=LLV(L,10);
STICKLINE(波段低點(diǎn),0 ,0.2 ,5 ,1 ),COLORFF6600;
放量上漲:V/REF(V,1)>=1.5 AND ZF>=2 AND C>O,COLORYELLOW,STICK;
低位反轉(zhuǎn)1:放量上漲 AND 波段低點(diǎn),COLOR00FF00,linethick2;
低位反轉(zhuǎn)2:(COUNT(ZF>0,2)=2 AND 波段低點(diǎn))*2,COLORWHITE,linethick2;
優(yōu)選:(低位反轉(zhuǎn)1 OR 低位反轉(zhuǎn)2) AND QSXS,COLORFF00FF,POINTDOT,linethick4;
DRAWICON(優(yōu)選,0.3,1);
一品秘密 (副)


{指標(biāo)信號說明:白銀=低吸;黃金=啟動(dòng);金包銀=回調(diào)后重新啟動(dòng);}
{N:2,5,3;,N10:5,250,14;}

MA20:=MA(C,20);
MA30:=MA(C,30);
QSXS:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
ZF:=(C/REF(C,1)-1)*100;
TDDF:=(L/REF(C,1)-1)*100<=-5 AND (REF(HHV(H,5),1)/L-1)*100>=10;
N1:=BARSLAST(CROSS(C,MA(C,5)));
N2:=BARSLAST(CROSS(MA(C,5),C));
HM:IF(N1<N2,N1+1,0)*QSXS,COLOR00FFFF;
黃金:HM=1 AND ZF>=0 AND C>O AND QSXS,COLOR00FFFF,POINTDOT,LINETHICK2;
KX1:=ZF<=-N AND C<O;
XDSJ:=BARSLAST(KX1);
KX2:=ZF>=N AND C>O;
JBY:=KX2 AND XDSJ<=2 AND C>=REF(O*0.99,XDSJ) AND ZF>ABS(REF(ZF,XDSJ)*0.99);
金包銀:IF(FILTER(JBY,1) AND QSXS,5,0),COLORFF00FF,LINETHICK2;
{以下設(shè)置副圖顯示方式}
STICKLINE(黃金,0,2,4,0),COLOR00FFFF;
K:=N10/2;
DTPL:=MA(C,N10)>MA(C,N10*1.5) AND MA(C,N10*1.5)>MA(C,N10*3) AND MA(C,3)>MA(C,N10*6);
連續(xù)走強(qiáng):=COUNT(C>MA(C,N10),K)=K;
ZQSJ:=BARSLAST(連續(xù)走強(qiáng));
下穿:=CROSS(MA(C,N10),C);
GL:=MA(C,N10/2)/MA(C,N10*2)>=1.05;
買跌:(下穿 AND ZQSJ<=3 AND DTPL AND GL)*N10,COLOR00FF00,LINETHICK2;
連續(xù)走弱:=COUNT(C<MA(C,N10),K)=K;
ZRSJ:=BARSLAST(連續(xù)走弱);
上穿:=CROSS(C,MA(C,N10));
買漲:(上穿 AND ZRSJ<=3)*K,COLORFF00FF,LINETHICK2;
DRAWTEXT( 買漲,5,'買漲'),COLORred;
DRAWTEXT( 買跌,5,'買跌'),COLORyellow;
WR1:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
漲:WR2<10,POINTDOT,COLORRED;
跌:=WR2>80,POINTDOT,COLORWHITE;
DRAWTEXT(跌>0 ,1 , '#'),COLORWHITE;
P1:=5;P2:=10;P3:=20;P4:=30;P5:=60;P6:=120;
MA1:=MA(C,P1),COLORYELLOW;
MA2:=MA(C,P2),COLORFF00FF;
MA3:=MA(C,P3),COLOR00FF00;
MA4:=MA(C,P4),COLORWHITE;
MA5:=MA(C,P5),COLORFF9900;
MA6:=MA(C,P6),COLOR0000FF;
{ENV軌道線支撐}
UPPER:=(1+6/100)*MA(CLOSE,25);
LOWER:=(1-6/100)*MA(CLOSE,25);
MID:=(UPPER+LOWER)/2,COLORYELLOW,LINETHICK2;
生命線:=MID,COLORYELLOW,POINTDOT,LINETHICK2;
DTPLENV:=COUNT(MID>REF(MID,1),5)=5;
回:=((CROSS(MID,L) OR CROSS(MID,C)) AND DTPLENV)*1,COLORYELLOW,POINTDOT;
{MA2支撐}
QSXS2:=MA2>=REF(MA2,1);
DTPL2:=MA1>MA2 AND MA2>MA3 AND MA3>MA4;
ZWP2:=COUNT(C>MA2,P1)=P1 AND DTPL2;
HCP2A:=CROSS(MA2*1.02,L) AND REF(ZWP2,1);
HCP2B:=CROSS(MA2,C) AND REF(ZWP2,1);
回2:=((HCP2A OR HCP2B) AND QSXS2 AND DTPL2)*3,COLOR00FF00,POINTDOT;
{MA3支撐}
QSXS3:=MA3>=REF(MA3,1);
DTPL3:=MA1>MA2 AND MA2>MA3 AND MA3>MA4;
ZWP3:=COUNT(C>MA3,P1)=P1 AND DTPL3;
HCP3A:=CROSS(MA3*1.03,L) AND REF(ZWP3,1);
HCP3B:=CROSS(MA3,C) AND REF(ZWP3,1);
回3:=((HCP3A OR HCP3B) AND QSXS3)*3,COLOR00FF00,POINTDOT;
{MA4支撐}
QSXS4:=MA4>=REF(MA4,1);
DTPL4:=MA2>MA3 AND MA3>MA4 AND MA4>MA5;
ZWP4:=COUNT(C>MA4,P2)=P2 AND DTPL4;
HCP4A:=CROSS(MA4*1.04,L) AND REF(ZWP4,1);
HCP4B:=CROSS(MA4*1.02,C) AND REF(ZWP4,1);
回4:=((HCP4A OR HCP4B) AND QSXS4)*4,COLORWHITE,POINTDOT;
{MA5支撐}
QSXS5:=MA5>=REF(MA5,1);
DTPL5:=MA3>MA4 AND MA4>MA5 AND MA5>MA6;
ZWP5:=COUNT(C>MA5,P3)=P3 AND DTPL5;
HCP5A:=CROSS(MA5*1.05,L) AND REF(ZWP5,1);
HCP5B:=CROSS(MA5*1.02,C) AND REF(ZWP5,1);
回5:=((HCP5A OR HCP5B) AND QSXS5)*5,COLORFF9900,POINTDOT;
{MA6支撐}
QSXS6:=MA6>=REF(MA6,1);
DTPL6:=MA5>MA6;
ZWP6:=COUNT(C>MA6,P3)=P3 AND DTPL6;
HCP6A:=CROSS(MA6*1.05,L) AND REF(ZWP6,1);
HCP6B:=CROSS(MA6*1.02,C) AND REF(ZWP6,1);
回6:=((HCP6A OR HCP6B) AND QSXS6)*6,COLORRED,POINTDOT;
買:=COUNT(回>0,2)>=1 AND ABS(L/MID-1)*100<=2,COLORYELLOW,POINTDOT;
買2:=COUNT(回2>0,2)>=1 AND ABS(L/MA2-1)*100<=2,COLORFF00FF,POINTDOT;
買3:=COUNT(回3>0,2)>=1 AND ABS(L/MA3-1)*100<=2,COLOR00FF00,POINTDOT;
買4:=COUNT(回4>0,2)>=1 AND ABS(L/MA4-1)*100<=2,COLORWHITE,POINTDOT;
買5:=COUNT(回5>0,2)>=1 AND ABS(L/MA5-1)*100<=2,COLORFF9900,POINTDOT;
買6:=COUNT(回6>0,2)>=1 AND ABS(L/MA6-1)*100<=2,COLORRED,POINTDOT;
MBZ:=買 OR 買2 OR 買3 OR 買4 OR 買5 OR 買6;
QSXS10:=DTPL4 AND MA3>REF(MA3,1) AND MA4>REF(MA4,1);
YX:=跌 AND MBZ AND QSXS10 AND COUNT(V<REF(V,1),4)>=2 AND COUNT(C<REF(C,1),3)
>=2;
支撐優(yōu)選:(YX OR (REF(YX,1) AND C<REF(C,1)))*15,COLORred;
DRAWTEXT( 支撐優(yōu)選,10,'支撐'),COLORblue;
{一品波段Z----一品茶緣編寫}

MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
VAR1:=(CLOSE*2+HIGH+LOW)/4;{當(dāng)日股價(jià)中線}
SK:=EMA(VAR1,13)-EMA(VAR1,73);{13日均線-73日均線,求差}
SD:=EMA(SK,2);{SK的2日均線}
DX1:=CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)*100>=3;
{SK與SD低位金叉,當(dāng)日漲幅大于+3%}
DX2:=CROSS(SK,SD) AND SK<=-0.14;{SK與SD超跌低位金叉}
DX3:=CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR (C-REF(C,1))/REF(C,1)*100>=3.5);
{SK與SD中位金叉,并且放量上漲。(當(dāng)日量大于5日均量2倍,或者漲幅大于+3.5%)}
短線:=(DX1 OR DX2 OR DX3)*0.5,POINTDOT,COLOR00FF00;{滿足條件DX1DX2DX3之一,設(shè)定為短線買入條件。}
買入:=(CROSS(SK,SD) AND BARSLAST(CROSS(SD,SK))>=8)*0.2,POINTDOT,COLORWHITE,LINETHICK0;
加碼:=(CROSS(SK,SD) AND BARSLAST(CROSS(SD,SK))<8)*0.3,POINTDOT,COLORYELLOW,LINETHICK0;
{以下設(shè)置主圖顯示方式}
DRAWTEXT(短線>0 ,L*0.99,'短線'),COLOR00FF00;
STICKLINE(短線>0,H,L,1,0),LINETHICK2,COLORRED;
{STICKLINE(短線>0,O,C,4,1),LINETHICK2,COLORRED;}
DRAWTEXT(買入>0 ,L*0.99,'買入'),COLORWHITE;
STICKLINE(買入>0,H,L,1,0),LINETHICK2,COLORWHITE;
{STICKLINE(買入>0,O,C,4,1),LINETHICK2,COLORWHITE;}
DRAWTEXT(加碼>0 ,L*0.99,'加碼'),COLORYELLOW;
STICKLINE(加碼>0,H,L,1,0),LINETHICK2,COLORYELLOW;
{STICKLINE(加碼>0,O,C,4,1),LINETHICK2,COLORYELLOW;};


{一品波段----一品茶緣編寫}  副

VAR1:=(CLOSE*2+HIGH+LOW)/4;{當(dāng)日股價(jià)中線}
SK:=EMA(VAR1,13)-EMA(VAR1,73);{13日均線-73日均線,求差}
SD:=EMA(SK,2);{SK的2日均線}
DX1:=CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)*100>=3;
{SK與SD低位金叉,當(dāng)日漲幅大于+3%}
DX2:=CROSS(SK,SD) AND SK<=-0.14;{SK與SD超跌低位金叉}
DX3:=CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR (C-REF(C,1))/REF(C,1)*100>=3.5);
{SK與SD中位金叉,并且放量上漲。(當(dāng)日量大于5日均量2倍,或者漲幅大于+3.5%)}
短線:(DX1 OR DX2 OR DX3)*0.5,COLOR00FF00;{滿足條件DX1DX2DX3之一,設(shè)定為短線買入條件。}
買入:(CROSS(SK,SD) AND BARSLAST(CROSS(SD,SK))>=8)*0.2,COLORWHITE;
加碼:(CROSS(SK,SD) AND BARSLAST(CROSS(SD,SK))<8)*0.3,COLORYELLOW;
{以下設(shè)置副圖顯示方式}
DRAWTEXT(短線>0 ,0.8,'短線'),COLOR00FF00;
DRAWTEXT(買入>0 ,0.5,'買入'),COLORWHITE;
DRAWTEXT(加碼>0 ,0.5,'加碼'),COLORYELLOW;
一品買點(diǎn)


副圖:未來
{N;1,30,10,}
{N2:5,15,10}
{P10:1,30,3}
{N10:1,30,10}


QW:1.1,POINTDOT,COLORWHITE;
UP:=( C > O OR C > REF(C,1)) AND V > REF(V,1);
AA:=COUNT(UP,3)=3;
BB:=LLV(L,5)=LLV(L,120);
CC:=C > MA(C,3);
LLT:=AA AND BB AND CC;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
SQ:3.5,COLORFF937F;
ZQ:EMA((C-V1)/(V2-V1)*4,4),LINESTICK,COLOR808000;
M5:=MA(ZQ,5);
DRAWTEXT(CROSS(ZQ,QW),QW,'買'),COLORYELLOW; VAR2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);
VAR3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
VAR4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
VAR5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
VAR6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
VAR7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
VAR8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
VAR9:=(VAR3+VAR4+VAR5+VAR6+VAR7+VAR8)/6;
VARA:=EMA(VAR9,3);
VARB:=ABS(VAR6-VAR8);
VARC:=(VAR9+VARB)/2;
VARD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
VARE:=VARD+VARC;
VARF:=IF(VAR2>0 AND VARE<0,200,0);
VAR10:=IF(VARC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
VAR11:=IF(VARE<0 AND VAR10=-50,100,0);
VAR12:=MA(CLOSE,3);
VAR13:=REF(CLOSE,2)*0.865;
VAR14:=REF(CLOSE,13)*0.772;
VAR15:=MIN(VAR13,VAR14);
VAR16:=100*VOL/CAPITAL;
VAR17:=MA(CLOSE,13);
VAR18:=IF((CLOSE-VAR15)/CLOSE<0.03 AND SUM(VAR16,5)/5<1.8,1,0);
VAR19:=IF(VAR18>0 AND (VAR10<0 OR VAR2>0),100,0);
VAR1A:=VAR19;
VAR1B:=IF(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0) AND VAR19<10,50,0);
VAR1C:=(VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0) AND (VAR10<0 OR VAR2>0);
VAR1D:=VARF>0 AND VAR11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR VAR18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;
乖離:=MA(BIAS,3);
抄底:IF(乖離<-12 AND 乖離>=-18,-4,0), COLORBLUE,LINETHICK1;
STICKLINE(乖離<-12 AND 乖離>=-18,2,0,6,0) , COLORBLUE;
抄底二:IF(乖離<-18,3,0),COLORFF35FF,LINETHICK1;
STICKLINE(乖離<-18,3,0,6,0),COLORFF35FF;
抄底三:IF(乖離<-6,5,0),COLORRED,LINETHICK1;
STICKLINE(乖離<-6,5,3,2,1),COLORRED;
抄底四:IF(乖離<-4.5,0,0),COLOR00FFFF,LINETHICK1;
STICKLINE(乖離<-4.5,0,1,3,1),COLOR00FFFF;

VAR21:=DMA(CLOSE,VOL/MA(VOL,4)/4);
VAR22:=DMA(CLOSE,VOL/MA(VOL,31)/31);
VAR23:=(CLOSE-VAR21)/VAR21*100<-10;
VAR24:=(VAR21-VAR22)/VAR22*100<-16;
VAR25:=(CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100<-23;
VAR26:=SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)*100>16;
VAR27:=100*(HHV(HIGH,27)-CLOSE)/(HHV(HIGH,27)-LLV(LOW,27));
VAR28:=INDEXC;
VAR29:=MA(VAR28,6);
VARA1:=MA(VAR28,24);
VARB1:=MA(VAR28,32);
VARC1:=VARB1>VAR29*1.11 AND VARA1>VAR29*1.095;
SSS:=(VAR23 AND VAR24 AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 OR VAR25 AND VAR26 AND CROSS(VAR27,79) OR VARC1 AND CLOSE/COST(8)<=0.8)*100;
抄底王:SSS>0,COLORWHITE,LINETHICK1;
STICKLINE(SSS>0,0,6,6,0),COLORWHITE;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
MA60:=MA(C,60);
MA120:=MA(C,120);
短線多頭:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;
中線多頭:=MA30>MA120 AND MA60>MA120;
均線粘合:=(HHV(MA5,HHV(MA10,MA20))/LLV(MA5,LLV(MA10,MA20))-1)*5<=N;
均線拐點(diǎn):=COUNT(短線多頭,10) AND COUNT(MA5<REF(MA5,1),3) AND MA5>REF(MA5,1);
XG:=中線多頭 AND 均線粘合 AND 均線拐點(diǎn) AND C>REF(C,1);
拐點(diǎn)選股:XG AND NOT(REF(XG,1)),COLORYELLOW,LINETHICK2;
均線粘合2:=(MAX(MA5,MAX(MA10,MA20))/MIN(MA5,MIN(MA10,MA20))-1)*100<=N;
XG2:=中線多頭 AND 均線粘合2 AND 均線拐點(diǎn) AND C>REF(C,1);
選股2:=(XG2 AND NOT(REF(XG2,1)))*0.5,COLORWHITE,LINETHICK2;
MA90:=MA(CLOSE,90);
MA250:=MA(CLOSE,250);
DTPL:=MA10>MA30 AND MA30>REF(MA30,1);
DG:=MAX(MAX(MA5,MA10),MAX(MA20,MA30));
ZG:=MAX(MAX(DG,MA60),MAX(MA90,MA120));
DD:=MIN(MIN(MA5,MA10),MIN(MA20,MA30));
ZD:=MIN(MIN(DD,MA60),MIN(MA90,MA120));
粘合:=(ZG/ZD-1)*100<N2,POINTDOT,LINETHICK0;
高粘:=(ZG/ZD-1)*100<N2 AND ZD>MA250,POINTDOT,LINETHICK0;
穿5:=(粘合 AND CROSS(C,MA5))*0.5,COLOR000000;
穿10:=(粘合 AND CROSS(C,MA10))*1,COLOR000000;
穿20:=(粘合 AND CROSS(C,MA20))*2,COLOR000000;
穿30:=(粘合 AND CROSS(C,MA30))*3,COLOR000000;
FLSZ:=(C/REF(C,1)-1)*100>=2 AND V>REF(V,1);
DXTP:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2;
優(yōu)飛:=(FLSZ AND DXTP AND MA30>REF(MA30,1))*3,COLOR00FFFF,LINETHICK2;
選優(yōu):=(FLSZ AND DXTP AND MA30>REF(MA30,1) AND COUNT(高粘,20)>=15)*3,COLOR0000FF,LINETHICK2;
JXDT:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;
起飛:(NOT(粘合) AND REF(粘合,1) AND COUNT(粘合,20)>=15 AND DTPL)*3,COLORFF00FF,LINETHICK2;


{放量攻擊----一品茶緣編寫副圖指標(biāo)}
{N:5,60,34;}
{放量攻擊指標(biāo)使用說明:
量能飽和看股市,放量上漲要升值;
攻擊兇猛防登頂,縮量小坑幸福池。}
A:=EMA(AMOUNT/C/1000000,7);
MID :=EMA(A,N);
UPPER:=MID + 2*STD(A,N);
LOWER:=MID - 2*STD(A,N);
量能:(A-LOWER)/(UPPER-LOWER)*100,COLORFFFFFF;
放量:IF(CROSS(量能,70),70,50),COLOR00FF00;
↑:IF(CROSS(量能,50),1,0),COLORFF00FF;
攻擊:IF(CROSS(量能,100),1,0),COLOR0000FF,POINTDOT,LINETHICK0;
縮量:IF(CROSS(30,量能),1,0),COLORFFFF00,POINTDOT,LINETHICK0;
{以下設(shè)置副圖顯示方式}
100,POINTDOT,COLORFF00FF;
70,COLORFFFFFF;
30,POINTDOT,COLORFFFFFF;
0,POINTDOT,COLORFF6600;
STICKLINE(量能>70,70,量能,4,0),COLOR00FFFF;
STICKLINE(量能>100,100,量能,4,0),COLOR0000FF;
STICKLINE(量能<30,30,量能,4,0),COLORFFFF00;
STICKLINE(量能<0,0,量能,4,0),COLOR00FF00;
DRAWTEXT(↑,50,'↑'),COLORFF00FF;
DRAWTEXT(攻擊,70, '↑'),COLOR0000FF;
DRAWTEXT(縮量,30, '↓'),COLORFFFF00;
{一品【空中加油Z】----一品茶緣編寫主圖指標(biāo)}
{指標(biāo)使用方法:
1、啟動(dòng)跑道可關(guān)注,航空飛機(jī)安全行;空中加油等買票,加速遠(yuǎn)航好收益!
2、啟動(dòng)時(shí)間長又長,航天飛機(jī)要遠(yuǎn)航!
3、啟動(dòng)時(shí)間長,均線越順暢;航天飛機(jī)快,登上要坐好!}

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA250:MA(CLOSE,250),COLORRED;
N1:=BARSLAST(CROSS(MA5,MA10));
N2:=BARSLAST(CROSS(MA10,MA5));
多:=IF(N1<N2,N1+1,0);
空:=IF(N2<N1,N2+1,0);
QSXS:=MA5>MA20 AND MA10>MA20 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
啟動(dòng):=多*QSXS,COLORRED,LINETHICK0;
跑道:=空*QSXS,COLORFFFF00,LINETHICK0;
HKFJ:=HHV(多,5)>=2 AND QSXS AND MA5>REF(MA5,1) AND MA5>MA10;
航空飛機(jī):=HKFJ*多,COLORFF00FF,LINETHICK2;
HKSJ:=BARSLAST(航空飛機(jī)>0 AND NOT(REF(航空飛機(jī),1)))+1;
高度:=(C/REF(C,HKSJ)-1)*100,COLOR00FFFF;
空中加油:=啟動(dòng)>0 AND 航空飛機(jī)=0,COLOR00FF00,POINTDOT,LINETHICK0;
N3:=BARSLAST(空中加油)+1;
K5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159;
JXGD1:=K5>REF(K5,1) AND REF(K5,1)<REF(K5,2);
JXGD2:=MA5>REF(MA5,1) AND REF(MA5,1)<REF(MA5,2);
加速遠(yuǎn)航:=FILTER((JXGD1 OR JXGD2) AND C>MA5 AND HKFJ,3),COLOR00FFFF,POINTDOT,LINETHICK0;
N4:=BARSLAST(加速遠(yuǎn)航);

{以下設(shè)置主圖顯示方式}
STICKLINE(空中加油,(O+C)/2-0.01,(O+C)/2+0.01,4,0),COLOR00FF00;
STICKLINE(空中加油,L,H,1,1),COLOR00FF00;
STICKLINE(加速遠(yuǎn)航,(O+C)/2-0.01,(O+C)/2+0.01,4,0),COLOR00FFFF;
STICKLINE(加速遠(yuǎn)航,L,H,1,1),COLOR00FFFF;
STICKLINE(N4>0 AND N4<=5,REF(O,N4+1),REF(O,N4+1),4,1),COLORFFFFFF;
DRAWTEXT(加速遠(yuǎn)航,L,'加▲速'),COLOR00FFFF;
DRAWTEXT(航空飛機(jī),MA30,'○'),COLORFFFFFF;
DRAWTEXT(空中加油,MA30,'□'),COLOR00FF00;

 

 

 

{一品【空中加油】----一品茶緣編寫副圖指標(biāo)}
{指標(biāo)使用方法:
1、啟動(dòng)跑道可關(guān)注,航空飛機(jī)安全行;空中加油等買票,加速遠(yuǎn)航好收益!
2、啟動(dòng)時(shí)間長又長,航天飛機(jī)要遠(yuǎn)航!
3、啟動(dòng)時(shí)間長,均線越順暢;航天飛機(jī)快,登上要坐好!}

MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA30:=MA(CLOSE,30);
MA250:=MA(CLOSE,250),COLORRED;
N1:=BARSLAST(CROSS(MA5,MA10));
N2:=BARSLAST(CROSS(MA10,MA5));
多:=IF(N1<N2,N1+1,0);
空:=IF(N2<N1,N2+1,0);
QSXS:=MA5>MA20 AND MA10>MA20 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
啟動(dòng):多*QSXS,COLORRED,LINETHICK0;
跑道:空*QSXS,COLORFFFF00,LINETHICK0;
HKFJ:=HHV(多,5)>=2 AND QSXS AND MA5>REF(MA5,1) AND MA5>MA10;
航空飛機(jī):HKFJ*多,COLORFF00FF,LINETHICK2;
HKSJ:=BARSLAST(航空飛機(jī)>0 AND NOT(REF(航空飛機(jī),1)))+1;
高度:(C/REF(C,HKSJ)-1)*100,COLOR00FFFF;
空中加油:啟動(dòng)>0 AND 航空飛機(jī)=0,COLOR00FF00,POINTDOT,LINETHICK0;
N3:=BARSLAST(空中加油)+1;
K5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.14159;
JXGD1:=K5>REF(K5,1) AND REF(K5,1)<REF(K5,2);
JXGD2:=MA5>REF(MA5,1) AND REF(MA5,1)<REF(MA5,2);
加速遠(yuǎn)航:FILTER((JXGD1 OR JXGD2) AND C>MA5 AND HKFJ,3),COLOR00FFFF,POINTDOT,LINETHICK0;
N4:=BARSLAST(加速遠(yuǎn)航);

{以下設(shè)置副圖顯示方式}
STICKLINE(空中加油,0,啟動(dòng)/10+1,4,1),COLOR00FF00;
STICKLINE(N4>0 AND N4<=5,REF(啟動(dòng),N4+1),REF(啟動(dòng),N4+1),4,0),COLORFFFFFF;
DRAWTEXT(加速遠(yuǎn)航,啟動(dòng),'▲'),COLOR00FFFF;
{五線布林Z----一品茶緣編寫精品指標(biāo)主圖}
{N:1,10,5;參數(shù)N表示步林口上下軌之間的最小差距;}
{五線布林Z指標(biāo)使用方法:
一品五線變布林,開合趨勢真分明;
突破上軌拉升快,回歸中軌反彈輕。}
N1:=10;P1:=3;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
上:BBI+P1*STD(BBI,N1),COLORYELLOW;
IF(BBI*1.15>上*1.03,上*1.06,上*1.03),COLOR0000FF,POINTDOT,LINETHICK0;
下:BBI-P1*STD(BBI,N1),COLORFF00FF;
中:BBI,COLORWHITE;
AA:BBI+P1*STD(BBI,N1)/2,COLOR88FF88;
BB:BBI-P1*STD(BBI,N1)/2,COLOR88FF88;
MA30:MA(C,30),POINTDOT,COLOR00FF00;
QSXS1:=AA>REF(AA,1) AND BBI>REF(BBI,1);
QSXS2:=COUNT(MA30>REF(MA30,1),5)=5;
FLSZ:=C>O AND V>REF(V,1);
RMG:=FLSZ AND (C/REF(C,1)-1)*100>=2;
SCAA:=CROSS(C,AA) OR (O<AA AND C>AA);
BLK:=LLV((上-下),2)=LLV((上-下),10);
XBLK:=(上/下-1)*100<=N;
BLKSJ:=BARSLAST(BLK)+1;
拉升:FILTER(SCAA AND FLSZ AND (QSXS1 OR (QSXS2 AND BLKSJ<5)),3),COLORFF00FF,POINTDOT,LINETHICK0;
優(yōu)選:拉升 AND COUNT(XBLK,4)>=1 AND RMG,COLOR00FF00,POINTDOT,LINETHICK0;
XZF:=(C/REF(C,1)-1)*100<=1;
XPL:=ABS(C-BBI)/BBI*100<=2 OR ABS(l-BBI)/BBI*100<=2;
回:COUNT(QSXS1,8)>=6 AND XZF AND XPL,COLORFFFFFF,POINTDOT,LINETHICK0;
{以下設(shè)置主圖顯示方式}
STICKLINE(拉升,(O+C)/2,(O+C)/2,4,0),COLORFF00FF;
STICKLINE(拉升,H,L,0,1),COLORFF00FF;
DRAWTEXT(拉升,L*0.99,'◆'),COLORFF00FF;
DRAWTEXT(回,L*0.99,'回'),COLORFFFFFF;
DRAWTEXT(XBLK,BBI*1.01,'口'),COLOR00FF00;
STICKLINE(優(yōu)選,H,L,1,0),COLORFF00FF;
DRAWICON(優(yōu)選,L*0.99,1);
高:=((H/BBI-1)*100>=15 AND (H/上-1)*100>=3) OR (H/上-1)*100>=6;
STICKLINE(高,H*1.01,H*1.02,4,0),COLOR00FFFF;
{五線布林Z----一品茶緣編寫精品指標(biāo)主圖}
{N:1,10,5;參數(shù)N表示步林口上下軌之間的最小差距;}
{五線布林Z指標(biāo)使用方法:
一品五線變布林,開合趨勢真分明;
突破上軌拉升快,回歸中軌反彈輕。}
N1:=10;P1:=3;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
上:BBI+P1*STD(BBI,N1),COLORYELLOW;
IF(BBI*1.15>上*1.03,上*1.06,上*1.03),COLOR0000FF,POINTDOT,LINETHICK0;
下:BBI-P1*STD(BBI,N1),COLORFF00FF;
中:BBI,COLORWHITE;
AA:BBI+P1*STD(BBI,N1)/2,COLOR88FF88;
BB:BBI-P1*STD(BBI,N1)/2,COLOR88FF88;
MA30:MA(C,30),POINTDOT,COLOR00FF00;
QSXS1:=AA>REF(AA,1) AND BBI>REF(BBI,1);
QSXS2:=COUNT(MA30>REF(MA30,1),5)=5;
FLSZ:=C>O AND V>REF(V,1);
RMG:=FLSZ AND (C/REF(C,1)-1)*100>=2;
SCAA:=CROSS(C,AA) OR (O<AA AND C>AA);
BLK:=LLV((上-下),2)=LLV((上-下),10);
XBLK:=(上/下-1)*100<=N;
BLKSJ:=BARSLAST(BLK)+1;
拉升:FILTER(SCAA AND FLSZ AND (QSXS1 OR (QSXS2 AND BLKSJ<5)),3),COLORFF00FF,POINTDOT,LINETHICK0;
優(yōu)選:拉升 AND COUNT(XBLK,4)>=1 AND RMG,COLOR00FF00,POINTDOT,LINETHICK0;
XZF:=(C/REF(C,1)-1)*100<=1;
XPL:=ABS(C-BBI)/BBI*100<=2 OR ABS(l-BBI)/BBI*100<=2;
回:COUNT(QSXS1,8)>=6 AND XZF AND XPL,COLORFFFFFF,POINTDOT,LINETHICK0;
{以下設(shè)置主圖顯示方式}
STICKLINE(拉升,(O+C)/2,(O+C)/2,4,0),COLORFF00FF;
STICKLINE(拉升,H,L,0,1),COLORFF00FF;
DRAWTEXT(拉升,L*0.99,'◆'),COLORFF00FF;
DRAWTEXT(回,L*0.99,'回'),COLORFFFFFF;
DRAWTEXT(XBLK,BBI*1.01,'口'),COLOR00FF00;
STICKLINE(優(yōu)選,H,L,1,0),COLORFF00FF;
DRAWICON(優(yōu)選,L*0.99,1);
高:=((H/BBI-1)*100>=15 AND (H/上-1)*100>=3) OR (H/上-1)*100>=6;
STICKLINE(高,H*1.01,H*1.02,4,0),COLOR00FFFF;
{RSV共振----一品茶緣副圖}
{P1:5,250,8;P2:5,250,13;P3:5,250,21;P4:5,250,34;----短線參數(shù)組合:8132134;中線參數(shù)組合6090120250。}
{指標(biāo)使用方法:重點(diǎn)關(guān)注長期橫盤后出現(xiàn)的三強(qiáng)+優(yōu)選信號,同時(shí)出現(xiàn)三合更佳。}

RSV:(CLOSE-LLV(LOW,P1))/(HHV(HIGH,P1)-LLV(LOW,P1))*100;
RSV1:(CLOSE-LLV(LOW,P2))/(HHV(HIGH,P2)-LLV(LOW,P2))*100;
RSV2:(CLOSE-LLV(LOW,P3))/(HHV(HIGH,P3)-LLV(LOW,P3))*100;
RSV3:(CLOSE-LLV(LOW,P4))/(HHV(HIGH,P4)-LLV(LOW,P4))*100;
ZH01:=ABS(RSV-RSV1)/RSV1<0.03;
ZH02:=ABS(RSV-RSV2)/RSV2<0.03;
ZH03:=ABS(RSV-RSV3)/RSV3<0.03;
ZH12:=ABS(RSV1-RSV2)/RSV2<0.03;
ZH13:=ABS(RSV1-RSV3)/RSV3<0.03;
ZH23:=ABS(RSV2-RSV3)/RSV3<0.03;
SXHY:=(ZH01+ZH02+ZH03+ZH12+ZH13+ZH23)>=3;
三合:IF(SXHY,55,50),COLORFFFFFF;
GX:=MAX(MAX(RSV,RSV1),MAX(RSV,RSV1));
BDGD:=GX=HHV(GX,60);
GDSJ:=BARSLAST(BDGD);
QD0:=CROSS(RSV,50);
QD1:=CROSS(RSV1,50);
QD2:=CROSS(RSV2,50);
QD3:=CROSS(RSV3,50);
SXQD:=(QD0+QD1+QD2+QD3)>=3;
三啟:IF(SXQD AND GDSJ>=5,70,50),COLOR00FF00;
TP0:=CROSS(RSV,80);
TP1:=CROSS(RSV1,80);
TP2:=CROSS(RSV2,80);
TP3:=CROSS(RSV3,80);
SXTP:=(TP0+TP1+TP2+TP3)>=3;
三強(qiáng):IF(SXTP AND (GDSJ>=5 OR COUNT(GX<80,30)>=20),80,100),COLOR00FFFF;
優(yōu)選:IF(三強(qiáng)=80 AND COUNT(GX<80,30)>=20,80,50),COLORFF00FF;
{以下設(shè)置副圖顯示方式}
stickline(三合=55,50,55,4,1),COLORFFFFFF;
stickline(三合=55,50,45,4,1),COLOR00FF00;
stickline(三啟=70,50,70,4,0),COLOR00FF00;
stickline(三強(qiáng)=80,50,80,4,0),COLOR00FFFF;
50,COLOR0000FF;
80,COLORFF00FF,POINTDOT;
DRAWICON(優(yōu)選=80,55,1);
黑馬回頭----{顛倒黑白}主副圖指標(biāo)原碼
{顛倒黑白----一品茶緣主圖、副圖指標(biāo)}
指標(biāo)編寫思路:
1、趨勢向上:30日均線保持向上,安全操作;
2、黑馬界定:連續(xù)三天大幅拉升,階段漲幅較大(參數(shù)ZF1);
3、白馬界定:四天內(nèi)至少有三天拉升,階段漲幅較大(參數(shù)ZF1);
4、黑白買點(diǎn):以黑馬、白馬起漲的第一天收盤價(jià)為支撐點(diǎn),設(shè)為黑、白買點(diǎn);
5、買點(diǎn)1、2:當(dāng)股價(jià)在10天內(nèi)重新回落到黑白買點(diǎn)時(shí),分別設(shè)定為買點(diǎn)1、買點(diǎn)2。
6、信號過濾:當(dāng)買點(diǎn)信號第一次出現(xiàn)后,并有反彈超過黑白買點(diǎn)后,此后買點(diǎn)過濾。
7、奔馬界定:5日均線連續(xù)5天(參數(shù)N)以上向上運(yùn)行,且短期均線多頭排列,確定為奔馬;
8、奔馬飲水:奔馬最后確認(rèn)的5日內(nèi),5日均線回頭,且日線收盤位于10日均線與30日均線之間,短線趨勢向上不變,設(shè)定為奔馬飲水;此時(shí)股價(jià)一般是第一波拉升建倉后的洗盤買點(diǎn)。

指標(biāo)使用技巧:
1、清楚反彈:該指標(biāo)為尋找大幅拉升龍頭的回調(diào)買點(diǎn),一般只是反彈行情,期望值不可過高;
2、短期優(yōu)選:買點(diǎn)信號離黑馬、白馬信號時(shí)間越短越好;
3、趨勢優(yōu)選:買點(diǎn)股價(jià)依然保持在30日均線支撐附近,優(yōu)選。
4、盤中把握:買點(diǎn)設(shè)定為黑白買點(diǎn),盤中股價(jià)打到黑白買點(diǎn)位置即會(huì)出現(xiàn)低買信號,---注意盡量買在黑白買點(diǎn)附近,盤中切記不可追漲!
5、飲水判斷:如前期已經(jīng)有飲水信號出現(xiàn),說明短期內(nèi)股價(jià)已經(jīng)明顯出現(xiàn)多個(gè)拉升波段,此時(shí)的回調(diào)也許會(huì)變成破位走弱,應(yīng)該適當(dāng)回避。

名稱來源:一品認(rèn)為,做股票重在順勢而為,即買在股票波段的起漲點(diǎn),只做拉升段最好。但是許多朋友對拉升段的判斷又難以把握,因此,拉升后的回調(diào)、反彈行情,也許可以成為我們的一點(diǎn)補(bǔ)充----當(dāng)然,這已經(jīng)與順勢而為的思路相背離了。因此本該是黑馬回頭的指標(biāo),一品命名為:{顛倒黑白}!呵呵^-^

 

 

 


{顛倒黑白Z----一品茶緣主圖指標(biāo)}
{ZF1:5,30,15;ZF2:1,10,3;N:1,10,1;}
MA5:MA(C,5),COLORWHITE,LINETHICK2;
MA10:MA(C,10),COLORYELLOW,LINETHICK1;
MA20:MA(C,20),COLORFF00FF,LINETHICK1;
MA30:MA(C,30),COLORRED,LINETHICK2;
QSXS:=MA(C,30)>=REF(MA(C,30),1);
ZF:=(C/REF(C,1)-1)*100;
黑馬:=((c/ref(c,3)-1)*100>=ZF1 and count(ZF>=ZF2,3)=3 AND QSXS)*15,COLORFF00FF,LINETHICK2;
HMSJ:=BARSLAST(黑馬);
黑:IF(HMSJ<=10 AND QSXS,REF(C,HMSJ+2),0),COLORFF6600,POINTDOT,LINETHICK2;
DM1:=LOW<=REF(C,HMSJ+2) AND HMSJ<=10 AND 黑馬=0;
GL1:=黑>0 AND CROSS(C,黑);
低買1:=(DM1>0 AND COUNT(GL1,HMSJ)=0)*黑,COLOR00FF00,LINETHICK2;
白馬:=((H/ref(l,4)-1)*100>=ZF1 and count(ZF>=ZF2,4)>=3 AND H=HHV(H,3) AND QSXS)*10,COLORYELLOW,STICK,LINETHICK5;
BMSJ:=BARSLAST(白馬);
白:IF(BMSJ<=10 AND QSXS,REF(C,BMSJ+3),0),COLORWHITE,POINTDOT,LINETHICK2;
DM2:=LOW<REF(C,BMSJ+3) AND BMSJ<=10 AND 白馬=0;
GL2:=白>0 AND CROSS(C,白);
低買2:=(DM2>0 AND COUNT(GL2,BMSJ)=0)*白,COLORWHITE,LINETHICK2;
BM:=COUNT(MA5>REF(MA5,1),N)=N AND MA5>MA10 AND MA10>MA20 AND MA20>MA30;
奔馬:=BM*5,COLOR0000FF,POINTDOT,LINETHICK2;
{STICKLINE(奔馬>0,0 ,5 ,5 ,1 ),color0000FF;}
BMSJ2:=BARSLAST(奔馬);
BMHT:=MA5<REF(MA5,1) AND C<MA5 AND C<MA10 AND C>MA30;
飲水:=(BMSJ2<=5 AND BMHT AND QSXS)*3,COLORFF6600,LINETHICK2;
{以下設(shè)置主圖顯示方式}
STICKLINE(白馬,h,l,0,1),colorYELLOW,linethick2;
STICKLINE(白馬,o,c,4,1),colorYELLOW,linethick2;
STICKLINE(黑馬,h,l,0,1),colorFF00FF,linethick2;
STICKLINE(黑馬,o,c,4,1),colorFF00FF,linethick2;
DRAWTEXT(奔馬>0 ,MA30-0.02 , '○'),coloryellow;
STICKLINE(飲水,h,l,0,1),color00FF00,linethick2;
STICKLINE(飲水,o,c,4,1),color00FF00,linethick2;
DRAWTEXT(低買1>0 ,L*0.99 , '◆'),COLOR00FF00,LINETHICK1;
DRAWTEXT(低買2>0 ,L*0.99 , '□'),COLORWHITE,LINETHICK1;

 

 

 

{顛倒黑白----一品茶緣副圖指標(biāo)}
{ZF1:5,30,15;ZF2:1,10,3;N:1,10,1;}
QSXS:=MA(C,30)>=REF(MA(C,30),1);
ZF:=(C/REF(C,1)-1)*100;
黑馬:((C/ref(C,3)-1)*100>=ZF1 and count(ZF>=ZF2,3)=3 AND QSXS)*15,COLORFF00FF,LINETHICK2;
HMSJ:=BARSLAST(黑馬);
黑:IF(HMSJ<=10 AND QSXS,REF(C,HMSJ+2),0),COLORFF6600,POINTDOT,LINETHICK2;
DM1:=LOW<=REF(C,HMSJ+2) AND HMSJ<=10 AND 黑馬=0;
GL1:=黑>0 AND CROSS(C,黑);
低買1:(DM1>0 AND COUNT(GL1,HMSJ)=0)*黑,COLOR00FF00,LINETHICK2;
白馬:((H/ref(L,4)-1)*100>=ZF1 and count(ZF>=ZF2,4)>=3 AND H=HHV(H,3) AND QSXS)*10,COLORYELLOW,STICK,LINETHICK5;
BMSJ:=BARSLAST(白馬);
白:IF(BMSJ<=10 AND QSXS,REF(C,BMSJ+3),0),COLORWHITE,POINTDOT,LINETHICK2;
DM2:=LOW<REF(C,BMSJ+3) AND BMSJ<=10 AND 白馬=0;
GL2:=白>0 AND CROSS(C,白);
低買2:(DM2>0 AND COUNT(GL2,BMSJ)=0)*白,COLORWHITE,LINETHICK2;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA30:=MA(C,30);
BM:=COUNT(MA5>REF(MA5,1),N)=N AND MA5>MA10 AND MA10>MA20 AND MA20>MA30;
奔馬:BM*5,COLOR0000FF,POINTDOT,LINETHICK2;
STICKLINE(奔馬>0,0 ,5 ,5 ,1 ),color0000FF;
BMSJ2:=BARSLAST(奔馬);
BMHT:=MA5<REF(MA5,1) AND C<MA5 AND C<MA10 AND C>MA30;
飲水:(BMSJ2<=5 AND BMHT AND QSXS)*3,COLORFF6600,LINETHICK2;
{清涼西瓜(200萬一品茶緣優(yōu)化版主圖指標(biāo)}
Var1:=(LOW+HIGH+CLOSE)/3;
操作:MA(Var1,5),color00FF00,linethick2;
拉升:HHV(操作,13),colorFF00FF;
買賣: LLV(操作,13),colorwhite;
壓力: HHV(操作,60),colorFF6600;
中線:HHV(MA(H,13),13),coloryellow;
支撐: LLV(LOW,60)*1.02,color00FF00;
頂部: HHV(HIGH,60)*0.98,colorred;
STICKLINE(操作<拉升,中線,拉升,1,0),colorgreen;
QSXS:=操作>REF(操作,1) AND REF(操作,1)<REF(操作,2);
GJSC:=L<拉升 AND H>拉升 AND C>REF(C,1) AND C>O;
LSMR:=GJSC AND COUNT(QSXS,2);
買1:LSMR AND NOT(REF(LSMR,1)),coloryellow,POINTDOT,LINETHICK0;
DRAWTEXT(買1,L*0.99, '◆'),COLOR00FF00;
DRAWTEXT(買1,L*0.95, '買'),coloryellow;

{清涼西瓜(200萬)----一品茶緣優(yōu)化版買選股信號}
Var1:=(LOW+HIGH+CLOSE)/3;
操作:=MA(Var1,5);
拉升:=HHV(操作,13);
QSXS:=操作>REF(操作,1) AND REF(操作,1)<REF(操作,2);
GJSC:=L<拉升 AND H>拉升 AND C>REF(C,1) AND C>O;
LSMR:=GJSC AND COUNT(QSXS,2);
買1:LSMR AND NOT(REF(LSMR,1));
{個(gè)股強(qiáng)弱----一品茶緣優(yōu)化版,副圖指標(biāo)}

{個(gè)股強(qiáng)弱指標(biāo)使用說明:
個(gè)股走勢比大盤,階段強(qiáng)弱易分辨;
轉(zhuǎn)強(qiáng)關(guān)注好操作,強(qiáng)于50龍?jiān)谔欤
C1:=(((10000 * CLOSE) / INDEXC));
Var1:=REF(c1,1);
A1:=SMA(MAX(c1-Var1,0),7,1)/SMA(ABS(c1-Var1),7,1)*100;
Var2:=REF(c1,2);
A2:=SMA(MAX(c1-Var2,0),7,1)/SMA(ABS(c1-Var2),7,1)*100;
Var3:=REF(c1,3);
A3:=SMA(MAX(c1-Var3,0),7,1)/SMA(ABS(c1-Var3),7,1)*100;
Var4:=REF(c1,4);
A4:=SMA(MAX(c1-Var4,0),7,1)/SMA(ABS(c1-Var4),7,1)*100;
XRSI1:=(A1+A2+A3+A4)/4;
XRSI:(A1+A2+A3+A4)/4,COLORYELLOW,LINETHICK1;
MX13:MA(XRSI,13),COLORRED;
關(guān)注:CROSS(XRSI,MA(XRSI,2)) AND BETWEEN(XRSI,20,60),COLORFFFFFF,POINTDOT;
QSXS:=XRSI>REF(XRSI,1) OR MX13>REF(MX13,1);
操作區(qū):XRSI>MX13 AND QSXS,COLOR00FFFF,POINTDOT;
STICKLINE(XRSI1>=30,30,XRSI1,4,0),COLOR00FF00;
STICKLINE(XRSI1>=50,50,XRSI1,4,0),COLORFF00FF;
STICKLINE(XRSI1>=70,70,XRSI1,4,0),COLOR0000FF;
STICKLINE(操作區(qū),XRSI,MX13,4,1),COLOR00FFFF;
DRAWTEXT(CROSS(關(guān)注,0.8),XRSI,'↑'),COLORFFFFFF;
DRAWTEXT(CROSS(操作區(qū),0.8),MX13,'◆'),COLOR0000FF;
弱:30,COLORFFFFFF;
強(qiáng):50,COLOR00FFFF,POINTDOT;
龍:70,COLORFF00FF,POINTDOT;
險(xiǎn):IF(XRSI1>90,75,90),COLOR0000FF;
{鴛鴦對----一品茶緣編寫,副圖指標(biāo)}
{鴛鴦對指標(biāo)使用說明:
長陰與長陽,分別是鴛鴦;
鴛鴦來配對,好事要成雙!}

ZF:=(C/REF(C,1)-1)*100;
DRDD:=ZF<=-5 AND (O/C-1)*100>=4;
DRDZ:=ZF>=5 AND (C/O-1)*100>=4;
鴛:DRDD*-1,COLOR00FF00,POINTDOT,LINETHICK0;
鴦:DRDZ,COLORFF00FF,POINTDOT,LINETHICK0;
鴛鴦對:(DRDZ AND REF(DRDD,1) AND C>REF(O,1)*0.995)*8,COLOR00FFFF;
YX:=V>REF(V,1) AND MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1);
優(yōu)選:鴛鴦對 AND YX,COLOR0000FF,POINTDOT,LINETHICK0;
{以下設(shè)置副圖顯示方式}
STICKLINE(DRDD,0,-1,4,0),COLOR00FF00;
STICKLINE(DRDZ,0,1,4,0),COLORFF00FF;
DRAWICON(優(yōu)選,1,1);


{清澈見底----一品茶緣副圖指標(biāo)}
{清澈見底指標(biāo)使用說明:
連續(xù)跳空四連陰,股價(jià)超跌寒人心;
清澈好水先關(guān)注,見底出現(xiàn)搶黃金!}
TKQK:=O<REF(C,1) AND C<REF(C,1);
DFXD:=(C/REF(C,1)-1)*100<=-4;
DRDD:=(C/REF(C,1)-1)*100<=-6;
清澈:COUNT(TKQK OR DFXD,4)=4 AND COUNT(DRDD,4),COLORFFFFFF;
JD1:=C>O AND C>REF(C,1);
JD2:=(MIN(C,O)-L)/ABS(C-O)>=1.5;
見底:(JD1 OR JD2) AND REF(清澈,1),COLOR00FFFF;
MA60:=MA(C,60);
QSXS:=C>=MA60 AND MA60>REF(MA60,1);
優(yōu)選:見底 AND QSXS,COLORFF00FF,POINTDOT,LINETHICK0;
DRAWICON(優(yōu)選,0.1,1);
{一品抄底----一品茶緣編寫副圖指標(biāo)}
{一品抄底使用說明:
1、一品抄底=CCI+RSI+股價(jià)與均線大幅乖離三重超跌組合;
2、買點(diǎn)把握:一品抄底,盡量低吸,買在抄底信號當(dāng)日最低價(jià)附近或者短期的更低價(jià)最佳;
3、利潤把握:一品抄底,短線機(jī)遇;低買高賣,不貪不懼;把握節(jié)奏,快進(jìn)快出!}
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
A:=REF(C,1);
RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;
A1:=(C/MA(C,5)-1)*100<-10;
A2:=(C/MA(C,13)-1)*100<-10;
A3:=(C/MA(C,34)-1)*100<-15;
A4:=RSI<18;
A5:=CCI<-120;
A6:=COUNT(ABS(C/REF(C,1)-1)*100>=6,30)>=1;
底部:A1 AND A2 AND A3 AND A4 AND A5 AND A6,COLOR00FFFF,LINETHICK2;
一品

{簡單KDJ指標(biāo)使用方法:
重讀經(jīng)典KDJ,J值轉(zhuǎn)向定策略;
超跌關(guān)注重啟買,加碼小心更明確!}
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:SMA(RSV,3,1),COLORFFFFFF;
D:SMA(K,3,1),COLOR00FFFF;
J:3*K-2*D,COLORFF00FF;
超跌:IF(J<0,10,0),COLORFFFF00;
BDDD:=LLV(J,2)=LLV(J,8);
重啟:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0),COLOR00FF00;
加碼:IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND BETWEEN(J,20,60),1,0),COLOR00FFFF,POINTDOT,LINETHICK0;
BDGD:=HHV(J,2)=HHV(J,8) AND J>80;
小心:IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),70,100),COLOR0000FF;
DRAWTEXT(加碼,J,'△'),COLOR00FFFF;


選股:
RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
BDDD:=LLV(J,2)=LLV(J,8);
重啟:=CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20;
加碼:=CROSS(J,REF(J+0.01,1)) AND BDDD AND BETWEEN(J,20,60);
選股:重啟 or 加碼;
陰陽交歡  副

{n,1,1000,107}
var1:= REF(CLOSE,1);
var2:=SMA(MAX(CLOSE-var1,0),14,1);
var3:=SMA(ABS(CLOSE-var1),14,1);
陽:ma(var2/var3*100,5)coloryellow, linethick2;
陰:ma(var3/var2*5,5)colorgreen ,linethick2;
交歡:if(陽-陰<n/10,100,0)colorred,linethick2;
STICKLINE(陽-陰<n/10 ,0 ,100 ,8 ,1 )colorblue;


新思維-BB     主
Var2:=MA(LOW,3)*0.99;
Var3:=MA(LOW,30)*0.753;
Var4:=FORCAST(Var2,10);
DRAWICON(COUNT(CROSS(Var2,Var4),1)>=1 AND Var4<Var3,LOW,1), , ;
Var5:=IF(DATE<1081201,1,0);
Var6:=IF(DATE<1081201,1,0);
Var7:=EMA(CLOSE*Var6,8);
Var8:=EMA(CLOSE*Var5,34)-0.1;
★: EMA(Var5*CLOSE,5),colorred , ;
亂: EMA(Var6*CLOSE,13)-0.15,colorff6633 , ;
云: MA(CLOSE,60)*0.98, , ;
飛: FORCAST(★,8),colorffff00 , ;
STICKLINE(飛>=亂,飛,亂,1,0), , ;
DRAWTEXT(COUNT(CROSS(★,亂),1)>=1 AND 亂>REF(亂,1),LOW,'★'),colorred , ;
Var9:=SLOPE(EMA(CLOSE,2),10)*15+CLOSE;
VarA:=EMA(SLOPE(EMA(CLOSE,20),10)*34+CLOSE,30);
仍: EMA(VarA,3);
從: EMA(仍,3), ,;
VarB:=EMA(從,3);
VarC:=EMA(VarB,3);
VarD:=EMA(VarC,3);
VarE:=EMA(VarD,3);
VarF:=EMA(VarE,3);
Var10:=EMA(VarF,3);
Var11:=EMA(Var10,3);
容: EMA(SLOPE(EMA(CLOSE,15),10)*15+CLOSE,5), , ;
『安全度』副

Var2:=LLV(LOW,33);
Var3:=HHV(HIGH,21);
Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20)*0.998;
100,stick,LINETHICK7, COLORffcc33;
80, stick,LINETHICK7, COLORFF9933;
50,stick,LINETHICK7, colorblue;
20,stick,LINETHICK7,colorcc0033;
20,,  COLORWHITE;
50,,  COLORYELLOW;
80,,  COLORCYAN;
DRAWTEXT(FILTER(CLOSE>0,25),10,'極度危險(xiǎn)區(qū)'),, COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),30,'危險(xiǎn)區(qū)'), ,  COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),65,'安全區(qū)'), ,  COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),88,'高安全區(qū)'), ,  COLORWHITE;
當(dāng)前安全度: 100-EMA(0.667*REF(Var4,1)+0.333*Var4,1),circledot,linethick2 ,COLORRED;
[超級牛魔]
Var3:=1;
Var4:=MA(CLOSE,5);
Var5:=MA(CLOSE,10);
Var6:=MA(CLOSE,30);
Var7:=MA(CLOSE,60);
Var8:=EMA(COST(85),7);
Var9:=EMA(COST(15),7);
VarA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);
VarB:=Intpart(VarA*100)/100;
VarC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);
VarD:=Intpart(VarC*100)/100;
VarE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);
VarF:=Intpart(VarE*100)/100;
短線趨勢:EMA(CLOSE,5)-EMA(CLOSE,10);
中線趨勢:EMA(短線趨勢,30);
Var10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
Var11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
Var12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
Var13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
Var14:=REF(中線趨勢,1);
Var15:=中線趨勢;
Var16:=Var15-Var14;
Var17:=REF(短線趨勢,1);
Var18:=短線趨勢;
Var19:=Var18-Var17;
Var1A:=OPEN;
Var1B:=CLOSE;
超級牛魔王:If(Var1A<=Var4 AND Var1A<=Var5 AND Var1A<=Var6 AND Var1B>=Var4 AND Var1B>=VarF AND Var16>0 AND Var19>0 AND Var3=1,0.5,0);
短線指標(biāo):IF(CROSS(短線趨勢,中線趨勢) AND 短線趨勢<0 AND 中線趨勢<-0.2 AND Var11>45 AND Var16>0 AND Var3=1,1,0);
{短線強(qiáng)弱副}
{N:(1,10,3);N1:(1,10,3);M1:(1,10,3);M2:(1,10,2)}
UP:=SMA(IF(CLOSE>REF(CLOSE,1), CLOSE-REF(CLOSE,1),0),N,1);
DN:=SMA(IF (CLOSE<=REF(CLOSE,1),ABS(CLOSE-REF(CLOSE,1)),0),N,1);
指標(biāo):=100*UP/(UP+DN);
強(qiáng)弱:EMA(指標(biāo),3),COLORRED;
平均:EMA(強(qiáng)弱,3),COLORGREEN;
風(fēng)險(xiǎn):80,COLOR8887EA;
安全:20,COLOR8887EA;
分界:50,CIRCLEDOT,LINETHICK2,COLORGREEN;
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;
K:=SMA(RSV,M1,1);
D:=EMA(K,M2);
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));
HSL:=(XVL/20)/1.15;
攻擊流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻擊流量,2);
資金流:=LLJX/1000;
賣出:IF(強(qiáng)弱<平均 AND D<REF(D,1) AND 資金流<=0,50,DRAWNULL AND MA(C,3)<REF(MA(C,3),1)),CIRCLEDOT,LINETHICK2,COLORGREEN;
觀望:IF((強(qiáng)弱>=平均 AND D>=REF(D,1) AND MA(C,3)>=REF(MA(C,3),1)) OR (D>=REF(D,1) AND 資金流>0 AND MA(C,3)>=REF(MA(C,3),1)) OR(強(qiáng)弱>=平均 AND 資金流>0 AND MA(C,3)>=REF(MA(C,3),1)) OR (強(qiáng)弱>=平均 AND 資金流>0 AND D>=REF(D,1)),50,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORLIMAGENTA;
買進(jìn):IF(強(qiáng)弱>=平均 AND D>=REF(D,1) AND 資金流>0 AND MA(C,3)>=REF(MA(C,3),1),50,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORRED;

VAR1:=1/WINNER(CLOSE);
VAR2:=MA(CLOSE,13);
VAR3:=100-ABS((CLOSE-VAR2)/VAR2*100);
VAR4:=LLV(LOW,75);
VAR5:=HHV(HIGH,75);
VAR6:=(VAR5-VAR4)/100;
VAR7:=SMA((CLOSE-VAR4)/VAR6,20,1);
VAR8:=SMA((OPEN-VAR4)/VAR6,20,1);
VAR9:=3*VAR7-2*SMA(VAR7,15,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=100-VARA;
VARC:=IF(900101<DATE AND DATE<99991230,1,0);
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14));
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70));
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0);
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24);
VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VAR27:=REVERSE(VAR26);
VAR28:=SMA(VAR26,3,1);
散戶: SMA(VAR28,3,1)*VARC, ,COLORLIBLUE ;
主力: SMA(散戶,3,1)*VARC, , COLORYELLOW;
{說明:強(qiáng)弱上傳平均時(shí)為關(guān)注點(diǎn),當(dāng)散戶上傳主力時(shí)可快速介入,反之亦然!
若強(qiáng)弱線,平均線和散戶線同時(shí)上傳主力時(shí),那么你發(fā)財(cái)了!
強(qiáng)弱紅色、平均是綠色、散戶蘭色、主力黃色};

{短線強(qiáng)弱副}

買進(jìn)選股
{N:(1,10,3)}
UP:=SMA(IF(CLOSE>REF(CLOSE,1), CLOSE-REF(CLOSE,1),0),N,1);
DN:=SMA(IF (CLOSE<=REF(CLOSE,1),ABS(CLOSE-REF(CLOSE,1)),0),N,1);
指標(biāo):=100*UP/(UP+DN);
強(qiáng)弱:=EMA(指標(biāo),3),COLORRED;
平均:=EMA(強(qiáng)弱,3),COLORGREEN;
買進(jìn):CROSS(強(qiáng)弱,平均);

{漁家公式一:漁家樂}    副

用法:此公式用于橫盤股的中長線,短線不適用。

公式原碼:

漁家:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK2 , COLORYELLOW;
漁家樂: IF(CROSS(漁家,MA(漁家,10)) AND 漁家<=10,35,0),LINETHICK3 , COLORMAGENTA;
漁家出海: IF(CROSS(漁家,MA(漁家,10)) AND 漁家<35,70,0),LINETHICK3 ,  COLORRED;
漁家網(wǎng): IF(CROSS(MA(漁家,9),漁家) AND 漁家>70,110,72),LINESTICK ,  COLORCYAN;
VAR1:=DRAWICON(CROSS(漁家,62),68,1);
VAR2:=DRAWICON(CROSS(漁家,72),70,1);
VAR3:=DRAWICON(CROSS(漁家,66),72,1);
VAR4:=DRAWICON(CROSS(漁家,68),66,1);
VAR5:=DRAWICON(CROSS(76,漁家),70,2);
VAR6:=DRAWICON(CROSS(68,漁家),84,2);
VAR7:=DRAWICON(CROSS(66,漁家),80,2);
VAR8:=DRAWICON(CROSS(64,漁家),70,2);
準(zhǔn)備下網(wǎng): IF(漁家<=10,30,0),STICK ,COLORF2A2BE,LINETHICK4;
此處下網(wǎng): IF(CROSS(漁家,10),45,0),STICK ,COLORRED LINETHICK4;
DRAWTEXT(此處下網(wǎng),40,'關(guān)注?。?!'), , COLORYELLOW;
準(zhǔn)備休漁吧: STICKLINE(漁家>=90,70,40,4,0), , COLORGREEN;
休漁吧: IF(CROSS(84,漁家),100,0),STICK ,COLOR77AAFF,LINETHICK5;
DRAWTEXT(休漁吧,98,'回家!'), ,COLOR77AAFF ;
水面: 72, ,COLORCYAN ;
網(wǎng)架: 105;
水底: 10;
漁家2: MA(漁家,9),LINETHICK2 ,COLORFF0000;
IF(CROSS(漁家,MA(漁家,6)) AND 漁家2<45,漁家2,0),COLORCCB3E2 ,LINETHICK3 ;
{漁家公式二:市場脈搏}  副

用法:此公式用于看趨勢。對于周K線,脈搏線兩次進(jìn)入靜脈實(shí)體是底。

公式原碼:

心臟:=MA(CLOSE,5);
血液:=MA(MA(CLOSE,13),5);
脈搏:(心臟-REF(心臟,1))/REF(心臟,1)*100, COLORYELLOW LINETHICK1;
動(dòng)靜脈:(血液-REF(血液,1))/REF(血液,1)*100,COLORMAGENTA LINETHICK1;
STICKLINE(動(dòng)靜脈>0,動(dòng)靜脈,0,0.00000001,0),COLORRED;
STICKLINE(動(dòng)靜脈<0,動(dòng)靜脈,0,0.00000001,0),COLORGREEN;
生命線:0,COLORRED LINETHICK1;

上瓣膜:2,LINETHICK2 COLORGREEN;
下瓣膜:-2,LINETHICK2 COLORGREEN;
動(dòng)脈界:1,LINETHICK1 COLORRED;
靜脈界:-1,LINETHICK1 COLORRED;
{漁家公式三:牛熊先知}  副

用法:此公式用于短線和長線,要慢慢體會(huì),此公式暗含信號。

公式原碼:


VAR1:=EMA(EMA(EMA(CLOSE,5),2),1);
牛熊先知: (VAR1-REF(VAR1,1))/REF(VAR1,1)*1,COLORRED COLORSTICK;
牛熊神經(jīng): EXPMA(牛熊先知,13),COLORYELLOW;
牛熊界線: 0, COLORMAGENTA;
VAR2:=AMOUNT/VOL/100;
VAR3:=MAX(ABS(HIGH-VAR2),ABS(VAR2-LOW));
VAR4:=ABS((OPEN+CLOSE)/2-VAR2);
VAR5:=5;
VAR6:=(VAR3+VAR4)/VAR2*50;
牛熊變換: IF(CROSS(VAR6,VAR5),0.008,0),COLORCYAN;
{漁家公式四——牛蹤熊影}   副

用法:此公式主要用于大盤的長期趨勢的判斷,不適用于短線。

公式原碼:

VAR1:=1;
VAR2:=CLOSE-REF(CLOSE,1);
VAR3:=IF(CLOSE-REF(CLOSE,1)>=0,VAR2,0);
VAR4:=REF(CLOSE,1)-CLOSE;
VAR5:=IF(CLOSE-REF(CLOSE,1)<=0,VAR4,0);
VAR6:=SUM(VAR3,55)/SUM(VAR5,55);
VAR7:=100-100/(1+VAR6);
VAR8:=EMA(VAR7,55);
VAR9:=EMA(VAR8,5);
VARA:=EMA(VAR8,3);
牛熊邊界: (VAR8-VARA)*VAR1;
牛蹤熊影: (VAR9-VARA)*VAR1;
楓林草地: 牛熊邊界*VAR1, COLORSTICK;
牛熊界:0,COLORRED LINETHICK1;
{漁家公式五——萬丈霞光}   副

用法:此公式用于判斷大盤的底和頂。

公式原碼:

蔽日烏云:0.00001*EXPMEMA(AMO/100000,99),COLORWHITE STICK LINETHICK2;
萬丈霞光:0.00001*EXPMEMA(AMO/100000,27),COLORRED STICK LINETHICK2;
漫山翠綠:0.00001*EXPMEMA(AMO/100000,47),COLORGREEN STICK LINETHICK2;
{漁家公式六——汗血黑馬}   副

用法:此公式用于量能判斷,主要用于大盤股的分析,要結(jié)合價(jià)格公式使用,公式并不精確,僅是一個(gè)參考。

公式原碼:

血:0.01*EXPMA(AMOUNT,5)/EXPMA(VOL,5),COLORRED LINETHICK1;
汗:0.01*EXPMA(AMOUNT,13)/EXPMA(VOL,13),COLORWHITE LINETHICK1;
勁:0.01*EXPMA(AMOUNT,21)/EXPMA(VOL,21);
途:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE(7)));
STICKLINE(勁>途,勁,途,1,0),COLORRED;
STICKLINE(勁<途,勁,途,1,0),COLORGREEN;
STICKLINE(血>汗,血,汗,1,0),COLORMAGENTA;
STICKLINE(血<汗,血,汗,1,0),COLORCYAN;
{漁家公式七——量能圖譜}  副

用法:此公式主要用于大盤分析,對于大盤股,也可用于參考。

公式原碼:

量能:=AMOUNT,COLORWHITE STICK;
量能1:MA(量能,34),COLORWHITE LINETHICK1;
量能2:MA(量能,55),COLORWHITE LINETHICK1;
量能3:MA(量能,89),COLORGREEN LINETHICK1;
量能4:MA(量能,21),COLORMAGENTA LINETHICK1;


STICKLINE(量能1>量能2,量能2,量能1,0.001,0),COLORRED;
STICKLINE(量能1<量能2,量能2,量能1,0.001,0),COLORGREEN;
{漁家公式八——漁家指數(shù)}    副

用法:此公式用于大盤的分析,與《萬丈霞光》相同,只是直觀一些。

公式原碼:

漁家指數(shù):AMOUNT/100000000000, COLORYELLOW LINESTICK;
漁家指數(shù)1:MA(漁家指數(shù),27),COLORMAGENTA LINETHICK2;
漁家指數(shù)2:MA(漁家指數(shù),49),COLORRED LINETHICK2;
漁家指數(shù)3:MA(漁家指數(shù),99),COLORGREEN  LINETHICK2;
{漁家公式九——行情山谷}    副

用法:此公式主要用于行情的定性,行情上漲時(shí),顯示不同的顏色,代表不同的行情,主要用于大盤,也可用于個(gè)股。

公式原碼:

反彈行情:COUNT(CLOSE>REF(CLOSE,3),5)/5*100,STICK LINETHICK3,COLORRED;
荒漠行情:COUNT(LOW>REF(LOW,3),5)/5*100,STICK LINETHICK3;
雞肋行情:COUNT(OPEN>REF(OPEN,3),5)/5*100,STICK LINETHICK3;
綠色行情:COUNT(HIGH>REF(HIGH,3),5)/5*100,STICK LINETHICK3;
{漁家公式十——睡醒就買}  副


用法:均線型公式,信號滯后,牛市時(shí)用可以,熊市時(shí)買點(diǎn)用60分鐘分時(shí)線,賣點(diǎn)用15分鐘分時(shí)線。

公式原碼:

夢鄉(xiāng):=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
初醒:SMA(夢鄉(xiāng),8,1);
清醒:SMA(初醒,5,1);
掙開眼就買吧:IF(CROSS(初醒,清醒) AND 清醒<12,50,10);
睡醒了就賣吧:IF(CROSS(清醒,初醒) AND 清醒>40,50,10);

地板:5,COLORRED,LINETHICK2;
房頂:75,COLORGREEN,LINETHICK2;
{漁家公式十——霧里看花}   副

僅用于大盤。

公式原碼:

花莖:=REF(HIGH+LOW,1)/2;
花蕊:=SUM(MAX(0,HIGH-花莖),21)/SUM(MAX(0,花莖-LOW),21)*100;
花香:REF(EXPMA(花蕊,21),1+13/3),COLORMAGENTA STICK LINETHICK2;
鮮花:REF(EXPMA(花蕊,34),1+21/3),COLORRED STICK LINETHICK2;
綠葉:REF(EXPMA(花蕊,55),1+34/3),COLORGREEN STICK LINETHICK1;
薄霧:REF(EXPMA(花蕊,89),1+55/3),COLORWHITE STICK LINETHICK1;
{漁家變盤布林線}   主

公式用法:基本同布林線,中間的線可做趨勢線用。

公式原碼:

V1:=1;
V2:=CLOSE*VOL;
趨勢線: EMA((EMA(V2,3)/EMA(VOL,3)+EMA(V2,5)/EMA(VOL,5)+EMA(V2,13)/EMA(VOL,13)+EMA(V2,21)/EMA(VOL,21))/4,1)*V1, COLORGREEN LINETHICK2;
上軌: EMA(趨勢線+5*STD(趨勢線,8),1)*V1,COLORRED LINETHICK2;
下軌: EMA(趨勢線-5*STD(趨勢線,8),1)*V1, COLORMAGENTA,LINETHICK2;
《漁家通道》原碼    主

{VAR2:=MA(ADVANCE-DECLINE,3)/100;}
VAR3:=MA(CLOSE,5)*1.01;
VAR4:=MA(OPEN,13)*1.01;
VAR5:=(MA(HIGH,3)+MA(LOW,5)+MA(CLOSE,3)+MA(OPEN,3)+CLOSE+OPEN)/6{+VAR2};
VAR6:=IF(VAR4>VAR5,VAR4,VAR5);
VAR7:=IF(VAR4<VAR5,VAR4,VAR5);
VAR8:=3/100;
下軌:MA(VAR7,5)*(1-VAR8),LINETHICK1,COLORRED;
上軌:MA(VAR6,5)*(1+VAR8),LINETHICK1,COLOR00FF11;
STICKLINE(VAR3>VAR4,VAR4,VAR3,0.01,0),LINETHICK4,COLORYELLOW;
STICKLINE(VAR5>VAR4,VAR5,VAR4,0.01,0),LINETHICK4,COLORred;
STICKLINE(VAR3<VAR4,VAR3,VAR4,0.01,0),LINETHICK4,COLORwhite;
STICKLINE(VAR5<VAR4,VAR4,VAR5,0.01,0),LINETHICK4,COLORgreen;
0軸以下MACD兩次金叉的選股公式
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
W:=BARSLAST(CROSS(DIF,DEA) AND DIF<0 AND DEA<0) ;
零以下:FILTER(COUNT(W,30)=2 AND REF(CROSS(DEA,DIF),1),30) ;

紅牛白馬

 

{n:2、20、9}
{n1:1、1000、26}
{z:1、20、5}

 

VAR3a:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);
VAR4a:=(CLOSE-LLV(CLOSE,N1))/(HHV(CLOSE,N1)-LLV(CLOSE,N1))*100;
VAR5a:=EMA(CLOSE,2)-EMA(CLOSE,150);
VAR6a:=EMA(VAR5a,100);
VAR7a:=2*(VAR5a-VAR6a);
VAR8a:=POW(VAR7a,3)*0.1+POW(VAR7a,1);
VAR9a:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE));
VARAa:=EMA(VAR9a*0.97,3);
VARBa:=(HIGH+LOW+CLOSE)/3;
VARCa:=(VARBa-MA(VARBa,14))/(0.015*AVEDEV(VARBa,14));
白馬: IF(YEAR<2008 AND VAR7a>0.1,VAR8a,0)*5,COLORFFFFFF;
VARDa:=LLV(HIGH,240);
VAREa:=100*(CLOSE-VARDa)/VARDa;
VARFa:=AMOUNT/VOL;
VAR10:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);
VAR11:=INDEXC;
VAR12:=MA(VAR11,5);
VAR13:=MA(VAR11,20);
VAR14:=MA(VAR11,30);
VAR15:=VAR14>VAR12*1.08 AND VAR13>VAR12*1.055;
VAR16:=VAR12>VAR11*1.03 AND VAR13>VAR11*1.13;
VAR17:=VAR16;
VAR18:=IF(FILTER(VAR10<6,5)=1,1,0);
VAR19:=VAR10<6 AND VAR17;
{黑馬: IF(FILTER(VAR19,1)=1,1,0)*20, , ;}
{大黑馬: VAR19 AND VAR18*80, , ;}
VAR1A:=CROSS(白馬,2);
VAR1B:=CROSS(白馬,4);
{莊拉: IF(FILTER((VAR1A OR VAR1B) AND VAR4a<40 AND VAR3a<40,5)=1,35,0), , ;}

var2:=REF(LOW,1);
var3:=SMA(ABS(LOW-var2),3,1)/SMA(MAX(LOW-var2,0),3,1)*20;
var4:=EMA(IF(CLOSE*1.2,var3*10,var3/10),3);
var5:=LLV(LOW,30);
var6:=HHV(var4,30);
var7:=IF(LLV(LOW,58),1,0);
var8:=EMA(IF(LOW<=var5,(var4+var6*2)/2,0),3)/618*var7;
var9:=IF(var8>100,100,var8);
var5x:=llv(low,75);
var6x:=hhv(high,75);
var7x:=(var6x-var5x)/100;
var8x:=sma((close-var5x)/var7x,20,1);
vara:=3*var8x-2*sma(var8x,15,1);
var26:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*20;
var28:=sma(var26,3,1);
STICKLINE(var9>-150,0,var9,3,0),colorff00ff;
{底部吸籌指標(biāo): (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,color00ff00;}
STICKLINE(var8,0,var8,6,1),colorred;
紅牛:if(var8,var8,1),colorred;

 

    本站是提供個(gè)人知識管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    黄色三级日本在线观看| 正在播放国产又粗又长| 日本在线不卡高清欧美| 日本黄色录像韩国黄色录像| 91亚洲国产日韩在线| 免费精品一区二区三区| 国产伦精品一区二区三区精品视频 | 老外那个很粗大做起来很爽| 人人妻人人澡人人夜夜| 欧美国产日韩在线综合| 国产成人免费激情视频| 日韩精品一区二区三区四区| 亚洲日本加勒比在线播放| 91亚洲精品国产一区| 国产精品亚洲一级av第二区| 欧美亚洲综合另类色妞| 免费午夜福利不卡片在线 视频 | 91精品视频免费播放| 一区二区在线激情视频| 大尺度剧情国产在线视频| 精品国自产拍天天青青草原| 欧美在线观看视频三区| 欧美国产日韩在线综合| 国产午夜免费在线视频| 日韩精品免费一区三区| 男女激情视频在线免费观看| 激情三级在线观看视频| 欧美区一区二在线播放| 亚洲欧美中文日韩综合| 亚洲国产中文字幕在线观看| 黄片免费观看一区二区| 激情少妇一区二区三区| 国产亚洲精品久久99| 国产视频福利一区二区| 98精品永久免费视频| 五月婷婷六月丁香狠狠| 亚洲欧美日韩国产自拍| 欧美日本精品视频在线观看| 国产精品自拍杆香蕉视频| 免费在线播放不卡视频| 欧美国产在线观看精品|