画龙点睛波策
{公式名称: 画龙点睛波策
画线方法: 主图叠加}
var1:=ema(close,1);
var2:=ema(slope(close,30)*10+close,45);
stickline(var1>=var2,refdate(hhv(high,0),date),refdate(llv(low,0),date),6,0),color000046;
stickline(var1<var2,refdate(hhv(high,0),date),refdate(llv(low,0),date),6,0),color404048;
drawkline(high,open,low,close);
stickline(var1>=var2,close,open,3,0),color000045;
stickline(var1>=var2,close,open,2,0),color000085;
stickline(var1>=var2,close,open,1,0),color0000c5;
stickline(var1>=var2,close,open,0.3,0),color0000e5;
stickline(var1>=var2,low,high,0,0),colorred;
stickline(var1<var2,low,high,0,0),colorcyan;
stickline(var1<var2,close,open,3.1,0),colorblack;
stickline(var1<var2,close,open,2.1,0),color6a6a00;
stickline(var1<var2,close,open,1.5,0),colordddd00;
stickline(var1<var2,close,open,0.3,0),colorcyan;
var3:=close/ref(close,1)>1.05;
stickline(var3,low,high,0,0),color0088ee;
stickline(var3,close,open,3,0),colorblack;
stickline(var3,close,open,2.2,0),color0088dd;
stickline(var3,close,open,1.2,0),color00aaff;
stickline(var3,close,open,0.3,0),coloryellow;
var4:=ema(close,6);
var5:=expma(close,5);
var6:=ema(var4,11);
var7:=(3*close+low+open+high)/6;
var8:=(20*var7+19*ref(var7,1)+18*ref(var7,2)+17*ref(var7,3)+16*ref(var7,4)+15*ref(var7,5)+14*ref(var7,6)+13*ref(var7,7)+12*ref(var7,8)+11*ref(var7,9)+10*ref(var7,10)+9*ref(var7,11)+8*ref(var7,12)+7*ref(var7,13)+6*ref(var7,14)+5*ref(var7,15)+4*ref(var7,16)+3*ref(var7,17)+2*ref(var7,18)+ref(var7,20))/210;
var9:=ma(var8,5);{好公式网-最好的股票公式网站 www.goodgongshi.com}
var10:=(ma(close,3)+ma(close,6)+ma(close,12)+ma(close,24))/4;
var11:=if(ema(close,3)>var6,var6,drawnull);
var12:=atan((var10/ref(var10,1)-1)*100)*180/3.1416;
var13:=ema(var10,30);
var14:=ema(var10,60);
drawtext_fix(currbarscount=1 and dmi.pdi>dmi.mdi and upnday(dmi.adxr,1) and dmi.adx>dmi.adxr,0.46,0.26,0,1),colorlired;
drawtext_fix(currbarscount=1 and dmi.pdi<dmi.mdi and upnday(dmi.adxr,1) and dmi.adx>dmi.adxr,0.46,0.26,0,2),colorgreen;
drawtext_fix(currbarscount=1 and dmi.pdi>dmi.mdi,0.46,0.21,0,3),colorlired;
drawtext_fix(currbarscount=1 and dmi.pdi<dmi.mdi,0.46,0.21,0,4),colorgreen;
drawtext_fix(currbarscount=1 and cross(kdj.j,kdj.k),0.46,0.31,0,5),colorlired;
drawtext_fix(currbarscount=1 and cross(kdj.k,kdj.j),0.46,0.31,0,6),colorgreen;
drawtext_fix(currbarscount=1 and kdj.j>kdj.k,0.46,0.36,0,7),colorlired;
drawtext_fix(currbarscount=1 and kdj.j<kdj.k,0.46,0.36,0,8),colorgreen;
drawtext_fix(currbarscount=1 and macd.dif>macd.dea and macd.macd>0,0.46,0.41,0,9),colorlired;
drawtext_fix(currbarscount=1 and macd.dif<macd.dea and macd.macd<0,0.46,0.41,0,10),colorgreen;
drawtext_fix(currbarscount=1 and macd.dif>macd.dea,0.46,0.46,0,11),colorlired;
drawtext_fix(currbarscount=1 and macd.dif<macd.dea,0.46,0.46,0,12),colorgreen;
drawtext_fix(currbarscount=1 and cross(macd.dif,macd.dea),0.46,0.51,0,13),colorlired;
drawtext_fix(currbarscount=1 and cross(macd.dea,macd.dif),0.46,0.51,0,14),colorgreen;
var15:=currbarscount=1 and upnday(var14,1) and upnday(var13,1) and upnday(var6,1) and upnday(var10,1);
drawtext_fix(currbarscount=1 and var15,0.46,0.15,0,15),colormagenta;
var16:=currbarscount=1 and upnday(var14,1) and upnday(var13,1) and downnday(var6,1) and upnday(var10,1);
var17:=currbarscount=1 and upnday(var14,1) and downnday(var13,1) and downnday(var6,1) and upnday(var10,1);
var18:=currbarscount=1 and upnday(var14,1) and downnday(var13,1) and upnday(var6,1) and upnday(var10,1);
drawtext_fix(currbarscount=1 and (var16 or var17 or var18),0.46,0.15,0,16),colorlired;
var19:=currbarscount=1 and upnday(var14,1) and upnday(var13,1) and upnday(var6,1) and downnday(var10,1);
var20:=currbarscount=1 and upnday(var14,1) and downnday(var13,1) and upnday(var6,1) and downnday(var10,1);
drawtext_fix(currbarscount=1 and (var19 or var20),0.46,0.15,0,17),coloryellow;
var21:=currbarscount=1 and upnday(var14,1) and upnday(var13,1) and downnday(var6,1) and downnday(var10,1);
var22:=currbarscount=1 and upnday(var14,1) and downnday(var13,1) and downnday(var6,1) and downnday(var10,1);
var23:=currbarscount=1 and downnday(var14,1) and downnday(var13,1) and downnday(var6,1) and downnday(var10,1);
var24:=currbarscount=1 and downnday(var14,1) and upnday(var13,1) and downnday(var6,1) and downnday(var10,1);
drawtext_fix(currbarscount=1 and (var23 or var24 or var21 or var22),0.46,0.15,0,18),coloryellow;
var25:=currbarscount=1 and downnday(var14,1) and upnday(var13,1) and upnday(var6,1) and downnday(var10,1);
var26:=currbarscount=1 and downnday(var14,1) and upnday(var13,1) and downnday(var6,1) and upnday(var10,1);
var27:=currbarscount=1 and downnday(var14,1) and downnday(var13,1) and upnday(var6,1) and downnday(var10,1);
var28:=currbarscount=1 and downnday(var14,1) and downnday(var13,1) and downnday(var6,1) and upnday(var10,1);
drawtext_fix(currbarscount=1 and (var25 or var26 or var27 or var28),0.46,0.15,0,19),coloryellow;
var29:=currbarscount=1 and downnday(var14,1) and downnday(var13,1) and upnday(var6,1) and upnday(var10,1);
var30:=currbarscount=1 and downnday(var14,1) and upnday(var13,1) and upnday(var6,1) and upnday(var10,1);
drawtext_fix(currbarscount=1 and (var29 or var30),0.46,0.15,0,20),coloryellow;
drawtext_fix(currbarscount=1 and (var29 or var30),0.46,0.15,0,20),coloryellow;
drawtext_fix(currbarscount=1,0.36,0.09,0,21),colorwhite;
drawtext_fix(currbarscount=1 and macd.macd>0 and (cross(macd.dif,macd.dea) or cross(var10,var6)) and upnday(var6,1),0.55,0.09,0,22),colorwhite;
drawtext_fix(currbarscount=1 and macd.macd<0 and (cross(macd.dea,macd.dif) or cross(var6,var10)) and downnday(var6,1),0.55,0.09,0,23),colorwhite;
drawtext_fix(currbarscount=1 and downnday(var6,1) and downnday(var10,1),0.55,0.09,0,24),colorwhite;
drawtext_fix(currbarscount=1 and downnday(var6,1) and upnday(var10,1),0.55,0.09,0,25),colorwhite;
drawtext_fix(currbarscount=1 and upnday(var6,1) and upnday(var10,1),0.55,0.09,0,26),colorwhite;
drawtext_fix(currbarscount=1 and upnday(var6,1) and downnday(var10,1),0.55,0.09,0,27),colorwhite;
var31:=(3*close+high+low+open)/6;
var32:=(8*var31+7*ref(var31,1)+6*ref(var31,2)+5*ref(var31,3)+4*ref(var31,4)+3*ref(var31,5)+2*ref(var31,6)+ref(var31,8))/36;
var33:=(llv(var32,2)+llv(var32,4)+llv(var32,6))/3;
var34:=ref(var32,1)=ref(var33,1) and var32>var33 and close>var32;
var35:=var32>var33 and var32>ref(var32,1) and var33>ref(var33,1) and high/var32<1.1 and low>var33 and close>var32;
var36:=var32>var33 and var32>ref(var32,1) and var33>=ref(var33,1) and high/var32>1.1;
var37:=var32>var33 and var32>ref(var32,1) and var33>ref(var33,1) and close>var33 and close<var32;
var38:=var32>var33 and var33>ref(var33,1) and var32!=ref(var32,1) and close<var33 or (var32>var33 and var32<ref(var32,1) and var33<ref(var33,1) and close<var33);
var39:=ref(var32,1)>ref(var33,1) and var32=var33 and close<var33;
var40:=var32=var33 and close<var33 or (var32<ref(var32,1) and var33<ref(var33,1) and ref(var32,1)=ref(var33,1) and close<var33);
var41:=var32=var33 and close>var32;
var42:=amount/close/(hhv(amount,20)/hhv(close,20));
var43:=if(var42>1,1,var42)*100;
drawtext_fix(barstatus=2 and var34,0.8,0.05,0,28),coloryellow;
drawtext_fix(barstatus=2 and var35,0.8,0.05,0,29),coloryellow;
drawtext_fix(barstatus=2 and var36,0.8,0.05,0,30),coloryellow;
drawtext_fix(barstatus=2 and var37,0.8,0.05,0,31),coloryellow;
drawtext_fix(barstatus=2 and var38,0.8,0.05,0,32),colorcyan;
drawtext_fix(barstatus=2 and var39,0.8,0.05,0,33),colorcyan;
drawtext_fix(barstatus=2 and var40,0.8,0.05,0,34),colorcyan;
drawtext_fix(barstatus=2 and var41,0.8,0.05,0,35),coloryellow;
var44:=close-ref(close,1);{好公式网-最好的股票公式网站 www.goodgongshi.com}
var45:=100*ema(ema(var44,6),6)/ema(ema(abs(var44),6),6);
var46:=(ema(close,1)+ema(close,2)+ema(close,3)+ema(close,4))/4;
var47:=(ema(close,10)+ema(close,20)+ema(close,40)+ema(close,80))/4;
var48:=sma(max(close-ref(close,1),0),5,1)/sma(abs(close-ref(close,1)),5,1)*100;
var49:=ref(close,1);
var50:=(var49*1.0035*97+0.2)/99.650002;
drawtext_fix(close!=0,0.02,0.05,0,563),colorred;
drawtext_fix(close!=0,0.02,0.1,0,37),colorcyan;
drawtext_fix(close!=0,0.02,0.15,0,38),colorcyan;
drawtext_fix(close!=0,0.02,0.2,0,39),colorcyan;
drawtext_fix(close!=0,0.02,0.25,0,40),colorcyan;
drawtext_fix(close!=0,0.02,0.3,0,563),colorred;
drawtext_fix(close!=0,0.05,0.1,0,41),coloryellow;
drawtext_fix(close!=0,0.05,0.15,0,42),coloryellow;
drawtext_fix(close!=0,0.05,0.2,0,strcat(43,strcat(con2str(var50,2),44))),coloryellow;
drawtext_fix(close!=0,0.05,0.25,0,45),coloryellow;
var51:=(high+low+open+2*close)/5;
var52:=2*var51-low;
var53:=2*var51-high;
var54:=var51+(high-low);
var55:=var51-(high-low);
var56:=ref(var52,1);
var57:=ref(var53,1);
drawtext_fix(close!=0,0.02,0.35,0,strcat(46,strcat(con2str(var56,2),44))),colorcyan;
drawtext_fix(close!=0,0.02,0.4,0,strcat(47,strcat(con2str(var57,2),44))),color8e8eff;
drawtext_fix(close!=0,0.02,0.45,0,strcat(48,strcat(con2str(var54,2),44))),colorwhite;
drawtext_fix(close!=0,0.02,0.5,0,strcat(49,strcat(con2str(var52,2),44))),colorcyan;
drawtext_fix(close!=0,0.02,0.55,0,strcat(50,strcat(con2str(var53,2),44))),color8e8eff;
drawtext_fix(close!=0,0.02,0.6,0,strcat(51,strcat(con2str(var55,2),44))),coloryellow;
drawtext_fix(close!=0,0.02,0.65,0,563),colorred;
操作线20日:ema(close,20),nodraw;{好公式网-最好的股票公式网站 www.goodgongshi.com}
红升:if(操作线20日>ref(操作线20日,1),操作线20日,drawnull),nodraw;
绿降:if(操作线20日<ref(操作线20日,1),操作线20日,drawnull),dotline,colorred;
趋势线:expma(close,5),dotline,coloryellow;
var58:=趋势线<ref(趋势线,1);
if(var58,趋势线,drawnull),dotline,coloryellow;
var59:=趋势线>ref(趋势线,1);
if(var59,趋势线,drawnull),coloryellow,linethick3;
var60:=hhv(high,13)=high and high>ref(high,1);
var61:=filter(var60,12);
var62:=llv(low,13)=low and low<ref(low,1);
var63:=filter(var62,12);
var64:=barslast(var61);
压力:ref(high,var64),nodraw,colorwhite;
stickline(1,压力,压力,1.5,0),coloraeae00;
var65:=barslast(var63);
支撑:ref(low,var65),nodraw,coloryellow;
stickline(1,支撑,支撑,1.5,0),color006ddb;
var66:=100*(压力-支撑)/支撑;
var67:=ref(压力,1) and open<=压力 and close>压力;
drawicon(cross(var1,var2),low,42);
drawicon(cross(var2,var1),high,43);
上一指标公式:极品寻找黑马公式指标下载 通达信公式
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文画龙点睛波策(副图源码)指标附实测图下载 通达信源码仅供学习研究。