私暮公式
私暮变化
pRef:=(MA(C,3)+MA(C,5)+MA(C,10)+C)*0.25;
中散比1:=IF(pRef>100,MAX(0,4*(1-log(pRef)+2.01)),IF(pRef>10,MAX(0,5*(1-log(pRef)+2.01)),
MAX(0,5*(1-log(pRef)+2.01))/(log(pRef)*log(pRef)+0.0001)));
中散比2:=IF(pRef>100,MAX(0,1.5*(1-log(pRef)+2.01)),IF(pRef>30,MAX(0,2*(1-log(pRef)+2.01)),
IF(pRef>10,MAX(0,2.5*(1-log(pRef)+2.01)),
MAX(0,2.5*(1-log(pRef)+2.01))/(log(pRef)*log(pRef)+0.0001))));
中散比3:=IF(pRef>10,MAX(0,0.8*(1-log(pRef)+2.01)),
MAX(0,0.8*(1-log(pRef)+2.01))/(log(pRef)*log(pRef)+0.0001));
中散:=selfdata('1k')+selfdata('1w')+MIN(selfdata('5w'),中散比1)+MIN(selfdata('10w'),中散比2)+MIN(selfdata('50w'),中散比3);
中散户数:=selfdata('1k户数')+selfdata('1w户数')+INTPART(selfdata('5w户数')*MIN(selfdata('5w'),中散比1)/selfdata('5w'))
+INTPART(selfdata('10w户数')*MIN(selfdata('10w'),中散比2)/selfdata('10w'))
+INTPART(selfdata('50w户数')*MIN(selfdata('50w'),中散比3)/selfdata('50w'));
私暮:=100-selfdata('券基')-selfdata('法人')-中散;
私暮日:私暮-ref(私暮,1),color3d;
私暮户数:=selfdata('普通户数')-中散户数;
-5,dotline;
-2,dotline,colorred;
2,dotline,colorred;
5,dotline;
私暮持仓
pRef:=(MA(C,3)+MA(C,5)+MA(C,10)+C)*0.25;
中散比1:=IF(pRef>100,MAX(0,4*(1-log(pRef)+2.01)),IF(pRef>10,MAX(0,5*(1-log(pRef)+2.01)),
MAX(0,5*(1-log(pRef)+2.01))/(log(pRef)*log(pRef)+0.0001)));
中散比2:=IF(pRef>100,MAX(0,1.5*(1-log(pRef)+2.01)),IF(pRef>30,MAX(0,2*(1-log(pRef)+2.01)),
IF(pRef>10,MAX(0,2.5*(1-log(pRef)+2.01)),
MAX(0,2.5*(1-log(pRef)+2.01))/(log(pRef)*log(pRef)+0.0001))));
中散比3:=IF(pRef>10,MAX(0,0.8*(1-log(pRef)+2.01)),
MAX(0,0.8*(1-log(pRef)+2.01))/(log(pRef)*log(pRef)+0.0001));
中散:=selfdata('1k')+selfdata('1w')+MIN(selfdata('5w'),中散比1)+MIN(selfdata('10w'),中散比2)+MIN(selfdata('50w'),中散比3);
中散户数:=selfdata('1k户数')+selfdata('1w户数')+INTPART(selfdata('5w户数')*MIN(selfdata('5w'),中散比1)/selfdata('5w'))
+INTPART(selfdata('10w户数')*MIN(selfdata('10w'),中散比2)/selfdata('10w'))
+INTPART(selfdata('50w户数')*MIN(selfdata('50w'),中散比3)/selfdata('50w'));
私暮:100-selfdata('券基')-selfdata('法人')-中散,colorred;
私暮户数:selfdata('普通户数')-中散户数,linethick0;
私暮户数
pRef:=(MA(C,3)+MA(C,5)+MA(C,10)+C)*0.25;
中散比1:=IF(pRef>100,MAX(0,4*(1-log(pRef)+2.01)),IF(pRef>10,MAX(0,5*(1-log(pRef)+2.01)),
MAX(0,5*(1-log(pRef)+2.01))/(log(pRef)*log(pRef)+0.0001)));
中散比2:=IF(pRef>100,MAX(0,1.5*(1-log(pRef)+2.01)),IF(pRef>30,MAX(0,2*(1-log(pRef)+2.01)),
IF(pRef>10,MAX(0,2.5*(1-log(pRef)+2.01)),
MAX(0,2.5*(1-log(pRef)+2.01))/(log(pRef)*log(pRef)+0.0001))));
中散比3:=IF(pRef>10,MAX(0,0.8*(1-log(pRef)+2.01)),
&nb
|