通达信黄金主升浪主图指标

[复制链接]
查看78 | 回复0 | 2021-8-20 09:47:18 | 显示全部楼层 |阅读模式

以下是通达信黄金主升浪主图指标(无源码的请下载附件导入)

M3:= EMA(CLOSE,3);
 M8: EMA(CLOSE,8), , COLORGREEN;
 M13: EMA(M8,13), , COLORRED;


 VAR1:=EMA(M13,62);

VAR2:=(CLOSE+HIGH+LOW)/3;
 VAR3:=EMA(VAR2,10);
 VAR4:=REF(VAR3,1);
 STICKLINE(VAR3>VAR4,VAR3,VAR4,4,0), , COLORYELLOW;
 STICKLINE(VAR3<VAR4,VAR3,VAR4,4,0), , COLORBLUE;
 VAR5:=(REF(HIGH,1)+REF(LOW,1))/2;
 VAR6:=MA(CLOSE,N)+2*STD(CLOSE,N);
 DRAWTEXT(CROSS(VAR3,VAR4),VAR3*0.98,''),COLORYELLOW;

DRAWTEXT(CROSS(VAR5,VAR6),HIGH*1.04,'↓高位'), , COLORGREEN;
 VAR7:=REF(CLOSE,1);
 VAR8:=SMA(MAX(CLOSE-VAR7,0),N1,1)/SMA(ABS(CLOSE-VAR7),N1,1)*100;
 VAR9:=CROSS(N2,VAR8);
 VARA:=FILTER(VAR9,4);

DRAWTEXT(VARA,HIGH*1.04,''), , COLORWHITE;
 VARB:=(2*CLOSE+HIGH+LOW)/4;
 VARC:=LLV(LOW,34);
 VARD:=HHV(HIGH,34);
 VARE:=EMA((VARB-VAR1)/(VAR5-VAR1)*100,7);
 VARF:=EMA(0.667*REF(VARE,1)+0.333*VARE,5);
 DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.6 AND VOL>=1.5*MA(VOL,5) AND COUNT(VARE>=VARF,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进'), , {00010001};
 DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>0.6 AND COUNT(VARE>VARF,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW,'●买进'), , COLORYELLOW;
 VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
 DRAWTEXT(IF(CLOSE<VAR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'●抄底'), , COLORRED;
 BB:=HHV(HHV(LOW,14),60);
 X:=HHV(MA((L+H+C)/3,8),60),COLORFF6600;

 

81600131.jpg

81600131.jpg

回复

使用道具 举报

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

本版积分规则