VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
VAR3:=SMA(VAR2,2,1);
英雄:SMA(VAR3,2,1),COLORRED,LINETHICK2;
{ _最新股票指标公式}
天罗:100+(-Abs(VAR1)),COLORYELLOW,LINETHICK2;
地网:ABS(VAR1),LINETHICK2;
牛熊分界:50,COLOR0BFFFF,POINTDOT;
弱:20,COLOR80FFFF,POINTDOT;
强:80,COLOR0BFFFF,POINTDOT;
DRAWTEXT(crOSS(英雄>=天罗,1),英雄,'·'),LINETHICK4,COLORGREEN;
DRAWTEXT(CROSS(英雄>=地网,1),英雄,'·'),LINETHICK4,COLORGREEN;
DRAWICON(CROSS(英雄,弱),弱-0.10,9);
DRAWICON(CROSS(英雄,牛熊分界),牛熊分界-0.10,9);
DRAWICON(CROSS(英雄,强),强-0.10,9);