{跟庄上车--副图}
HGW1:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
HGW2:=(EMA(HGW1,3)-50)*5;
HGW3:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
HGW4:=SMA(HGW3,10,1);
HGW5:=SMA(HGW4,5,1);
HGW6:=EMA(HGW4,2);
HGW7:=EMA(HGW5,2);
HGW8:=HGW6+HGW7;
HGW9:=(HGW8-REF(HGW8,1))*10;
HGW10:=HGW8+HGW9;
HGW11:=HGW9;
HGW12:=HGW11>69;
HGW13:=COUNT(HGW2>40,2)>0;
HGW14:=HGW12 AND HGW13;
跟庄上车:=REF(HGW14,1)=0 AND HGW14;
STICKLINE(跟庄上车,0,2,2,0),COLORFF00FF;
STICKLINE(跟庄上车,2,2.2,2,1),COLORFF00FF;
DRAWICON(跟庄上车,2.15,17);
DRAWTEXT(跟庄上车,1.6,' ★跟庄'),COLOR00FFFF;
DRAWTEXT(跟庄上车,1.2,' ★上车'),COLOR00FFFF;