大智慧机构能量副图指标
源码
做多能量线: SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3;
做空能量线: SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;
20,pointdot,colorf00ff0;
50,pointdot,colorgreen;
80,pointdot,colorwhite;
=============================================================================================
{机构能量X}
VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线: SMA(VAR1,3,1),COLORGREEN;
VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
机构做多能量线: SMA(VAR2,5,1)-8,COLORRED;
多头警戒:80;空头警戒:90;多空平衡:50;超跌:5;
DRAWICON(CROSS(机构做多能量线,80),70,2);
DRAWICON(CROSS(机构做空能量线,90),85,1);
DRAWICON(CROSS(5,机构做多能量线),10,1);
DRAWICON(CROSS(5,机构做空能量线),10,2);