继续整合11个指标主图 幅图之四

[复制链接]
查看10 | 回复0 | 2022-6-28 01:19:20 | 显示全部楼层 |阅读模式

这次应部分同学要求再次将“量坑武破空虚版”KDJ急拉后突破“一条线”双底选股“MACD零轴上粘合”主力挖坑“波谷回踩20日线”V型反转“一石二鸟”筹码集中(木植版)“突破年线”共十一个指标整合成一个幅图并联合选股。
不同彩柱在幅图左上角有对应改彩柱颜色的文字标注。

幅图信号整合(11个指标)
N:=10;
V5:=MA(VOL,5);
HT:=HHVBARS(V5,60);
T:=BARSLAST(V5=REF(V5,HT));
LT:=LLVBARS(V5,30);
T1:=BARSLAST(V5=REF(V5,LT));
FD:=REF(V5,T)/REF(V5,T1);
TJ:=T>T1 AND CROSS(C,REF(H,T)) AND FD>N;
XG:=COUNT(TJ,T+1)=1 AND TJ;
DRAWTEXT_FIX(ISLASTBAR,0.01,0,0,'量坑选股 '),COLORBLUE;
STICKLINE(XG,0,8,1.5,0),COLORBLUE;
J:=KDJ.J;
AT:=BARSLAST(CROSS(J,0));
AT1:=BARSLAST(CROSS(J,100));
ATJ:=EVERY(J>REF(J,1),AT);
ATA:=BARSLAST(ATJ AND AT1=0);
AXG:=CROSS(C>=REF(H,ATA)*1.03,0.5);
DRAWTEXT_FIX(ISLASTBAR,0.07,0,0,'J值急拉'),COLORGREEN;
STICKLINE(AXG,0,8,1.5,0),COLORGREEN;
BM:=SUM(C*V,60)/SUM(V,60);
BGL:=(H/BM-1)*100;
BTJ:=EVERY(BGL<9,80);
BXG:=REF(BTJ,1) AND CROSS(BGL>=9,0.5);
DRAWTEXT_FIX(ISLASTBAR,0.13,0,0,'破一条线'),COLORCYAN;
STICKLINE(BXG,0,4,1.5,0),COLORCYAN;
CN:=15;
CT:=LLVBARS(L,CN);
CHT:=HHVBARS(H,CN);
CTT:=BARSLAST(CT=0);
CXG:=CT=0 AND REF(CTT,1)<20 AND L>REF(L,REF(CTT,1));
DRAWTEXT_FIX(ISLASTBAR,0.19,0,0,'双底形成'),COLORRED;
STICKLINE(CXG,0,4,1.5,0),COLORRED;
DZT:=C>REF(C,1)*1.095 AND C=H;
DYX:=O>REF(H,1) AND C<O AND REF(C,1)/C>1.03;
DT:=BARSLAST(REF(DZT,1) AND DYX);
DTJ:=CROSS(C,REF(H,DT));
DXG:=REF(DT,1)>20 AND COUNT(DTJ,DT+1)=1 AND DTJ AND DT<550;
DRAWTEXT_FIX(ISLASTBAR,0.25,0,0,'主力挖坑'),COLORMAGENTA;
STICKLINE(DXG,0,4,1.5,0),COLORMAGENTA;
EM:=MACD.MACD;
EM5:=MA(C,5);
EF:=MACD.DIF;
ED:=MACD.DEA;
ETJF:=EVERY(BETWEEN(EF,0,0.35),18);
ETJD:=EVERY(BETWEEN(ED,0,0.30),18);
ETJM:=EM5>REF(EM5,1);
EXG:=EVERY(BETWEEN(EM,0,0.23),30) AND ETJF AND ETJD AND ETJM;
EXG1:=CROSS(EXG,0.5);
DRAWTEXT_FIX(ISLASTBAR,0.31,0,0,'零上粘合'),COLORBROWN;
STICKLINE(CXG,0,4,1.5,0),COLORBROWN;
FN:=5;
FM20:=MA(C,20);
FL1:=TROUGH(2,FN,1);
FL2:=TROUGH(2,FN,2);
FT1:=TROUGHBARS(2,FN,1);
FT2:=TROUGHBARS(2,FN,2);
FTJ1:=RANGE(FL1/FM20,0.98,1.02);
FTJ2:=RANGE(REF(FL1,FT2)/REF(FM20,FT2),0.98,1.02);
FTJ:=FTJ1 AND FTJ2 ;
FTJA:=REF(FT1,1)=0 AND REF(FL1>FL2,1) ;
FXG:=FTJA AND FTJ;
DRAWTEXT_FIX(ISLASTBAR,0.37,0,0,'波谷回踩'),COLORGRAY;
STICKLINE(FXG,0,4,1.5,0),COLORGRAY;
GHT:=HHVBARS(H,15);
GLT:=LLVBARS(L,15);
GDF1:=(REF(C,GLT)-REF(C,GHT+1))/REF(C,GHT+1)*100;
GDF2:=(C-REF(C,GLT+1))/REF(C,GLT+1)*100;
GTJ:=C>=REF(C,GHT);
GXG:=GHT>GLT AND GDF1<-5 AND COUNT(GTJ,GHT+1)=1 AND GTJ;
DRAWTEXT_FIX(ISLASTBAR,0.43,0,0,'V型反转'),COLORLIRED;
STICKLINE(GXG,0,4,1.5,0),COLORLIRED;
IN:=44;
IM8:=MA(C,8);
IM21:=MA(C,21);
IT:=BARSLAST(CROSS(IM21,IM8));
IC1:=REF(C,IT+1);
IDF:=(C-IC1)/IC1*100;
IA:=C>O OR(C=O AND C>=REF(C,1));
ILA:=BARSLASTCOUNT(IA);
ITJ:=EVERY(H>REF(H,1),2);
ITT:=BARSLAST(EVERY(IM8<=IM21,IT+1) AND IDF<-10 AND ILA=3 AND ITJ);
ITJ1:=O<=MIN(IM8,IM21) AND C>=MAX(IM8,IM21);
INH:=(IM21/IM8-1)*100;
IXG:=COUNT(ITJ1,ITT+1)=1 AND ITJ1 AND ITT!=DRAWNULL AND INH<3 AND ITT<IN;
DRAWTEXT_FIX(ISLASTBAR,0.49,0,0,'一石二鸟'),COLORYELLOW;
STICKLINE(IXG,0,4,1.5,0),COLORYELLOW;
KM5:=MA(C,5);
KM10:=MA(C,10);
KM20:=MA(C,20);
KM60:=MA(C,60);
KYC5:=PPART(5)*100;
KYC100:=PPART(100)*100;
KC85:=COST(85);
KC15:=COST(15);
KB1:=KC85-KC15;
KB2:=(KC85+KC15)/2;
KB3:=KB1/KB2*100<15 AND KYC5>90 AND KYC100<15;
KZF:=RANGE((C-REF(C,1))/REF(C,1)*100,-3,3) AND KM5>=REF(KM5,1); 
KXG:=EVERY(KZF,3) AND KM10>=KM20 AND KB3 AND KM5>KM60 AND ASR>80;
DRAWTEXT_FIX(ISLASTBAR,0.55,0,0,'筹木值版'),COLORWHITE;
STICKLINE(KXG,0,4,1.5,0),COLORWHITE;
ZM233:=MA(C,233);
ZTJ1:=C>ZM233 AND O<ZM233 AND (MA(V,8)>MA(V,21)*2.382 OR CROSS(MA(V,8),MA(V,21)));
ZT:=BARSLAST(ZTJ1 AND ZM233>=REF(ZM233,1));
ZTJ:=C/ZM233*100-100;
ZXG:=COUNT(ZTJ>=10,ZT)=1 AND ZTJ>=10 AND ZT<20;
DRAWTEXT_FIX(ISLASTBAR,0.61,0,0,'突破年线'),COLORLIMAGENTA;
STICKLINE(ZXG,0,4,1.5,0),COLORLIMAGENTA;  




11个指标联合选股




N:=10;
V5:=MA(VOL,5);
HT:=HHVBARS(V5,60);
T:=BARSLAST(V5=REF(V5,HT));
LT:=LLVBARS(V5,30);
T1:=BARSLAST(V5=REF(V5,LT));
FD:=REF(V5,T)/REF(V5,T1);
TJ:=T>T1 AND CROSS(C,REF(H,T)) AND FD>N;
XG:=COUNT(TJ,T+1)=1 AND TJ;
J:=KDJ.J;
AT:=BARSLAST(CROSS(J,0));
AT1:=BARSLAST(CROSS(J,100));
ATJ:=EVERY(J>REF(J,1),AT);
ATA:=BARSLAST(ATJ AND AT1=0);
AXG:=CROSS(C>=REF(H,ATA)*1.03,0.5);
BM:=SUM(C*V,60)/SUM(V,60);
BGL:=(H/BM-1)*100;
BTJ:=EVERY(BGL<9,80);
BXG:=REF(BTJ,1) AND CROSS(BGL>=9,0.5);
CN:=15;
CT:=LLVBARS(L,CN);
CHT:=HHVBARS(H,CN);
CTT:=BARSLAST(CT=0);
CXG:=CT=0 AND REF(CTT,1)<20 AND L>REF(L,REF(CTT,1));
DZT:=C>REF(C,1)*1.095 AND C=H;
DYX:=O>REF(H,1) AND C<O AND REF(C,1)/C>1.03;
DT:=BARSLAST(REF(DZT,1) AND DYX);
DTJ:=CROSS(C,REF(H,DT));
DXG:=REF(DT,1)>20 AND COUNT(DTJ,DT+1)=1 AND DTJ AND DT<550;
EM:=MACD.MACD;
EM5:=MA(C,5);
EF:=MACD.DIF;
ED:=MACD.DEA;
ETJF:=EVERY(BETWEEN(EF,0,0.35),18);
ETJD:=EVERY(BETWEEN(ED,0,0.30),18);
ETJM:=EM5>REF(EM5,1);
EXG:=EVERY(BETWEEN(EM,0,0.23),30) AND ETJF AND ETJD AND ETJM;
EXG1:=CROSS(EXG,0.5);
FN:=5;
FM20:=MA(C,20);
FL1:=TROUGH(2,FN,1);
FL2:=TROUGH(2,FN,2);
FT1:=TROUGHBARS(2,FN,1);
FT2:=TROUGHBARS(2,FN,2);
FTJ1:=RANGE(FL1/FM20,0.98,1.02);
FTJ2:=RANGE(REF(FL1,FT2)/REF(FM20,FT2),0.98,1.02);
FTJ:=FTJ1 AND FTJ2 ;
FTJA:=REF(FT1,1)=0 AND REF(FL1>FL2,1) ;
FXG:=FTJA AND FTJ;
GHT:=HHVBARS(H,15);
GLT:=LLVBARS(L,15);
GDF1:=(REF(C,GLT)-REF(C,GHT+1))/REF(C,GHT+1)*100;
GDF2:=(C-REF(C,GLT+1))/REF(C,GLT+1)*100;
GTJ:=C>=REF(C,GHT);
GXG:=GHT>GLT AND GDF1<-5 AND COUNT(GTJ,GHT+1)=1 AND GTJ;
IN:=44;
IM8:=MA(C,8);
IM21:=MA(C,21);
IT:=BARSLAST(CROSS(IM21,IM8));
IC1:=REF(C,IT+1);
IDF:=(C-IC1)/IC1*100;
IA:=C>O OR(C=O AND C>=REF(C,1));
ILA:=BARSLASTCOUNT(IA);
ITJ:=EVERY(H>REF(H,1),2);
ITT:=BARSLAST(EVERY(IM8<=IM21,IT+1) AND IDF<-10 AND ILA=3 AND ITJ);
ITJ1:=O<=MIN(IM8,IM21) AND C>=MAX(IM8,IM21);
INH:=(IM21/IM8-1)*100;
IXG:=COUNT(ITJ1,ITT+1)=1 AND ITJ1 AND ITT!=DRAWNULL AND INH<3 AND ITT<IN;
KM5:=MA(C,5);
KM10:=MA(C,10);
KM20:=MA(C,20);
KM60:=MA(C,60);
KYC5:=PPART(5)*100;
KYC100:=PPART(100)*100;
KC85:=COST(85);
KC15:=COST(15);
KB1:=KC85-KC15;
KB2:=(KC85+KC15)/2;
KB3:=KB1/KB2*100<15 AND KYC5>90 AND KYC100<15;
KZF:=RANGE((C-REF(C,1))/REF(C,1)*100,-3,3) AND KM5>=REF(KM5,1); 
KXG:=EVERY(KZF,3) AND KM10>=KM20 AND KB3 AND KM5>KM60 AND ASR>80;
ZM233:=MA(C,233);
ZTJ1:=C>ZM233 AND O<ZM233 AND (MA(V,8)>MA(V,21)*2.382 OR CROSS(MA(V,8),MA(V,21)));
ZT:=BARSLAST(ZTJ1 AND ZM233>=REF(ZM233,1));
ZTJ:=C/ZM233*100-100;
ZXG:=COUNT(ZTJ>=10,ZT)=1 AND ZTJ>=10 AND ZT<20;
联选:XG OR AXG OR BXG OR CXG OR DXG OR EXG OR FXG OR GXG OR IXG OR KXG OR ZXG;

201552422154811055.jpg

201552422154811055.jpg

201552422162349175.rar

4.4 KB, 下载次数: 0

售价: 6 金钱  [记录]  [购买]

201552422162349175.rar

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则