源码
Var1:=(HIGH+LOW+CLOSE)/3;
Var2:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
Var3:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-Var1);
Var4:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
Var5:=IF(HIGH=LOW,1,Var1-MIN(CLOSE,OPEN));
Var6:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
Var7:=Var2*Var6;
Var8:=Var3*Var6;
Var9:=Var4*Var6;
VarA:=Var5*Var6;
STICKLINE(CLOSE>0,0,Var7+VarA,6,0), ,
买入量: Var7+VarA;
STICKLINE(CLOSE>0,(Var8+Var9)*(-1),0,6,0), ,
卖出量:(Var8+Var9)*(-1);
买入10:MA((Var7+VarA),10);
卖出10:MA((Var8+Var9)*(-1),10);
买入30:MA((Var7+VarA),30);
卖出30:MA((Var8+Var9)*(-1),30);