敌人动静:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF,LINETHICK2;
VAR1:=MA(LOW,1);
VAR2:=MA(HIGH,2);
VAR3:=MA(CLOSE,2);
VAR4:=(VAR3-LLV(VAR1,9))/(HHV(VAR2,9)-LLV(VAR1,9))*100;
VAR5:=SMA(VAR4,3,1);
VAR6:=(HHV(VAR2,9)-VAR3)/(HHV(VAR2,9)-LLV(VAR1,9))*100;
VAR7:=SMA(VAR6,3,1);
牛:SMA(VAR5,3,1),COLORLIRED;
STICKLINE(牛-VAR7>1 AND 敌人动静>80,98,100,6,0),COLORRED;
STICKLINE(VAR7-牛>-40 AND 敌人动静<80,2,0,6,0),COLORGREEN;
警戒线:80,COLORLIGREEN;
信号线:9,COLOR00FFFF;
STICKLINE(敌人动静<6,敌人动静,6,6,0),COLORBLUE;
买点: DRAWICON(REF(敌人动静,1)<4 AND 敌人动静-REF(敌人动静,1)>1,20,1);
卖点: DRAWICON(crOSS(警戒线,敌人动静) AND EVERY(REF(敌人动静,1)>80,5),91,2);
DRAWTEXT(CROSS(信号线,敌人动静),20,'有动静')COLORWHITE;
DRAWTEXT(CROSS(60,敌人动静),60,'下拐')COLORGREEN;
DRAWTEXT(CROSS(敌人动静,20),20,'上拐')COLORYELLOW;
DRAWTEXT(CROSS(敌人动静,80),80,'纠错买入')COLORWHITE;