VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
VAR4:=SMA((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70,9,1)+100;
VAR5:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR6:=SMA(SMA(VAR5,3,1),3,1)+100;
VAR7:=VAR6-VAR4;{}
中线持有:EMA((VAR1-VAR2)/(VAR3-VAR2)*100,15),COLORBLUE;
中线出货:EMA(0.667*REF(中线持有,1)+0.333*中线持有,3),COLORRED;
STICKLINE(中线持有-中线出货>0,中线持有,中线出货,3,0),COLORRED;
STICKLINE(中线持有-中线出货<0,中线持有,中线出货,5,0),COLORCYAN;