共振理论 副图 转载和谐完全加密通达信指标!

[复制链接]
查看54 | 回复0 | 2022-6-27 22:32:15 | 显示全部楼层 |阅读模式

 

2018392319178827.png

2018392319178827.png

{共振理论}
XA_1:=DATE>=Y*10000+M*100+D-19000000;
XA_2:=IF(XA_1,CLOSE,DRAWNULL);
XA_3:=IF(XA_1,HIGH,DRAWNULL);
XA_4:=IF(XA_1,OPEN,DRAWNULL);
XA_5:=IF(XA_1,LOW,DRAWNULL);
{分析家公式网WWW.70822.com}
个股:IF(FLAG=0,(XA_2/REF(XA_2,BARSSINCE(XA_2))-1)*100,DRAWNULL);
XA_6:=IF(XA_1,INDEXC,DRAWNULL);
XA_7:=IF(XA_1,INDEXH,DRAWNULL);
XA_8:=IF(XA_1,INDEXO,DRAWNULL);
XA_9:=IF(XA_1,INDEXL,DRAWNULL);
大盘:IF(FLAG=0,(XA_6/REF(XA_6,BARSSINCE(XA_6))-1)*100,DRAWNULL);
XA_10:=IF(XA_1,IF(HY_INDEXC=0,REF(HY_INDEXC,1),HY_INDEXC),DRAWNULL);
XA_11:=IF(XA_1,IF(HY_INDEXH=0,REF(HY_INDEXH,1),HY_INDEXH),DRAWNULL);
XA_12:=IF(XA_1,IF(HY_INDEXO=0,REF(HY_INDEXO,1),HY_INDEXO),DRAWNULL);
XA_13:=IF(XA_1,IF(HY_INDEXL=0,REF(HY_INDEXL,1),HY_INDEXL),DRAWNULL);
行业:IF(FLAG=0,(XA_10/REF(XA_10,BARSSINCE(XA_10))-1)*100,DRAWNULL);
STICKLINE(XA_1 AND XA_2<=REF(XA_2,1) AND FLAG=1,XA_3,XA_5,0,1),COLORCYAN;
STICKLINE(XA_1 AND XA_2>REF(XA_2,1) AND FLAG=1,XA_3,XA_5,0,1),COLORRED;
STICKLINE(XA_1 AND XA_2<=REF(XA_2,1) AND FLAG=1,XA_4,XA_2,2,0),COLORCYAN;
STICKLINE(XA_1 AND XA_2>REF(XA_2,1) AND FLAG=1,XA_4,XA_2,2,1),COLORRED;
XA_14:=XA_6/REF(XA_6,BARSSINCE(XA_6))*REF(XA_2,BARSSINCE(XA_2));
XA_15:=XA_7/REF(XA_6,BARSSINCE(XA_6))*REF(XA_2,BARSSINCE(XA_2));
XA_16:=XA_8/REF(XA_6,BARSSINCE(XA_6))*REF(XA_2,BARSSINCE(XA_2));
XA_17:=XA_9/REF(XA_6,BARSSINCE(XA_6))*REF(XA_2,BARSSINCE(XA_2));
STICKLINE(XA_1 AND XA_14<=REF(XA_14,1) AND FLAG=1,XA_16,XA_14,2,0),COLORGREEN;
STICKLINE(XA_1 AND XA_14>REF(XA_14,1) AND FLAG=1,XA_16,XA_14,2,0),COLORRED;
STICKLINE(XA_1 AND XA_14<=REF(XA_14,1) AND FLAG=1,XA_15,XA_17,0,1),COLORGREEN;
STICKLINE(XA_1 AND XA_14>REF(XA_14,1) AND FLAG=1,XA_15,XA_17,0,1),COLORRED;
XA_18:=XA_10/REF(XA_10,BARSSINCE(XA_10))*REF(XA_2,BARSSINCE(XA_2));
XA_19:=XA_11/REF(XA_10,BARSSINCE(XA_10))*REF(XA_2,BARSSINCE(XA_2));
XA_20:=XA_12/REF(XA_10,BARSSINCE(XA_10))*REF(XA_2,BARSSINCE(XA_2));
XA_21:=XA_13/REF(XA_10,BARSSINCE(XA_10))*REF(XA_2,BARSSINCE(XA_2));
STICKLINE(XA_1 AND XA_18<=REF(XA_18,1) AND FLAG=1,XA_19,XA_21,0,1),COLORGRAY;
STICKLINE(XA_1 AND XA_18>REF(XA_18,1) AND FLAG=1,XA_19,XA_21,0,1),COLORGRAY;
STICKLINE(XA_1 AND XA_18<=REF(XA_18,1) AND FLAG=1,XA_20,XA_18,2,0),COLORGRAY;
STICKLINE(XA_1 AND XA_18>REF(XA_18,1) AND FLAG=1,XA_20,XA_18,2,1),COLORGRAY;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=1,XA_3,STKNAME),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=1,XA_15,9),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=1,XA_19,HYBLOCK),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=0,个股,STKNAME),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=0,大盘,9),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=5 AND FLAG=0,行业,HYBLOCK),COLORMAGENTA;
 

p20183923191075292.jpg

p20183923191075292.jpg

20183923185215109.rar

3.64 KB, 下载次数: 0

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

20183923185215109.rar

回复

使用道具 举报

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

本版积分规则