挑灯看剑论坛发现的狄马克最完整版公式
a:="stsfunc@calstsl"; r1:="stsfunc@sts_risk1"; r2:="stsfunc@sts_risk2"; s1:="stsfunc@sts_sts1"; s2:="stsfunc@sts_sts2"; tbs:="stsfunc@sts_stsbs"; dn:="stsfunc@sts_stsdn"; up:="stsfunc@sts_stsup"; 压力位:up,linethick0,color0000ff,precis2; 支撑位:dn,linethick0,color00ff00,precis2; 警示位:if(r1<>0,abs(r1),if(r2<>0,abs(r2),0)),linethick0,colorff00ff,precis2; {ma5:ma(close,5),colorffffff,precis2; ma10:ma(close,10),color00ffff,precis2; ma20:ma(close,20),colorff00ff,precis2; ma30:ma(close,30),color00ff00,precis2; ma60:ma(close,60),coloraaaaaa,precis2; ma120:ma(close,120),colorff0000,precis2;} stickline(if(strfind(stkname,'s',1)=0,close>=ref(close,1)*1.0985 and close=high,close>=ref(close,1)*1.0490 and close=high),close,open,8,0),color00ffff; stickline(close>=ref(close,1)*1.07 and (c<>h or c<=ref(c,1)*1.098),close,open,8,0),colorffffff; stickline(strfind(stkname,'s',1)=0 and close>ref(close,1)*1.05 and close<ref(close,1)*1.07,close,open,8,0),colorffd0ff; stickline(if(strfind(stkname,'s',1)=0,close<ref(close,1)*0.9015 and close=low,close<ref(close,1)*0.9515 and close=low),close,open,8,0),colorff0000; 流通:=intpart(finance2(37)/1000*c)/10; 市盈:=intpart(dynainfo(39)*10)/10; 动态市盈:=intpart(c/finance2(3)*10)/10; drawtextabs(1,13,'流通市值:'+流通+'亿'),linethick1,color00ff00; drawtextabs(120,13,'市盈率:'+市盈+' / '+动态市盈+' '),linethick1,colorgreen; drawtextrel(1,3,bkname),linethick1,coloraaeeee; drawline(up>0,up,up<>ref(up,1) or c=dynainfo(7),ref(abs(up),1),0),dotline,color0000ff,linethick1; drawline(dn>0,dn,dn<>ref(dn,1) or c=dynainfo(7),ref(abs(dn),1),0),dotline,color00ff00,linethick1; drawline(up<0,-up,up<>ref(up,1) or c=dynainfo(7),ref(abs(up),1),0),color0000ff; drawline(dn<0,-dn,dn<>ref(dn,1) or c=dynainfo(7),ref(abs(dn),1),0),color00ff00; drawline(r1>0,r1,r1<>ref(r1,1) or c=dynainfo(7),ref(abs(r1),1),0),dotline,coloree88ff; drawline(r2>0,r2,r2<>ref(r2,1) or c=dynainfo(7),ref(abs(r2),1),0),dotline,coloree88ff; drawline(r1<0,-r1,r1<>ref(r1,1) or c=dynainfo(7),ref(abs(r1),1),0),coloree88ff; drawline(r2<0,-r2,r2<>ref(r2,1) or c=dynainfo(7),ref(abs(r2),1),0),coloree88ff; drawbmp(tbs=1,l*0.96,'stsbuy1.bmp'),align1,valign0; drawbmp(tbs=-1,h*1.07,'stssell1.bmp'),align1,valign0; drawbmp(s2=14,l*0.94,'stsbuy.bmp'),align1,valign0; drawbmp(s2=-14,h*1.09,'stssell.bmp'),align1,valign0; drawtext(s1>0,l,str(s1)),color00ff00,linethick1,align1,valign0; drawtext(s1<0,h*1.03,str(-s1)),color00ff00,linethick1,align1,valign0; drawtext(s2>0 and s2<13,l*0.97,str(s2)),color0000ff,linethick1,align1,valign0; drawtext(s2<0 and s2>-13,h*1.06,str(-s2)),color0000ff,linethick1,align1,valign0; drawtext(s2=13,l*0.97,'+'),color0000ff,linethick1,align1,valign0; drawtext(s2=14,l*0.97,'13'),color0000ff,linethick1,align1,valign0; drawtext(s2=-13,h*1.06,'+'),color0000ff,linethick1,align1,valign0; drawtext(s2=-14,h*1.06,'13'),color0000ff,linethick1,align1,valign0; b:="ltfunc5@forlt2"; s1:="ltfunc5@lt_s1"; p0:="ltfunc5@lt_p0"; p1:="ltfunc5@lt_p1"; hs:="ltfunc5@lt_hs"; ls:="ltfunc5@lt_ls"; upp:="ltfunc5@lt_upp"; udd:="ltfunc5@lt_udd"; d2:="lxddx.ddx"/ema(abs("lxddx.ddx"),60)+8; d3:=min("lxddx.ddx"/ema(abs("lxddx.ddx"),60),10); fb:=if(s1=0,hs,ls); tr0:=ifs(p1=1,'明日<'+numtostrn(udd,2)+',出现s点','明日>'+numtostrn(upp,2)+',出现b点'); tr1:=ifs(s1=1,'明日<'+numtostrn(ls,2)+',短线卖出','明日>'+numtostrn(hs,2)+',短线买入'); tr2:=ifs(p1=1,ifs(cross(p1,0),'b点','持股待涨'),ifs(cross(1,p1),'s点','持币观望')); tr3:=ifs(s1=0,'向下 ','向上 '); tr4:=' 能量级别:'+numtostrn(d3,1)+'级'; {hs;ls;hhs;lls;us;ds;s1;p1;p0;upp;udd;} d1:=ema(abs("ddx.ddx"),60); {ddx绝对值60日指数平滑移动平均} d2:=max("ddx.ddx"/d1+7.5,7.5); d3:=min("ddx.ddx"/d1,10); {能量级别:当日ddx与60日平均值的比值,最高10.0} fb:=if(s1=0,hs,ls); tr0:=ifs(p1=1,'明日收盘价<'+numtostrn(udd,2)+',出现s点\n','若明日收盘价>'+numtostrn(upp,2)+',出现b点\n'); tr1:=ifs(s1=1,'明日收盘价<'+numtostrn(ls,2)+',短线卖出机会','若明日收盘价>'+numtostrn(hs,2)+'短线买入机会'); tr2:=ifs(p1=1,ifs(cross(p1,0),'b点','持股'),ifs(cross(1,p1),'s点','持币')); tr3:=ifs(s1=0,'向下,','向上,'); tr4:='3.能量级别:'+numtostrn(d3,1)+'级'; bs:='<*t=0092f7*><*c=ffffff*><*p=95*>'+datestr(date)+'买卖点决策系统提示\n'+'<*t=e7ffff*><*c=000000*><*p=95*>'+'1.bs点:'+tr2+','+tr0+'<*t=e7ffff*><*c=000000*><*p=95*>'+'2.短线:'+tr3+tr1+'\n'+'<*t=e7ffff*><*c=000000*><*p=95*>'+tr4; drawflagtext(1,fb,bs); {1120,0415新版用代码} drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0; drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2; drawbmp(s1=1 and ref(s1,1)=0 and (p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0; drawbmp(s1=0 and ref(s1,1)=1 and (p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;
上一指标公式:叩马而谏自用选股公式下载
下一指标公式:水逆2016主力建仓提醒公式下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文挑灯看剑论坛发现的狄马克最完整版公式下载仅供学习研究。