源码
{玄黄机构多空 M=10,M1=90}
Var1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;
机构做空能量线: SMA(Var1,3,1),colorgreen,,linethick2;
Var2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
机构做多能量线: SMA(Var2,5,1)-8,colorred,,linethick2;
LH: M,POINTDOT;
LH1: M1,POINTDOT;
DRAWICON( FILTER(cross(机构做多能量线,LH1),30),机构做多能量线,1 );
DRAWICON( FILTER( cross(LH,机构做多能量线),30),机构做多能量线 ,2 );
DRAWTEXT(cross(机构做多能量线,LH) ,LH+10,'风险加大');
DRAWTEXT(cross(LH1,机构做多能量线) ,LH1+10,'机遇来临')