VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=VAR1+HIGH-LOW;
VAR3:=2*VAR1-LOW;
VAR4:=VAR1-HIGH+LOW;
VAR5:=2*VAR1-HIGH;
VAR6:=HIGH<REF(LOW,1) OR LOW>REF(HIGH,1);
VAR7:=CLOSE=HHV(CLOSE,13);
VAR8:=BARSLAST(FILTER(crOSS(0.8,VAR7),2))+1;
VAR9:=REF(CLOSE,VAR8);
VAR10:=CROSS(CLOSE,REF(VAR9,1));
VAR11:=(HIGH+LOW+3*CLOSE+OPEN)/6;
VAR12:=MA(VAR11,7);
VAR13:=MA(VAR11,14);
VAR14:=MA(VAR11,21);
VAR15:=MA(VAR11,28);
VAR16:=MA(VAR11,35);
VAR17:=MA(VAR11,42);
VAR18:=MA(VAR11,49);
VAR19:=MA(VAR11,56);
VAR20:=(7*VAR12+14*VAR13+21*VAR14+28*VAR15+35*VAR16+42*VAR17+49*VAR18+56*VAR19)/252;
沧海行操盘线:=EMA(CLOSE,3),COLORWHITE,LINETHICK1;
XG:CROSS(沧海行操盘线,VAR20);