通达信筹码超跌副图指标 源码 测试图

[复制链接]
查看114 | 回复0 | 2021-8-26 22:35:46 | 显示全部楼层 |阅读模式

以下是通达信筹码超跌副图指标 源码 测试图(无源码的请下载附件导入)

VARAA:=(AMOUNT / (100 * VOL));
 CYC13:=MA(VARAA,13);
 CYC34:=MA(VARAA,34);
 CYCMAX:=DMA(CLOSE,(VOL / CAPITAL));
 CYS13:=(((CLOSE - CYC13) / CYC13) * 100);
 CYS34:=(((CLOSE - CYC34) / CYC34) * 100);
 CYSMAX:=(((CLOSE - CYCMAX) / CYCMAX) * 100);
亏损程度:IF((CYS13 <= (0 - 7)),7,0),STICK,LINETHICK3,COLORFFFFFF;
 IF((CYS13 <= (0 - 10)),10,0),COLORFFFF33;
 IF((CYS13 <= (0 - 16)),16,0),COLORFF0000;
 IF((CYS13 <= (0 - 20)),20,0);
 IF((CYS13 <= (0 - 25)),25,0);
 IF((CYS13 <= (0 - 30)),30,0),COLORFF00FF;
 VAR1:=(COST(10) * 0);
 VAR2:=(REF(HIGH,1) * 1.1);
 VAR3:=(HIGH * 1.1);
 VAR4:=(((VAR3 * VOL) + (VAR2 * (CAPITAL - VOL))) / CAPITAL);
 VAR5:=(REF(LOW,1) * 0.9);
 VAR6:=(LOW * 0.9);
 VAR7:=(((VAR6 * VOL) + (VAR5 * (CAPITAL - VOL))) / CAPITAL);
 VAR8:=EMA(VAR7,30);
 VAR9:=EMA(VAR4,30);
 VARA:=(VAR9 - 2);
 VARB:=IF((CLOSE <= VAR8),VARA,VAR9);
超跌:(VARB * 2.5);
 TAO:=(100 * (1 - WINNER(CLOSE)));
 A:=(1.1 * CLOSE);
 B:=(0.9 * CLOSE);
 ASR:=(100 * (WINNER(A) - WINNER(B)));
筹码超跌:IF(((ASR < 10) AND (TAO > 90)),30,0);
短中长线超跌:IF(((((CYS13 < (0 - 16)) AND (CYS13 > (0 - 100))) AND (CYS34 < (0 - 20))) AND (CYS34 > (0 - 100))),40,0);
 IF(((((CYS34 < (0 - 20)) AND (CYS34 > (0 - 100))) AND (CYSMAX < (0 - 30))) AND (CYSMAX > (0 - 100))),50,0),COLORFFCC00;
反弹:(VARA * 2.5),COLORFF00FF;
风:IF((((超跌 = 反弹) AND (CYS13 <= (0 - 10))) AND (筹码超跌 = 30)),(0 - 30),0);
云:IF(((((超跌 = 反弹) AND (CYS13 <= (0 - 16))) AND (筹码超跌 = 30)) AND(短中长线超跌 = 40)),(0 - 20),0);

14155961.jpg

14155961.jpg

回复

使用道具 举报

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

本版积分规则