通达信攻击筹码斜率副图指标 源码 贴图 VARZ:=HHV(VAR0,240); VARK:=LLV(VAR0,240); VARKZ:=MA(C,33); VAR11:=WINNER(C/1.1)*100,STICK,COLORRED; STICKLINE(((C/1.1)*100),VAR11,0,2.7,0),COLOR000055; STICKLINE(((C/1.1)*100),VAR11,0,1.7,0),COLOR000077; STICKLINE(((C/1.1)*100),VAR11,0,0.7,0),COLOR0000BB; STICKLINE(((C/1.1)*100),VAR11,0,0.2,0),COLOR0000FF; VAR12:=WINNER(C/1.2)*100,STICK,COLORYELLOW; STICKLINE(((C/1.2)*100),VAR12,0,2.7,0)COLOR009999; STICKLINE(((C/1.2)*100),VAR12,0,1.7,0)COLOR00BBBB; STICKLINE(((C/1.2)*100),VAR12,0,0.7,0)COLOR00DDDD; STICKLINE(((C/1.2)*100),VAR12,0,0.2,0)COLOR00FFFF; VAR13:=WINNER(C/1.3)*100,STICK,COLORFF00FF; STICKLINE(((C/1.3)*100),VAR13,0,2.7,0),COLORFF1100; STICKLINE(((C/1.3)*100),VAR13,0,1.7,0),COLORFF5500; STICKLINE(((C/1.3)*100),VAR13,0,0.7,0),COLORFF9900; STICKLINE(((C/1.3)*100),VAR13,0,0.2,0),COLORFFDD00; VAR16:=100,POINTDOT,LINETHICK2,COLORRED; VAR17:=15,COLORYELLOW; VAR18:=70,COLORYELLOW; VAR19:=300,POINTDOT,LINETHICK2,COLORGREEN; VAR15:=EMA(C,20); 二十日斜率:(VAR15-REF(VAR15,1))/REF(VAR15,1)*100,LINETHICK0; 十日换手率:SUM(VOL,10)/CAPITAL*100,LINETHICK1; 锁定筹码:EMA((VAR0-VARK)/VARK*VARKZ,13),LINETHICK2; 浮动筹码:EMA((VARZ-VAR0)/VAR0*VARKZ,13),LINETHICK2; 力量对比:锁定筹码-浮动筹码,COLORSTICK; 筹码交换:CROSS(锁定筹码,浮动筹码); DRAWICON(筹码交换,L,9);
|