通达信【共振突破】主图 提供精准的市场趋势分析 支持手机电脑 指标源码

DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,5);
AA1:=DIFF>DEA;
A1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
K:=SMA(A1,3,1);
D:=SMA(K,3,1);
AA2:=K>D;
LC:=REF(CLOSE,1);
CBA1:=(SMA(MAX(CLOSE-LC,0),5,1))/(SMA(ABS(CLOSE-LC),5,1))*100;
CBA2:=(SMA(MAX(CLOSE-LC,0),13,1))/(SMA(ABS(CLOSE-LC),13,1))*100;
AA3:=CBA1>CBA2;
A:=-(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
MA5:MA(C,5)DOTLINE;
MA10:MA(C,13)LINETHICK2;
B1:=SMA(A,3,1);
B2:=SMA(B1,3,1);
AA4:=B1>B2;
BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
AA5:=CLOSE>BBI;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,5),3)/EMA(EMA(ABS(MTM),5),3);
MMM:=100*EMA(EMA(MTM,13),8)/EMA(EMA(ABS(MTM),13),8);
AA6:=MMS>MMM;
MAV:=(C*2+H+L)/4;
SK:=EMA(MAV,13)-EMA(MAV,34);
SD:=EMA(SK,5);
空方力度:=(-2*(SK-SD))*3.8,COLORGREEN;
多方力度:=(2*(SK-SD))*3.8,COLORRED;
AA7:=多方力度>空方力度;
MA11:=MA(CLOSE,5);
MA22:=REF(MA(CLOSE,5),1);
XYZ2:=IF(MONTH< 12,1,1);
XYZ3:=(2*CLOSE+HIGH+LOW)/4;
XYZ4:=LLV(LOW,34);
XYZ5:=HHV(HIGH,34);
力度:=EMA((XYZ3-XYZ4)/(XYZ5-XYZ4)*100,13)*XYZ2;
散户:=EMA(0.667*REF(力度,1)+0.333*力度,2);
AA9:=力度>散户;
AA10:=(多方力度>空方力度) AND (力度>散户);
AA11:=(多方力度>空方力度) AND (力度>散户) AND (DIFF>DEA) AND (K>D) AND (CBA1>CBA2) AND (B1>B2) AND (CLOSE>BBI) AND (MMS>MMM);
共振:=BARSLASTCOUNT((AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND AA7 AND AA9 AND AA10 AND AA11))=1;
DRAWICON((AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND AA7 AND AA9 AND AA10 AND AA11),L,1);
STICKLINE((AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND AA7 AND AA9 AND AA10 AND AA11),OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE((AA1 AND AA2 AND AA3 AND AA4 AND AA5 AND AA6 AND AA7 AND AA9 AND AA10 AND AA11),OPEN,CLOSE,1,0),COLORFF00FF;
DRAWICON(共振,L,5);
DRAWTEXT(共振,L*0.96,'★共振'),COLORFF00FF;
N1:=BARSLAST(共振);
XG:=共振 AND LLV(L,REF(N1,1))< REF(L,REF(N1,1)+1);
STICKLINE(XG,C,O,3,0),COLORRED;


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

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

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

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