{私募机构职业操盘}
魔鬼趋势顶线:sma(amount/vol/100,13,1)*1.15,coloryellow,linethick2;
魔鬼趋势底线:sma(amount/vol/100,13,1)*0.85,colorgreen,linethick2;
市场持股成本:dma(amount/v/100,v/capital),colorred;
aa:=v>ref(v,1) and cross(c,ma(c,10)) and ma(c,10)>ref(ma(c,10),1);
drawicon(filter(aa,3),l,1);
bb:=v>ref(v,1) and cross(c,ma(c,20)) and ma(c,20)>ref(ma(c,20),1);
drawicon(filter(bb,3),l,2);
cc:=v>ref(v,1) and cross(c,ma(c,30)) and ma(c,30)>ref(ma(c,30),1);
drawicon(filter(cc,3),l,3);
dd:=v>ref(v,1) and cross(c,ma(c,60)) and ma(c,60)>ref(ma(c,60),1);
drawicon(filter(dd,3),l,4);
ee:=v>ref(v,1) and cross(c,ma(c,90)) and ma(c,90)>ref(ma(c,90),1);
drawicon(filter(dd,3),l,6);
drawicon(cross(c,市场持股成本),l-0.20,1),align1;
diff:=ema(close,12) - ema(close,26);
dea:=ema(diff,9);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
a2:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));
b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
drawicon(b1>0,l-0.20,5);
drawtext(b1,l-0.30,'macd底背'),colorwhite,align1;
drawicon(b2>0,l-0.20,4),align1;
drawtext(b2,l-0.30,'kdj底背'),colorff00ff,align1;
drawicon(b3>0,l-0.20,3),align1;
drawtext(b3,l-0.30,'rsi底背'),coloryellow,align1;
drawicon(cross(diff,dea) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),l-0.20,6),align1;
drawtext(cross(diff,dea) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),l-0.30,'金叉共振'),color0099ff,align1;
aa:=o>ref(c,1) and v>ref(v,1) and cross(c,ma(c,10));drawicon(aa,l,1);
bb:=o>ref(c,1) and v>ref(v,1) and cross(c,ma(c,20));drawicon(bb,l,2);
cc:=o>ref(c,1) and v>ref(v,1) and cross(c,ma(c,30));drawicon(cc,l,3);
dd:=o>ref(c,1) and v>ref(v,1) and cross(c,ma(c,60));drawicon(dd,l,4);
ee:=o>ref(c,1) and v>ref(v,1) and cross(c,ma(c,90));drawicon(dd,l,6);
{以下显示叠加指针的数值}
k:"kdj.k",linethick,colorwhite;
d:"kdj.d",linethick0,coloryellow;
r1:"rsi.rsi1",linethick0,colorc080ff;
r2:"rsi.rsi2",linethick0,colorff8080;
r3:"rsi.rsi3",linethick0,color87f8f4;
f:"macd.diff",linethick0,color72c072;
a:"macd.dea",linethick0,colore98210;
m:"macd.macd",linethick0,colorwhite;
{以下定义叠加区间(在这里是可见k线的范围)}
q:=sysparam(3)-sysparam(2);
p:=sysparam(3);
{以下计算叠加比和叠加平移量}
{1、叠加字段高度}
kh:=hhv(h,q);
kl:=llv(l,q);
dh:=hhv(max(k,d),q);
dl:=llv(min(k,d),q);
mh:=hhv(max(f,a),q);
ml:=llv(max(f,a),q);
rh:=hhv(max(max(r1,r2),r3),q);
rl:=llv(min(min(r1,r2),r3),q);
{2、叠加比}
bd:=(kh-kl)/(dh-dl)/3;
bm:=(kh-kl)/(mh-ml)/3;
br:=(kh-kl)/(rh-rl)/3;
{3、叠加平移量}
wk:=(kh-kl)/3;
wd:=(kh+kl-(dh+dl)*bd)/2-wk[p];
wm:=(kh+kl-(mh+ml)*bm)/2;
wr:=(kh+kl-(rh+rl)*br)/2+wk[p];
{以下画叠加线}
partline(1,k*bd[p]+wd[p]),colorwhite;
partline(1,d*bd[p]+wd[p])coloryellow;
partline(1,r1*br[p]+wr[p]),colorc080ff;
partline(1,r2*br[p]+wr[p]),colorff8080;
partline(1,r3*br[p]+wr[p]),color87f8f4;
partline(1,f*bm[p]+wm[p]),color72c072;
partline(1,a*bm[p]+wm[p]),colore98210;
stickline(m>0,m*bm[p]+wm[p],wm[p],0.1,0),pointdot,colormagenta;
stickline(m<0,m*bm[p]+wm[p],wm[p],0.1,0),pointdot,colorgreen;
{以下画叠加指针的横坐标线}
partline(1,wm[p]),colorwhite;
partline(1,20*br[p]+wr[p]),colorgreen,pointdot;
partline(1,80*br[p]+wr[p]),colorred,pointdot;
partline(1,50*br[p]+wr[p]),coloryellow,pointdot;
partline(1,20*bd[p]+wd[p]),colorgreen,pointdot;
partline(1,80*bd[p]+wd[p]),colorred,pointdot;
partline(1,50*bd[p]+wd[p]),coloryellow,pointdot;
{以下显示叠加指针的横坐标值}
drawtext(p=barpos,(80*br[p]+wr[p])*1.015,'80\nrsi')colorwhite,align0;
drawtext(p=barpos,(50*br[p]+wr[p])*1.015,'50\nrsi')colorwhite,align0;
drawtext(p=barpos,(20*br[p]+wr[p])*1.015,'20\nrsi')colorwhite,align0;
drawtext(p=barpos,(20*bd[p]+wd[p])*1.015,'20\nkdj')colorwhite,align0;
drawtext(p=barpos,(50*bd[p]+wd[p])*1.015,'50\nkdj')colorwhite,align0;
drawtext(p=barpos,(80*bd[p]+wd[p])*1.015,'80\nkdj')colorwhite,align0;
drawtext(p=barpos,wm[p]*1.015,'0\nmacd')colorwhite,align0;a:=backset(islastbar,barslast(cross(k,d))+1);
上一指标公式:虾公擒龙公式 飞狐虾公擒龙指标 源码
下一指标公式:主力买卖比-公式 飞狐主力买卖指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文私募机构职业操盘公式 飞狐私募机构指标 源码仅供学习研究。