副图指标(共振理论)

[复制链接]
查看51 | 回复0 | 2022-7-24 07:37:08 | 显示全部楼层 |阅读模式

Y:=2012;
 M:=6;
 D:=6;
 T1:=DATE>=(Y*10000+M*100+D-19000000);
 GC:=IF(T1,C,DRAWNULL);
 个股:(GC/REF(GC,BARSSINCE(GC))-1)*100;
 IC:=IF(T1,INDEXC,DRAWNULL);
 大盘: (IC/REF(IC,BARSSINCE(IC))-1)*100;
 BC:=IF(T1,IF(HY_INDEXC=0,REF(HY_INDEXC,1),HY_INDEXC),DRAWNULL);
 行业:(BC/REF(BC,BARSSINCE(BC))-1)*100;
 DRAWTEXT(CURRBARSCOUNT=8,个股,STKNAME),COLORWHITE;
 DRAWTEXT(CURRBARSCOUNT=8,大盘,'对应大盘'),COLORYELLOW;
 DRAWTEXT(CURRBARSCOUNT=8,行业,'对应行业'),COLORMAGENTA;

 

=================

出现白线上穿黄线开始预警

Y:=2012;
 M:=6;
 D:=6;
 T1:=DATE>=(Y*10000+M*100+D-19000000);
 GC:=IF(T1,C,DRAWNULL);
 个股:=(GC/REF(GC,BARSSINCE(GC))-1)*100;
 IC:=IF(T1,INDEXC,DRAWNULL);
 大盘: =(IC/REF(IC,BARSSINCE(IC))-1)*100;
 cross(个股,大盘);

回复

使用道具 举报

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

本版积分规则