飞狐个股领先大盘副图指标
源码
N1:=5;N2:=10;
Var1:=EMA(CLOSE,N1)/EMA(CLOSE,N2); Var2:=EMA(INDEXC,N1)/EMA(INDEXC,N2); Var3:=EMA(VOL,N1)/EMA(VOL,N2); Var4:=EMA(INDEXV,N1)/EMA(INDEXV,N2); GD:(Var1/Var2-1)*1000, COLORSTICK; GD1:GD;