同花顺市场能量指标 测算交易风险副图指标 源码介绍
同花顺市场能量指标 测算交易风险副图指标 源码
红色箭头: 可以逢低介入,风险较低
绿色箭头: 风险正在累积,可减仓
空仓: 顶部风险,可售出
VAR1:0.5*LN(VOL)*(LN(CLOSE)-LN(REF(CLOSE,1)))*(LN(CLOSE)-LN(REF(CLOSE,1)));coloryellow,Linthick2;
VAR2:0.5*LN(MA(VOL,10))*(LN(MA(CLOSE,10))-LN(REF(CLOSE,1)))*(LN(MA(CLOSE,10))-LN(REF(CLOSE,1))),colorligreen,Linthick2;
高位:0.075,COLORFFFF00;
中位:0.048,colorgray;
低位:0.001,colormagenta;
DRAWTEXT(VAR1>0.075,VAR1,'空仓'),colorgreen,Linthick1;
DRAWICON(VAR1<0.01 AND (VAR1<0.0001 OR CROSS(VAR1,VAR2)),VAR1,1);
DRAWICON((VAR1<0.075 AND VAR1>0.048) OR CROSS(VAR2,VAR1),VAR1,2);
gd46615