【缠论三买优化版】套装经过优化掉了DLL函数




黄金柱:=V/REF(V,1)>=1.9;

DRAWLINE(黄金柱,L,REF(黄金柱,1),REF(L,1),1),COLORYELLOW;

DRAWLINE(黄金柱,H,REF(黄金柱,1),REF(H,1),1),COLORRED;

倍缩:=V/REF(V,1)<=0.6;

DRAWLINE(倍缩,H,REF(倍缩,1),REF(H,1),1),COLOR1D7300;

HH:=REF(H,5)=HHV(H,13);

LL:=REF(L,5)=LLV(L,13);

ABC01:=BACKSET(HH,6)>BACKSET(HH,5) ;

ACB01:=BACKSET(LL,6)>BACKSET(LL,5) ;

ABC0:= ABC01 AND H=HHV(H,BARSLAST(ACB01));

ACB0:=ACB01 AND L=LLV(L,BARSLAST( ABC01));

J0:=(H+L)/2;

 ABCH:=REF(H,BARSLAST( ABC0));

ABCH1:=REF(H,BARSLAST( ABC0)+1);

ABCL1:=REF(L,BARSLAST( ABC0)+1);

ABCH2:=REF(H,BARSLAST( ABC0)+2);

ABCL2:=REF(L,BARSLAST( ABC0)+2);

ABCJ0:=REF(J0,BARSLAST( ABC0));

ABCL:=REF(L,BARSLAST( ABC0));

ACBH:=REF(H,BARSLAST(ACB0));

ACBL:=REF(L,BARSLAST(ACB0));

ACBH1:=REF(H,BARSLAST(ACB0)+1);

ACBL1:=REF(L,BARSLAST(ACB0)+1);

ACBH2:=REF(H,BARSLAST(ACB0)+2);

ACBL2:=REF(L,BARSLAST(ACB0)+2);

ACBJ0:=REF(J0,BARSLAST(ACB0));

ABCZH:=IF( ABCL< ABCL1, ABCH2, ABCH1);

ABCZL:=IF( ABCL< ABCL1, ABCL2, ABCL1);

ACBZH:=IF(ACBH>ACBH1,ACBH2,ACBH1);

ACBZL:=IF(ACBH>ACBH1,ACBL2,ACBL1);

ABC1:=IF((( ABCL>ACBH AND  ABCH>ACBZH) OR ( ABCH>ACBH1 AND ACBH1>ACBH AND ACBH>ACBH2)), ABC0, ABC0 AND  ABCJ0>ACBH AND  ABCH>ACBZH);

ACB1:=IF(((ACBH< ABCL AND ACBL< ABCZL) OR (ACBL< ABCL1 AND  ABCL1< ABCL AND ACBL< ABCL2)),ACB0,ACB0 AND ACBJ0< ABCL AND ACBL< ABCZL);

 ABC2:= ABC1 AND H>=HHV(H,BARSLAST(ACB1));

ACB2:=ACB1 AND L<=LLV(L,BARSLAST( ABC1));

ABC:= ABC2 AND KDJ.K>40;

ACB:=ACB2 AND KDJ.K< 60;

BK:=IF(( ABCL1>= ABCL AND  ABC0) OR (ACBH1<=ACBH AND ACB0),4,3);

G1:= ABC AND BARSLAST(ACB)>BK;

D1:=ACB AND BARSLAST( ABC)>BK;

G2:=G1 AND H>=HHV(H,BARSLAST(D1));

D2:=D1 AND L<=LLV(L,BARSLAST(G1));

G3:=G2 OR ( ABC0 AND KDJ.J>100);

D3:=D2 OR (ACB0 AND KDJ.J< 0);

G4:=G3 OR ( ABC0 AND REF(H,BARSLAST( ABC0))>REF(H,BARSLAST(G2)) AND BARSLAST(D2)>BARSLAST(G2));

D4:=D3 OR (ACB0 AND REF(L,BARSLAST(ACB0))< REF(L,BARSLAST(D2)) AND BARSLAST(G2)>BARSLAST(D2));

G5:=G4 AND H=HHV(H,BARSLAST(D4));

D5:=D4 AND L=LLV(L,BARSLAST(G4));

GPB:=IF(G4,H,DRAWNULL),CIRCLEDOT,COLORYELLOW;

DPB:=IF(D4,L,DRAWNULL),CIRCLEDOT,COLORYELLOW;

NN:=G5;

UU:=D5;

DRAWLINE(UU,L,NN, H,0),COLORYELLOW,LINETHICK1;

DRAWLINE(NN,H,UU, L,0),COLORYELLOW,LINETHICK1;

TB:=(C-REF(C,1))/REF(C,1)*100;

STICKLINE(TB>9.9,O,C,2.5,1)COLORMAGENTA;

STICKLINE(TB< -9.9,O,C,2.5,0)COLOR1D7300;

N11:=9;

N21:=30;

N31:=56;

LL1:=LLV(L,N11);

HH1:=HHV(H,2*N11);

H01:=REF(HHV(H,N31),N11+N21);

三买平台选:=HH1=HHV(H,N21+N11+N31) AND LL1>H01 AND LL1/HH1< 0.97;

多:=EMA(C,3);

空:=EMA(C,5);

均衡:=EMA(空,5);

AAC1C:=COUNT(CROSS(多,均衡),2)=1;

AAC2C:=COUNT(CROSS(空,均衡),2)=1;

买1:=FILTER(AAC1C AND AAC2C,2);

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);

DEA:=EMA(DIFF,9);

低位金叉:=CROSS(DIFF,DEA) AND DIFF< -0.1 ;

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA< 0 AND COUNT(JCCOUNT=2,21)=1;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));{股票指标网http://}

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

买2:=低位金叉 OR 二次金叉 OR 底背离 COLORYELLOW;

买3:=(买1 AND 三买平台选) OR 买2;

DRAWICON(买1,L,25);

DRAWTEXT(买1,L,'  ①'),COLORWHITE;

DRAWICON(买2,L*0.97,26);

DRAWTEXT(买2,L*0.97,'  ②'),COLORYELLOW ;

DRAWICON(买3,L*0.94,27);

DRAWTEXT(买3,L*0.94,'  ③'),COLORMAGENTA;







未来函数检测结果如下:
该公式包含未来函数:BACKSET
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  指标公式网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 浙ICP备2024071487号-2 指标公式网别名指标网仅为互联网文章,所有指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。指标公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图