指标说明:vb5K线密码—破译K线的密码
副图指标,本指标通过对价格背离的测算,评估当前股票所处的风险水平。vb5K线密码—破译K线的密码
按风险大小,分为安全区、投资区、风险区等。vb5K线密码—破译K线的密码
指标例图:vb5K线密码—破译K线的密码
vb5K线密码—破译K线的密码
指标源码:vb5K线密码—破译K线的密码
量化1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
量化2:=100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));
研究所51:=SMA(研究所11,3,1)+100;
研究所4:=EMA((CLOSE-研究所2)/(研究所3-研究所2)*100,10)*-1+100;
趋势:=100-EMA(0.191*REF(研究所4,1)+0.809*研究所4,1);
STICKLINE(C,100,90,4,0),COLORFFCC33;
STICKLINE(C,90,80,4,0),COLORFF9933;
STICKLINE(顶底线>REF(顶底线,1),20,80,4,0),COLOR9999FF;
STICKLINE(顶底线<REF(顶底线,1),20,80,4,0),COLOR009966;
STICKLINE((趋势>REF(趋势,1) AND 顶底线<REF(顶底线,1)),20,80,4,0),COLOR9999FF;
STICKLINE((趋势<REF(趋势,1) AND 顶底线>REF(顶底线,1)),20,80,4,0),COLOR009966;
STICKLINE(C,20,10,4,0),COLORFF6633;
STICKLINE(C,10,0,4,0),COLORFF3333;
趋势线:100-EMA(0.191*REF(研究所4,1)+0.809*研究所4,1),LINETHICK2,COLORBLUE;
【现风险度】:100-EMA(0.191*REF(研究所4,1)+0.809*研究所4,1),CIRCLEDOT,LINETHICK2,COLORRED;
DRAWTEXT(CURRBARSCOUNT=6,5,''),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,15,''),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,30,''),COLORFFC000;
DRAWTEXT(CURRBARSCOUNT=6,50,''),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,75,''),COLORFFC000;
DRAWTEXT(CURRBARSCOUNT=6,85,''),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=6,95,''),COLORWHITE;