真实换手(大智慧机构版智慧宝指标重新振合,扩展)
大智慧机构版本,超赢智慧宝介绍了两个副图指标,一个是前期发的追击反转,还有一个是真实换手。
现将真实换手指标线与换手整合在一起,并且扩展其功能,便于实际应用。
{LT_真实换手}
INPUT:N(5,1,100);
换手:vol/capital*100,PRECIS2,COLOR0044EE,LINETHICK0;
真实换手:vol/(capital*100-PFFIN(4251,0))*10000,PRECIS2,COLOREE8888,LINETHICK0;
差值:真实换手-换手,PRECIS1,COLOREEEEEE,LINETHICK0;
涨幅:100*(CLOSE-REF(CLOSE,N))/REF(CLOSE,N),PRECIS1,COLOR44EE00,LINETHICK0;
HSL:=真实换手;
STICKLINE( HSL>0,0,HSL,8,0),COLORCC6666;
STICKLINE( HSL>0,0,HSL,6,0),COLORDD7777;
STICKLINE( HSL>0,0,HSL,4.5,0),COLOREE8888;
STICKLINE( HSL>0,0,HSL,1.5,0),COLORFF9999;
HXL:=换手;
STICKLINE( HXL>0,0,HXL,8,0),COLOR0011BB;
STICKLINE( HXL>0,0,HXL,6,0),COLOR0022CC;
STICKLINE( HXL>0,0,HXL,4.5,0),COLOR0033DD;
STICKLINE( HXL>0,0,HXL,1.5,0),COLOR0044EE;
3,PRECIS0,COLORCCCCCC;
DRAWTEXT(3,3,'3%温和'),COLORCCCCCC;
5,PRECIS1,COLOR00FFFF;
DRAWTEXT(5,5,'5%热门'),COLORCCCCCC;
8,PRECIS1,COLORFF00FF;
DRAWTEXT(8,8,'8%带量'),COLORCCCCCC;
放:=IF(HSL>8 AND HSL<15,HSL,0);
放量:STICKLINE(放>0,0,HSL,0.0,0),COLOR00CCFF;
巨:=IF(HSL>15 AND HSL<25,HSL,0);
巨量:STICKLINE(巨>0,0,HSL,0.0,0),COLORFFFFFF;
怪:=IF(HSL>25,HSL,0);
怪异:STICKLINE(怪>0,0,HSL,0.0,0),COLOR00FF00;