通达信金蝉出洞主图设计理念使用方法公式主图 码

 

YX:=C<O;
ZGJ:=HHV(H,0);
ZD:=LLV(L,60);
DWTS:=YX AND COUNT(YX,0)=4;
TS:=BARSLAST(DWTS);
SJ:=INTPART(TS/6);
ZQ:=BARSLASTCOUNT(SJ=REF(SJ,1))=5;
TJ11:=(DWTS OR ZQ) AND TS>=0;
FB:=C=ZTPRICE(REF(C,1),0.1);
MB:=H=ZTPRICE(REF(C,1),0.1) AND C<H;
FB20:=C=ZTPRICE(REF(C,1),0.2);

CMB:=H=ZTPRICE(REF(C,1),0.2) AND C<H;
STICKLINE(FB,C,O,2,0),COLORYELLOW;
STICKLINE(MB,C,O,2,0),COLORMAGENTA;
STICKLINE(FB20,C,O,2,0),COLORRED;
STICKLINE(CMB,C,O,2,0),COLORWHITE;

ZDJ:=C=LLV(C,60);
DW:=BARSLAST(ZDJ),NODRAW,COLORRED;
CD60:=CONST(REF(C,DW)),COLORGREEN;
TJ:=BETWEEN(DW,1,60) AND C/REF(C,1)>1.043;
拐点:=TJ AND COUNT(TJ,DW)=1;
STICKLINE(拐点, ZGJ,ZD,0.3,1);
GDTS:=BARSLAST(拐点),NODRAW,COLORRED;
拐点价:=CONST(REF(C,GDTS)),COLORRED;

LJD:=C=LLV(C,GDTS);
LJTS:=BARSLAST(LJD);
MD:=LJTS=1 AND C>REF(C,LJTS) AND H>L;

Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;

M1:=COUNT(MD,GDTS)=1;
D1:=BARSLAST(M1 AND MD);
M2:=COUNT(MD,GDTS)=2;
D2:=BARSLAST(M2 AND MD);
M3:=COUNT(MD,GDTS)=3;
D3:=BARSLAST(M3 AND MD);
M4:=COUNT(MD,GDTS)>3;

C1:=REF(C,D1);
C2:=REF(C,D2);
C3:=REF(C,D3);
G1:=MAX(C1,C2);
G2:=MAX(G1,C3);
GJ1:=IF(M1,C1,0);
GJ2:=IF(M2,G1,0);
GJ3:=IF(M3,G2,0);
GJ:=GJ1 + GJ2 + GJ3;

地平线:CONST(GJ),COLORMAGENTA;
JCCD:=C>=地平线 AND C/REF(C,1)>1.043;
CDTJ:=COUNT(JCCD,GDTS)=1 AND JCCD ;
DRAWTEXT(CDTJ,1.03*H,'金蝉出洞'),COLORYELLOW;
WWW70822COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
DRAWTEXT(BARSLASTCOUNT(M4)=1,0.97*L,'挖洞捕蝉'),COLORWHITE;
DRAWICON(CDTJ,0.99*L,29);
DRAWICON(BARSLASTCOUNT(M4)=1,L,9);
CDTS:=BARSLAST(CDTJ);

FXJ:=CONST(REF(C,CDTS));
FXX:=IF(M4 OR CDTS>GDTS,0,FXJ);
起飞线:CONST(FXX),COLORGREEN;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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