Var2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*Var1;
Var3:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1)*100*Var1;
Var4:=Var2-Var3;
Var5:=(OPEN-REF(CLOSE, 1))/REF(CLOSE, 1)*100*Var1;
Var6:=(INDEXO-REF(INDEXC, 1))/REF(INDEXC, 1)*100*Var1;
Var7:=Var5-Var6;
STICKLINE(Var4 =0, SUM(REF(Var4, 1), 0)+100+Var7, SUM(Var4, 0)+100, 6, 0), COLORRED;
STICKLINE(Var4 0, SUM(REF(Var4, 1), 0)+100+Var7, SUM(Var4, 0)+100, 6, 0), COLOR00FF00;
ema(SUM(REF(Var4, 1), 0)+100+Var7,5),colorwhite;
ema(SUM(REF(Var4, 1), 0)+100+Var7,10),colorff00ff;
ema(SUM(REF(Var4, 1), 0)+100+Var7,20),coloryellow;
ema(SUM(REF(Var4, 1), 0)+100+Var7,30),colorffff33;
ema(SUM(REF(Var4, 1), 0)+100+Var7,60),color0099ff;
可以代替K线,均线粘合选股