N1:=8;N2:=20;N3:=50;
sg:EMA(HHV(H,1),8),colorgray;
x1:EMA(CLOSE,N1),coloryellow;
JJ:=(H+L+3*C)/5;
Var21:=EMA(JJ,5);Var22:=EMA(JJ,13);Var23:=EMA(JJ,21);Var24:=EMA(JJ,34);h1a:=(var21+var22+var23+var24)/4;
成本和谐:MA(h1a,5),colorred,linethick2;
X6:EMA(X1,N3*3),colorwhite,CIRCLEDOT,linethick2;
X7:EMA(X1,N3*5),colorgray,linethick4;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
ll:=LLV(C,100),colorgray;
X11:STICKLINE(成本和谐 REF(成本和谐,1) , 成本和谐*0.998,成本和谐*1.002,8,0),colorred,linethick2;
x30:=x1 REF(x1,1) AND C
X31:STICKLINE(sg REF(sg,1) OR x30, sg*0.998,sg*1.004,8,0),colorblue,linethick3;
X21:STICKLINE(成本和谐 REF(成本和谐,1) , 成本和谐*0.998,成本和谐*1.002,8,0),colorgray,linethick4;
X66:EMA(X1,N3*3),colorgreen,CIRCLEDOT;
tj:=IF((C-REF(C,1))/REF(C,1) 0.025,1,0);
STICKLINE(C REF(O,BARSLAST(tj =1)),REF(O,BARSLAST(tj =1)),REF(O,BARSLAST(tj =1)),10,0),colorgreen;