通达信【起爆捉妖--右侧交易法】主副图指标 源码

{起爆捉妖主图源码如下}


ZT:=REF(C,1)*1.1-C< 0.01 AND H=C;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
好股网1:=AA*102/100;
好股网2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:(1+7/100)*DD,DOTLINE,COLORRED;
下:(1-7/100)*DD,DOTLINE,COLORWHITE;
中:(上+下)/2,DOTLINE,COLORGREEN;
上上:=EMA(上,181),DOTLINE,COLORRED;
下下:=EMA(下,181),DOTLINE,COLORRED;
中中:=EMA(中,181),DOTLINE,COLORRED;
DRAWKLINE(H,O,L,C);
顶:=(1+14/100)*DD,LINETHICK2,COLORBLACK;
底:=(1-14/100)*DD,LINETHICK2,COLORBLACK;
触底:=REF(L,1)< 底 AND ZT ;
DRAWTEXT(触底,L,' ★反转'),COLORCYAN;
STICKLINE(触底,C,O,3,1),COLORYELLOW;
STICKLINE(触底,C,O,1,0),COLORRED;
DF:=(C-REF(C,1))/REF(C,1)*100< -5;
DF4:=(C-O)/O*100< -4;
乖离涨停1:=H>上 AND ZT AND CROSS(C,上);
DRAWTEXT(乖离涨停1,L,' ★起爆点'),COLORYELLOW;
STICKLINE(乖离涨停1,C,O,2,0),COLORYELLOW;
乖离涨停2:=O>上 AND ZT;
STICKLINE(乖离涨停2,C,O,1,0),COLORMAGENTA;
DRAWTEXT(乖离涨停2,L,' ★妖'),COLORMAGENTA;



{起爆捉妖副图源码如下}


ABC1:=(2*CLOSE+HIGH+LOW)/4;
ABC2:=EMA(ABC1,4);
ABC3:=EMA(ABC2,4);
ABC4:=EMA(ABC3,4);
好股网:(ABC4-REF(ABC4,1))/REF(ABC4,1)*100;
STICKLINE(好股网>=0,好股网,0,2,0),COLORRED;
STICKLINE(好股网< 0,好股网,0,2,0),COLORGREEN;
PJGJ:=AMOUNT/VOL/100;
ACB1X:=MA(PJGJ,13);
ACBL:=EMA(VOL,13);
ACBE:=EMA(AMOUNT,13);
SSRCBJX:=ACBE/ACBL/100;
CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;
AACHSL:=EMA(VOL/CAPITAL*100,13);
AAC1:MA(好股网,2);
AAC2:MA(好股网,1);
ZT:=REF(C,1)*1.1-C< 0.01 AND H=C;
AA:=MA((2*CLOSE+HIGH+LOW)/4,5);
通1:=AA*102/100;
通2:=AA*(200-102)/100;
CC:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
DD:=DMA(CLOSE,CC);
上:=(1+7/100)*DD,DOTLINE,COLORRED;
下:=(1-7/100)*DD,DOTLINE,COLORWHITE;
中:=(上+下)/2,DOTLINE,COLORGREEN;
上上:=EMA(上,181),DOTLINE,COLORRED;
下下:=EMA(下,181),DOTLINE,COLORRED;
中中:=EMA(中,181),DOTLINE,COLORRED;
顶:=(1+14/100)*DD,LINETHICK2,COLORBLACK;
底:=(1-14/100)*DD,LINETHICK2,COLORBLACK;
触底:=REF(L,1)< 底 AND ZT ;
DRAWTEXT(触底,好股网,' ★反转'),COLORCYAN;
STICKLINE(触底,好股网,0,3,0),COLORYELLOW;
DF:=(C-REF(C,1))/REF(C,1)*100< -5;
DF4:=(C-O)/O*100< -4;
乖离涨停1:=H>上 AND ZT AND CROSS(C,上);
DRAWTEXT(乖离涨停1,好股网*-0.98,' ★起爆点'),COLORYELLOW;
STICKLINE(乖离涨停1,好股网,0,2,0),COLORYELLOW;
乖离涨停2:=O>上 AND ZT;
STICKLINE(乖离涨停2,好股网,0,1,0),COLORBROWN;
DRAWTEXT(乖离涨停2,好股网,' ★妖'),COLORMAGENTA;
DRAWICON(触底,好股网,1);
DRAWICON(乖离涨停1,好股网,13);
DRAWICON(乖离涨停2,好股网,9);


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

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

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