波段标高主图指标 通达信公式(附图)

[复制链接]
查看99 | 回复0 | 2021-8-20 19:16:17 | 显示全部楼层 |阅读模式

THH:=HHV(H,25),COLORWHITE ;
TLL:=LLV(L,13)COLORYELLOW ;
AC01:=IF(THH=REF(THH,1),THH,DRAWNULL);
AC02:=IF(TLL=REF(TLL,1),TLL,DRAWNULL);
AC03:=HHV(AC01,30);
AC04:=LLV(AC02,30);
AC05:=IF(AC03=REF(AC03,1) AND THH=REF(THH,1) AND C>REF(C,1) ,HHV(H,30),DRAWNULL)POINTDOT,COLORGRAY;
AC06:=IF(AC04=REF(AC04,1) AND TLL=REF(TLL,1) AND C>REF(C,1),LLV(L,60),DRAWNULL)POINTDOT,COLORGRAY;
ACB1:=HHV(AC05,30);
ACB2:=LLV(AC06,300);{
核心波动:=(AC02-AC01)/AC02,STICK;}
STICKLINE(AC05>0 AND AC06>0 AND LLV(L,20)=LLV(L,50)
AND C>REF(C,1) AND AC05>0 AND AC06>0 AND AC06<REF(HHV(AC06,100),1),AC05 ,AC06, 0,-1);
STICKLINE(AC03=REF(AC03,1) AND THH=REF(THH,1) AND C>REF(C,1) AND AC05>0 AND AC06>0 AND AC06<REF(HHV(AC06,100),1)
AND LLV(L,20)=LLV(L,50),HHV(H,30),HHV(H,30),3,-1);
STICKLINE(AC04=REF(AC04,1) AND TLL=REF(TLL,1) AND C>REF(C,1) AND AC05>0 AND AC06>0 AND AC06<REF(HHV(AC06,100),1)
AND LLV(L,20)=LLV(L,50),LLV(L,60),LLV(L,60),3,-1);
STICKLINE(C>O,L,H,0.2,0)COLORRED;
DRAWKLINE(H,O,L,C);
DRAWNUMBER(AC04=REF(AC04,1) AND TLL=REF(TLL,1) AND C>REF(C,1) AND AC05>0 AND AC06>0 AND AC06<REF(HHV(AC06,100),1)
AND LLV(L,20)=LLV(L,50)
, 0.5*(AC06+AC05)*1.05,(AC05/AC06-1)),COLORYELLOW;

14O3GP0940-41100.jpg

14O3GP0940-41100.jpg

 

回复

使用道具 举报

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

本版积分规则