X_1:=(2*CLOSE+HIGH+LOW)/4;
X_2:=(HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-LLV(LOW,24))*100;
X_3:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
X_4:=EMA((X_1-LLV(LOW,26))/(HHV(HIGH,34)-LLV(LOW,26))*100,16);
红色主力:=SMA(SMA(X_3,2,1)+3,2,1);
紫色跟风:=EMA(X_4,4);
绿色散户:=SMA(X_2,3,1);
TJ:=红色主力-绿色散户>80;
XG:FILTER(TJ,40);