有一段时间没发帖了,为祝福女儿生日快乐!
特发
斋主交响乐主图源码和附件。
说明主要源码来自,特向论坛上的老师表示感谢!
不想用源码的朋友可下载附件导入吧,感谢您的顶帖!
玄:=1+(barslast(year!=ref(year,1) or datetoday(date)=1));
悟斋:=if(period=5,玄,drawnull);
主:=llv(l,悟斋);
底:const(主),nodraw,color00ff00;
rc:=底;
{macd}
diff:=ema(close,12)-ema(close,26),colorblack;
diffa:=(rc+diff*3);
dea:=ema(diff,9),colormagenta;
deaa:=(rc+dea*3);
lc:=ref(c,1);
ma5:=ma(c,5);
k:=barslast(currbarscount=250);
高1:=const(if(islastbar=1,hhv(h,k),0));
低0:=const(if(islastbar=1,llv(l,k),0)),color00ff00;
kj:=高1-低0;
gd4:=if(currbarscount<=250/2,高1,drawnull);
高压:=if(1=1,低0+kj*0.873,drawnull),color0000ff,nodraw;
压力:=if(1=1,低0+kj*0.809,drawnull),colorff00ff,nodraw;
上中:=if(1=1,低0+kj*0.618,drawnull),colormagenta,nodraw;
中线:=if(1=1,低0+kj/2,drawnull),colorcccccc,pointdot;
下中:=if(1=1,低0+kj*0.382,drawnull),colormagenta,nodraw;
支撑:=if(1=1,低0+kj*0.191,drawnull),colorffaa00,nodraw;
超跌:=if(1=1,低0+kj*0.127,drawnull),colorffaa00,;
stickline(1=1,gd4,高压,10,0),color330000;
stickline(1=1,高压,压力,10,0),coloraa0000;
stickline(1=1,压力,上中,10,0),color990000;
stickline(1=1,上中,下中,10,0),color770000;
stickline(1=1,下中,支撑,10,0),color550000;
stickline(1=1,支撑,低0,10,0),color110000;
macd:=(diff-dea)*4;
stickline(macd>0,rc,rc+macd,1,0),colorred;
stickline(macd<0,rc,rc+macd,1,1),color008000;
stickline(macd>0 and macd<ref(macd,1),rc,rc+macd,1,1),colorff00aa;
stickline(macd<0 and macd>ref(macd,1),rc,rc+macd,1,0),color889900;
hh:=hhv(high,5);
ll:=llv(low,5);
hh1z:=barslast((hh > ref(hh,1)));
ll1z:=barslast((ll < ref(ll,1)));
stickline((hh1z < ll1z),close,open,3,0),colorred;
stickline((hh1z < ll1z),high,low,0,0),colorred;
stickline((hh1z > ll1z),close,open,3,0),colorblue;
stickline((hh1z > ll1z),high,low,0,0),colorblue;
黄金分割中线:if(1=1,低0+kj/2,drawnull),coloryellow,pointdot,linethick4;
卖:ma5*1.1,linethick2,colorgreen;
高:ma5*1.05,linethick1,colorcyan;
中:ma5,linethick2,coloryellow;
低:ma5*0.945,linethick1,colormagenta;
买:ma5*0.88,linethick2,colorred;
stickline(c>lc and c>o,h,h*0.92,0,0),colorffffff;
stickline(c>lc and c>o and c>高,h,h*0.9,0,0),colorffffff;
stickline(1=1,h,l,0,0),colorffffff;
stickline(c<lc and c<o,l,l*1.08,0,0),colorffffff;
stickline(c<lc and c<o and c<低,l,l*1.1,0,0),colorffffff;
if(c>=lc and c>o,h,drawnull),pointdot,linethick9,color000099;
if(c>=lc and c<o,l*0.98,drawnull),pointdot,linethick9,colorff5500;
if(c<=lc and c<o,l,drawnull),pointdot,linethick9,colorff5500;
if(c<=lc and c>o,h*0.995,drawnull),pointdot,linethick9,colorff5500;
if(c<=ma5*0.945,l*1.03,drawnull),pointdot,linethick9,colorffff00;
if(c<=ma5*0.945,l,drawnull),pointdot,linethick9,colorffff00;
if(c<=买 and c<o,l*1.03,drawnull),pointdot,linethick9,color00ff00;
if(c<=买 and c<o,l,drawnull),pointdot,linethick7,color00fa00;
if(c>=ma5*1.05 and l>ma5*0.945,h*0.97,drawnull),pointdot,linethick9,color0000ff;
if(c>=ma5*1.05 and l>ma5*0.945,h,drawnull),pointdot,linethick9,color0000ff;
if(c>=ma5*1.1,h*0.97,drawnull),pointdot,linethick9,color00ccff;
if(c>=ma5*1.1,h,drawnull),pointdot,linethick9,color00ccff;
if(filter(c<ma5*0.945,10),h*1.25,drawnull),pointdot,linethick5,coloraa0000;
if(filter(c<ma5*0.945,10),h*1.25,drawnull),pointdot,linethick3,color00ccff;
drawtext(filter(c<ma5,30),卖,'降调出'),colorgreen;
rsv:=(close - llv(low,18))/(hhv(high,18) - llv(low,18))*100;
kz:=ema(rsv,3);
dz:=ema(kz,3);
jz:=(3*kz-2*dz);
kdj1:=ref(count(jz<ref(jz,1),5)>=3,1) and ref(jz,1)<20;
kdj2:=jz>ref(jz,1);
反转:=if(filter(kdj1 and kdj2,3),50,0),colorred;
var22:=ref(low,1);
var33:=sma(abs(low-var22),3,1)/sma(max(low-var22,0),3,1)*100;
var44:=ema(if(close*1.3,var33*10,var33/10),3);
var55:=llv(low,13);
var66:=hhv(var44,13);
var77:=if(ma(close,34),1,0);
var888:=ema(if(low<=var55,(var44+var66*2)/2,0),3)/618*var77;
var999:=if(var888>100,100,var888);
吸筹:=var999,linethick1,colorcd7f32 ;
hhz:=const(hhv(c,120))*1;
llz:=const(llv(c,120))*1;
hl:=const(if(const((hhz+llz)/2)<const(c),llz-(hhz-llz)*0.4,hhz+(hhz-llz)*0.4));
hh1:=if(const((hhz+llz)/2)>const(c),hhz,hl);
ll1:=if(const((hhz+llz)/2)<const(c),llz,hl);
hlmax:=max(hh1,ll1);
hlmin:=min(hh1,ll1);
hlmn1:=(hlmax+hlmin)/2;
hlmn2:=hlmax-hlmin;
hlmn3:=(100-0)/2;
hlmn4:=100-0;
stickline(吸筹,(0-50)*hlmn2/100+hlmn1,
(var999-50)*hlmn2/100+hlmn1,2,10),colorff00ff;
stickline(jz<=0,(90-50)*hlmn2/100+hlmn1,
(100-50)*hlmn2/100+hlmn1,4,0),coloryellow;
if(反转=50,(50-50)*hlmn2/100+hlmn1,
(0-50)*hlmn2/100+hlmn1),colorred;
k1:(kz-50)*hlmn2/100+hlmn1,colorffffff;
d1:(dz-50)*hlmn2/100+hlmn1,color00ffff;
j1:(jz-50)*hlmn2/100+hlmn1,color00ff00;
a5:=ema(close,12)-ema(close,26);
a6:=ema(a5,9);
a7:=(a5<-0.1 and a5>a6);
财神:if(a7,llv(l,21),drawnull),coloryellow,circledot,linethick5;
var326:=if(close>ref(close,1),88,0);
var327:=if(close/ref(close,1)>1.050 and high/close<1.010 and var326>0, 91, 0);
stickline(var327>90,l*0.99,l*0.94,2,0),colormagenta;
drawtext(var327>90,low*0.93,'升调追涨'),colormagenta;
上一指标公式:盘口-转折点㊣-分时公式 飞狐盘口指标 源码
下一指标公式:副图紫色立柱公式 飞狐立柱紫色指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文斋主交响乐祝女儿生日快乐公式 飞狐生日快乐女儿指标 源码仅供学习研究。