通达信大波段 帮判断持有的股票在什么位置副图

[复制链接]
查看324 | 回复0 | 2021-8-28 01:38:50 | 显示全部楼层 |阅读模式

以下是通达信大波段 帮判断持有的股票在什么位置副图(无源码的请下载附件导入)

{大波段}
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
DIF:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13);
DEA:EMA(0.667*REF(DIF,1)+0.333*DIF,2);
QS:IF(CROSS(DIF,DEA) AND DIF<40,25,10),COLORRED;
买入:QS=25 AND CROSS(MA(CLOSE,5),MA(CLOSE,10)),LINETHICK0;
DRAWTEXT(CROSS(DIF,DEA) AND DIF<22,20,'波谷'),COLORGREEN;
DRAWICON(CROSS(DIF,DEA) AND DIF<22,25,1);
DRAWTEXT(CROSS(DIF,30) AND DEA<DIF,40,'初波段'),COLORWHITE;
DRAWICON(CROSS(DIF,30) AND DEA<DIF,35,1);
DRAWTEXT(CROSS(DIF,65) AND DEA<DIF,55,'中波段'),COLORFF00FF;
DRAWICON(CROSS(DIF,65) AND DEA<DIF,70,2);
DRAWTEXT(CROSS(DIF,75) AND DEA<DIF,67,'高波段'),COLORYELLOW;
DRAWICON(CROSS(DIF,75) AND DEA<DIF,80,2);
DRAWTEXT(CROSS(DEA,DIF) AND DEA>75,80,'波峰'),COLORRED;
DRAWICON(CROSS(DEA,DIF) AND DEA>75,85,2);

1313255193.png

1313255193.png

回复

使用道具 举报

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

本版积分规则