源码
N:=30;N2:=25;
Var1:=1;
多空资金: 0, ,;
Var2:=AMOUNT/VOL/100;
Var3:=(EMA(Var2,3)+EMA(Var2,6)+EMA(Var2,12)+EMA(Var2,24))/4;
Var4:=MA(CLOSE,N);
Var5:=MA(CLOSE,N2);
Var6:=Var5+2.6*STDP(CLOSE,N);
多方资金: ((Var6-Var4)/Var4*100-3)*Var1, , ;
空方资金: ((Var6-Var3)/Var3*100-3)*Var1, , ;
STICKLINE(多方资金>空方资金,-5,0,2,1), , ;
STICKLINE(多方资金<空方资金,-5,0,0.8,1), , ;
-8;
-5;
DRAWICON(CROSS(多方资金,空方资金),空方资金,1);