通达信筹码峰指标公式

[复制链接]
查看203 | 回复0 | 2021-8-19 19:24:32 | 显示全部楼层 |阅读模式

以下是通达信筹码峰指标公式(无源码的请下载附件导入)

VA:=(CLOSE+OPEN+LOW+HIGH)/4;
 RSC:=(VA-LLV(VA,55))/(HHV(VA,55)-LLV(VA,55))*200-100;
 DC:=SMA(SMA(RSC,5,1),5,1)*1.3;
 RSD:=(VA-LLV(VA,89))/(HHV(VA,89)-LLV(VA,89))*200-100;
 DF:=SMA(SMA(RSD,5,1),5,1)*1.3;
 VAA1:=LLV(LOW,100)+(HHV(HIGH,100)-LLV(LOW,100))/2+(HHV(HIGH,100)-LLV(LOW,100))/2*SIN(3.141596*537/1800);
 VAA2:=LLV(LOW,100)+(HHV(HIGH,100)-LLV(LOW,100))/2-(HHV(HIGH,100)-LLV(LOW,100))/2*SIN(3.141596*536/1800);
 VA3:=(VAA1-VAA2)*100/(VAA1+VAA2);
 VA4:=VA3-REF(VA3,1);
 VA5:=IF(VA4>0,VA4*144,0);
 VA6:=IF(VA5>200,200,VA5);
 TDXSTEP283:STICKLINE(VA6>90 AND (DC<(-90) OR DF<(-90)),0,VA6,3,0),COLOR006400;
 VAR16:=COST(95);
 AB2:=COST(5);
 VAR17:=(VAR16-AB2)*100/(VAR16+AB2);
 VAR18:=VAR17-REF(VAR17,1);
 VAR19:=IF(VAR18>0,VAR18*144,0);
 VA20:=IF(VAR19>200,200,VAR19);
筹码峰值:IF(VA6>90 OR VA20>90,MAX(VA6,VA20),0),NODRAW;
 TDXSTEP284:STICKLINE(VA20>90 AND (DC<(-90) OR DF<(-90)),0,VA20,3,0),COLOR00827B;
 NOTEXT2:0,COLORYELLOW,LINETHICK2;

{-----------------------------------}

71388563.jpg

71388563.jpg

回复

使用道具 举报

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

本版积分规则