飞狐邱氏红绿源码副图指标
源码
Var1:=(EMA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16))/3;
Var2:=(EMA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/3;
Var3:=(EMA(CLOSE,9)+MA(CLOSE,18)+MA(CLOSE,36))/3;
Var4:=(EMA(CLOSE,13)+MA(CLOSE,26)+MA(CLOSE,52))/3;
Var5:=(EMA(CLOSE,18)+MA(CLOSE,36)+MA(CLOSE,72))/3;
Var6:=(EMA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/3;
Var7:=(Var1-Var2)/Var2*100;
Var8:=(Var1-Var3)/Var3*100;
Var9:=(Var1-Var4)/Var4*100;
邱氏:红买绿卖: 2*(Var8-Var7), COLORSTICK;
VarA:=IF(邱氏:红买绿卖>0,邱氏:红买绿卖,0);
VarB:=IF(邱氏:红买绿卖<0,邱氏:红买绿卖,0);
VarC:=EMA(VarA,13);
VarD:=EMA(VarB,16);
多头力度: VarA;
正离差均线: VarC;
负离差均线: VarD;
弱控盘: IF(多头力度<=正离差均线,邱氏:红买绿卖,0), LINESTICK;
空头力度: VarB;