大智慧分时博弈 源码
分时博弈 源码 图
“分时博弈”指标,没见源码,偶放个源码。希望大家喜欢。需要L2行情
分时博弈
variable:特大单比例=0,大单比例=0,中单比例=0,小单比例=0;
特大单比例:if(count(c,0)<=1,0,sum((ordervol(1,3)-ordervol(2,3)),0)/sum(ordervol(1,0),0)*100),color0000ff;
大单比例:if(count(c,0)<=1,0,sum((ordervol(1,2)-ordervol(2,2)),0)/sum(ordervol(1,0),0)*100)-if(count(c,0)<=1,0,sum((ordervol(1,3)-ordervol(2,3)),0)/sum(ordervol(1,0),0)*100),coloryellow;
中单比例:if(count(c,0)<=1,0,sum((ordervol(1,1)-ordervol(2,1)),0)/sum(ordervol(1,0),0)*100)-if(count(c,0)<=1,0,sum((ordervol(1,2)-ordervol(2,2)),0)/sum(ordervol(1,0),0)*100),colorgray;
小单比例:if(count(c,0)<=1,0,sum((ordervol(1,0)-ordervol(1,1))-(ordervol(1,0)-ordervol(2,1)),0)/sum(ordervol(1,0),0)*100);
0,dotline;