仓位参考,红买绿卖,根据综合判断直接给出买卖源码下载:
仓位参考,红买绿卖,根据综合判断直接给出买卖
vxp:=v*(c+l+h)/3;
ns:=if(barscount(c)>=8,8,barscount(c));
srt:=sum(vxp,ns)/sum(v,ns),colorwhite,nodraw;
//{bs:=if(c>=srt,srt,drawnull),linethick2,coloryellow,nodraw;}
//{ss:=if(c<srt,srt,drawnull),linethick2,colorblue,nodraw;}
nm:=if(barscount(c)>=48,48,barscount(c));
mid:=sum(vxp,nm)/sum(vol,nm),colorwhite,nodraw;
//{bm:=if(c>=mid,mid,drawnull),linethick2,colorred,nodraw;}
//{sm:=if(c<mid,mid,drawnull),linethick2,colorgreen,nodraw;}
midp:=c>=mid,nodraw;
midn:=c<mid,nodraw;
srtp:=c>=srt,nodraw;
srtn:=c<srt,nodraw;
msrt:=ma(srt,3),nodraw;
dmsrtp:=msrt>ref(msrt,1);
dmsrtn:=msrt<=ref(msrt,1);
lmidp:=llv(midp,4)>0;
sarz:=sar(4,2,20),colorwhite,nodraw;
sarp:=c>=sarz,nodraw;
sarn:=c<sarz,nodraw;
nj:=30;
aj:=abs((2*c+h+l)/4-ma(c,nj))/ma(c,nj);
jaxz:=dma((2*c+l+h)/4,aj),linethick2,coloryellow,nodraw;
cc:=(c/jaxz);
maj:=ma(cc*(2*c+h+l)/4,3);
maaj:=((maj-jaxz)/jaxz)/3;
jtmp:=(maj-maaj*maj),linethick2,colorred,nodraw;
jaxp:=jtmp>jaxz,nodraw;
jaxn:=jtmp<=jaxz,nodraw;
dif_:=(ema(c,12)-ema(c,26)),color666666;
dea_:=ema(dif_,9);
macd_:=(dif_-dea_)*2,colorstick;
macdp:=macd_>ref(macd_,1);
macdn:=macd_<ref(macd_,1);
macdsrtn:=(ref(macdn,1) or srtn);
macdnn:=(macdn and macdsrtn);
lc:=ref(c,1);
rsi2:=sma(max(c-lc,0),12,1)/sma(abs(c-lc),12,1)*100;
a11:=if(c>o and v>ref(v,1),2,0);
a12:=if(c>o and v<ref(v,1),1,0);
a13:=if(c<o and v>ref(v,1),-2,0);
a14:=if(c<o and v<ref(v,1),-1,0);
a15:=a11+a12+a13+a14;
sum5:=0.2*hhv(macd_,240)*sum(a15,5),colorff6666;
sum5z:=10*sum(a15,5),colorff6666;
asum5:=sum(a15,5),color9933cc;
linen4:=0.2*hhv(macd_,240)*(-4),colorff00aa;
n3p5:=asum5>ref(asum5,1) and ref(asum5,1)<-3.5;
asum520:=asum5>0 and (asum5<ref(asum5,1))=0 and (ref(asum5,1)>0)=0;
sum5p:=asum5>ref(asum5,1);
sum5n:=asum5<=ref(asum5,1);
sl1:=(dmsrtn and srtn),linethick2,colorffff00;
sl2:=(jaxn and sarn),linethick2,colorblue;
sl3:=(sl1 or sl2),linethick2,colorffff00;
sll:=(midp and lmidp and sl3),linethick2,colorffff00;
by1:=(midn and dmsrtp and srtp and ref(srtn,1)),linethick2,colorff0080;
by2:=(midn and macdp and n3p5),linethick2,colorred;
by3:=(by1 or by2);
barc:=barscount(c),nodraw;
dts:=hhvbars(sum5n,barc),nodraw;
dtby:=hhvbars(by3>0,barc),nodraw;
by4:=(dts>=dtby and dtby>0),colorgreen;
by5:=(by4 or by1 or by2),linethick2,color4080ff;
byy:=(midn and by5);//www.goodgongshi.com
brsi:=(rsi2>=21 and ref(rsi2,1)<=21),colorred;
brsid:=ref(brsi,1);
dtsr:=hhvbars(macdnn,barc),nodraw;
dtbr:=hhvbars(brsid>0,barc),nodraw;
byr1:=(dtsr>=dtbr and dtbr>0),colorgreen;
byr2:=(byr1 or brsi or brsid),linethick2,color4080ff;
bybyr:=(midn and byr2),linethick2,color4080ff;
byby:=(byy or bybyr),linethick3,color000080;
midx:100*(midp+byby-sll),colorwhite;
if(midx=100,100,drawnull),linethick3,colorred;
if(midx=0,0,drawnull),linethick3,colorgreen;
if(bybyr=1,100,drawnull),linethick3,colorff00aa;
drawicon(brsi=1 and ref(bybyr,1)=0,5,38);
l25:25,dotline,color63819c;
l50:50,dotline,color4e78b1;
l75:75,dotline,color2854d7;
l100:100,dotline,colorred;
brx:=hhv(brsi,3),nodraw;
amt:(amount/1000000)>3,nodraw;
serx:(brx and amt),nodraw;
上一指标公式:多空强弱转换,显示空渐弱→多渐强的过程下载
下一指标公式:动态盈亏筹码全掌控下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文仓位参考,红买绿卖,根据综合判断直接给出买卖下载仅供学习研究。