以下是一些常见的主力暗中建仓选股公式:
公式一
plaintext
量比:=vol/ma(vol,20);
温和放量:=量比>1.5 and 量比<3;
obvma5:=ma(obv,5);
obv走强:=obv>obvma5 and obv>ref(obv,1);
ma20e:=ma(c,20);
qsdw:=ma20e + 1.5*std(c,20);
qsdw2:=ma20e - 1.5*std(c,20);
xtzd:=c>qsdw2 and c<qsdw;
换手率:=vol/capital*100;
换手率递增:=换手率>ref(换手率,1);
主力暗中建仓:温和放量 and obv走强 and xtzd and every(c<ma(c,60),20) and 换手率递增;
公式二
plaintext
zbcl:=vol/ma(vol,20);
zbcl1:=zbcl>1.5 and zbcl<3;
zbcl2:=ma(obv,5);
zbcl3:=obv>zbcl2 and obv>ref(obv,1);
zbcl4:=ma(c,20);
zbcl5:=zbcl4 + 1.5*std(c,20);
zbcl6:=zbcl4 - 1.5*std(c,20);
zbcl7:=c>zbcl6 and c<zbcl5;
zbcl8:=vol/capital*100;
zbcl9:=zbcl8>ref(zbcl8,1);
主力暗中建仓:zbcl1 and zbcl3 and zbcl7 and every(c<ma(c,60),20) and zbcl9;
公式三
plaintext
cta_pjj:=(2*close+high+low)/4;
cta_dnzb:=ema((cta_pjj-llv(low,34))/(hhv(high,34)-llv(low,34))*100,13);
cta_pfdn:=ema(0.667*ref(cta_dnzb,1)+0.333*cta_dnzb,2);
cta_qcz:=cta_pjj-llv(low,34);
cta_bdfd:=hhv(high,34)-llv(low,34);
cta_dnbl:=cta_qcz/cta_bdfd*100;
cta_edn8:=ema(cta_dnbl,8);
cta_en5:=ema(cta_edn8,5);
cta_ml:=ema(cta_pfdn,5);
金叉信号:=cross(cta_edn8, cta_en5);
趋势向上:=cta_ml>=ref(cta_ml,1);
低位区域:=cta_ml<50;
主力建仓信号:filter(金叉信号 and 趋势向上 and 低位区域, 5);
公式四
plaintext
cb80:=ema(((cost(99.3)+cost(70.7))/2+cost(85))/2,13);
cb66:=ema(((cost(99)+cost(33))/2+cost(66))/2,13);
cb:=ema((((cost(80.9)+cost(19.1))/2+(cost(61.8)+cost(38.2))/2)/2+cost(50))/2,13);
cb6:=ema(((cost(6)+cost(16))/2+cost(11))/2,13);
shangxia:=if((c-cb6)<0,1,0);
macb80:=ma(cb80,13);
macb66:=ma(cb66,13);
macb:=ma(cb,13);
macb6:=ma(cb6,13);
ma向上:=if((macb80>ref(macb80,5) or macb66>ref(macb66,5) or macb>ref(macb,5)) or macb6>ref(macb6,5),1,0);
主力建仓:=if(c>cb6 and sum(shangxia,220)>20 and (c/hhv(c,700)<0.5 or c/llv(c,700)<1.7) and ma向上,sum(shangxia,220),0);
a型建仓:=if(主力建仓>0 and sum(主力建仓,400)>88,sum(主力建仓,400),0);
xg:ref(a型建仓,1)=0 and a型建仓>0;
公式五
plaintext
n1:=34;
n2:=9;
n3:=3;
x1:=100*(hhv(high,n1)-close)/(hhv(high,n1)-llv(low,n1));
var1:=100*(hhv(high,n2)-close)/(hhv(high,n2)-llv(low,n2));
var2:=100*(hhv(high,n3)-close)/(hhv(high,n3)-llv(low,n3));
var3:=var1-x1;
var4:=x1-var1;
stickline(var3<0,0,var4,2.5,0),colorred;
主力暗中建仓:var4,colorred,nodraw;
stickline(var4<0,0,var3,1,1),colorffffff;
主力暗中对倒:var4<0,colorffffff;
var5:=dynainfo(5);
var6:=if(high<var5,0,if(low>var5,1,(var5-high+0.009)/(low-high+0.009)));
a:=close*1.1;
b:=close*0.9;
b1:=100*(winner(a)-winner(b));
cmsd:=100-b1;
c1:=ma(close,13)<ref(ma(close,13),1);
d1:=if(close>1000,cross(var6,22),cross(var6,24));
stickline(cmsd>65 and c1,cmsd-88,0,2,0),colorff00ff;
强庄建仓:cmsd>65 and c1,colorff00ff;
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。振兴配资-配资炒股门户网站-配资股票-国内十大杠杆炒股平台提示:文章来自网络,不代表本站观点。