通达信换手趋势副图 源码

[复制链接]
查看38 | 回复0 | 2022-7-24 06:58:02 | 显示全部楼层 |阅读模式

换手趋势
N 1 120 5

以上参数请自行设定


 HSL:HSL*CAPITAL,LINETHICK2 COLORFF00FF ;
 MAHSL:MA(HSL,M),LINETHICK1 COLORYELLOW;
 VUR0:=(2*OPEN+HIGH+LOW+3*CLOSE)/7;
 VUR1:=IF(CAPITAL,CAPITAL,-1)*VUR0;
 VUR2:=SMA(AMOUNT,10,1)/1000;
 VUR3:=MA(CLOSE*3,5);
 VUR4:=VUR2*(CLOSE*3)/VUR3*1/10;
 VUR5:=VUR2*(OPEN*3)/VUR3*1/10;
 VUR6:=VUR2*(HIGH*3)/VUR3*1/10;
 VUR7:=VUR2*(LOW*3)/VUR3*1/10;
 VUR8:=(2*VUR5+VUR6+VUR7+3*VUR4)/7;
 VUR9:=DMA(EMA(VUR4,2),SUM(VOL,1)*VUR8);
 VUR10:=EMA(VUR9,2);
 VURA:=VUR9>VUR10;
 VURB:=EMA(VUR1-VUR9,1);
 VURC:=REF(VURB,1);
 VURD:=VURB>VURC;
 VURE:=(VURB-VURC)*15;
 VURF:=(VUR9-VUR10)*30000;
 VURG:=(VURC-VURB)*(-1);
 VURH:=IF(VURB>VURC,VURE/500,0);
 VURN:=IF(VURB<VURC,VURE/500,0);
 VURT:=IF(VURA AND VURD,VURF/2000000,0);
 VURL:=IF(VURA AND VURB<VURC,VURE/1000,0);
 0,COLOR8A8A8A;
买进量_手:VURH,COLOR1010FF,POINTDOT;
卖出量_手:VURN,COLOR80FF00,POINTDOT;
买进_强烈:VURT,COLOR10E6FF,POINTDOT;
打压_减筹:VURL,COLORFF00FF,POINTDOT;
 STICKLINE(VURB>VURC,0,VURE,6.8,1),COLOR1010FF;
 STICKLINE(VURB<VURC,0,VURE,6.8,0),COLOR80FF00;
 STICKLINE(VURA AND VURD AND CLOSE>OPEN,0,VURF*0.5,6.8,0),COLOR10E6FF;
 STICKLINE(VURA AND VURB<VURC,0,VURE,6.8,0),COLORFF00FF;
 HS:=FLOOR(SUM(V/CAPITAL,0));
完全换手:STICKLINE(HS>REF(HS,1),0,VURE,6,0) COLORFF0000;

65555657.gif

65555657.gif

回复

使用道具 举报

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

本版积分规则