多彩换手柱指标 通达信公式(附图)

[复制链接]
查看113 | 回复0 | 2021-8-20 18:49:04 | 显示全部楼层 |阅读模式

换手:VOL/CAPITAL*100,NODRAW;
HHS:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
虚换:HHS/CAPITAL*100,COLORRED,NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚换,0,2,-1),COLORC0C0C0;
拟比:虚换/REF(换手,1),NODRAW,COLORCYAN;
AA:=换手=HHV(换手,30);
BB:=BARSLAST(FILTER(CROSS(0.8,AA),2))+1;
高点:=REF(换手,BB);
突破:=CROSS(换手,REF(高点,1));
前高比:换手/高点,COLORYELLOW,NODRAW;
换倍:换手/REF(换手,1),NODRAW;
{低换}STICKLINE(换手<=2,0,换手,2,1),COLORAAAA00;
{温和}STICKLINE(换手>2 AND 换手<=6,0,换手,2,1)COLORAAAAAA;
{热换}STICKLINE(换手>6 AND 换手<=12,0,换手,2,1)COLOR0000AA;
{炙热}STICKLINE(换手>12 AND 换手<=18,0,换手,2,0),COLORAA00AA;
{高潮}STICKLINE(换手>18 AND 换手<=24,0,换手,2,0),COLOR00AAAA;
{极点}STICKLINE(换手>24,0,换手,2,10),COLOR00AAAA;
半年天换手:=IF(换手>REF(HHV(换手,119),1),0.99,1);
年天换手:=IF(换手>REF(HHV(换手,239),1),0.99,1);
半年地换手:=IF(V<REF(LLV(V,119),1),0.99,1);
年地换手:=IF(V<REF(LLV(V,239),1),0.99,1);
STICKLINE(半年地换手<1,换手,0,-1,0),COLOR00DD00;
STICKLINE(年地换手<1,换手,0,-1,0),COLORDD0000;
STICKLINE(半年天换手<1,换手,换手-换手*0.02,1,0),COLOR00DDDD;
STICKLINE(年天换手<1,换手,换手-换手*0.02,1,0),COLORFF00FF;
STICKLINE(突破,高点,高点,2,0),COLORLIBLUE;

 

回复

使用道具 举报

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

本版积分规则