通达信趋势确认王主图指标源码

[复制链接]
查看179 | 回复0 | 2021-8-19 11:44:22 | 显示全部楼层 |阅读模式

以下是通达信趋势确认王主图指标源码(无源码的请下载附件导入)

N:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
 AMOV:=VOL*(C+L+H)/3;
 MN:=SUM(AMOV,N)/SUM(VOL,N);
 NOTEXT1:IF(C>=MN,MN,DRAWNULL),LINETHICK3,COLORRED;
 NOTEXT2:IF(C<MN,MN,DRAWNULL),LINETHICK3,COLORBLUE;
 TJ1:=LLV(CLOSE,3)>REF(L,3) AND HHV(V,1)<=REF(V,3) AND REF(C,3)>REF(O,3) AND REF(V,3)>0.8*REF(V,4) AND REF(V,3)>1.1*REF(V,5);
 LJL:=FILTER(TJ1,1);
 TJ2:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(HIGH,3),1,0)));
 TP:=TJ2=1;
 STICKLINE(CLOSE,REF(LLV(L,3),BARSLAST(LJL)),REF(LLV(L,3),BARSLAST(LJL)),6,0),COLORYELLOW;
 TJ3:=IF(BARSLAST(LJL)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(LJL)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(LJL)=3 AND CLOSE>REF(LOW,3),1,0)));
 STFZ:=TJ3=1;
 CL:=STFZ AND TP;
 TJCL:=FILTER(CL,3);
 

733599099.jpg

733599099.jpg

回复

使用道具 举报

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

本版积分规则