{基柱是倍量: 1=倍量,0=小倍量;
基柱类型: 0=长阳,1=将军柱,2=次黄金柱,3=黄金柱,4=标准黄金柱;
显示板块: 0=不显示,1=显示;
回踩误差千分之: 阳盖阴附近回踩点与黄金线的距离误差千分比;}
drawtext_fix(显示板块 and islastbar,0,0,0,hyblock);
drawtext_fix(显示板块 and islastbar,0.05,0,0,dyblock);
drawtext_fix(显示板块 and islastbar,0.1,0,0,gnblock);
stickline(ref(low,1)>high,high,ref(low,1),5,0),colorgray;
stickline(ref(high,1)<low,low,ref(high,1),5,0),colorgray;
c_:const(close),pointdot,colorlired;
xa_1:=ma(close,5);
ma5角度:atan((xa_1/ref(xa_1,1)-1)*100)*180/3.1416,nodraw;
drawkline(high,open,low,close);
xa_2:=ref(close,1);
xa_3:=if(close>=1,10000,100000);
xa_4:=1.1*xa_2-49/xa_3;
xa_5:=1.05*xa_2-49/xa_3;
xa_6:=0.9*xa_2+51/xa_3;
xa_7:=0.95*xa_2+51/xa_3;
xa_8:=namelike(1) or namelike(2);
xa_9:=if(xa_8,close>=xa_5,close>=xa_4);
xa_10:=if(xa_8,close<=xa_7,close<=xa_6);
xa_11:=if(xa_8,high>=xa_5,high>=xa_4);
xa_12:=if(xa_8,low<=xa_7,low<=xa_6);
stickline(xa_11,high,max(close,open),0,0),colormagenta;
stickline(xa_12,low,min(close,open),0,0),colorlicyan;
xa_13:=close>open and (close>=xa_5 or close>1.05*open-51/xa_3) or (close>1000 and close>xa_2*1.024);
stickline(xa_13,open,close,1,0),color0000bb;
xa_14:=close<open and (close<=xa_7 or close<0.95*open+49/xa_3) or (close>1000 and close<xa_2*0.976);
stickline(xa_14,open,close,1,0),colorligreen;
stickline(xa_9,open,close,1,0),colormagenta;
stickline(xa_10,open,close,1,0),colorlicyan;
xa_15:=close<open and close>ref(close,1);
stickline(xa_15,open,close,0,0),colorred;
xa_16:=close>open and close<ref(close,1);
stickline(xa_16,open,close,0,0),colorgreen;
xa_17:=period=5 and namelike(3) and (abs(close-ref(close,1))/ref(close,1)>=0.025 or abs(close-open)>=60);
stickline(xa_17,(high+low)/2,(high+low)/2,2,0),coloryellow;
xa_18:=min(close,open);
xa_19:=基柱类型;
xa_20:=llv(close,3)>=ref(xa_18,3);
xa_21:=if(基柱是倍量=1,1.8,1.1);
xa_22:=10;
xa_23:=filter(backset(filter(ref(vol,xa_22)=hhv(vol,2*xa_22+1),xa_22),xa_22+1),xa_22);
xa_24:=vol>=ref(vol,1)*xa_21 or xa_23;
xa_25:=close/ref(close,1)>1 or close/open>1;
xa_26:=ref(xa_25,3) and xa_20;
xa_27:=close>ref(close,1);
xa_28:=close>ref(max(close,open),1) and xa_25;
xa_29:=xa_24 and xa_28;
xa_30:=ref(xa_29,3) and xa_20;
xa_31:=ma(close,3)>=ref(close,3) and close>=ref(close,3);
xa_32:=ma(vol,3)<=ref(vol,3)*1.03;
xa_33:=xa_30 and xa_31 and xa_32;
xa_34:=hhv(vol,3)<=ref(vol,3)*1.03;
xa_35:=llv(close,3)>=ref(close,3);
xa_36:=xa_33 and xa_35 and xa_34;
xa_37:=count(xa_27,3)=3;
xa_38:=count(vol<ref(vol,1),3)=3;
xa_39:=xa_36 and xa_37 and xa_38;
基柱:if(xa_19=1,xa_30,if(xa_19=2,xa_33,if(xa_19=3,xa_36,if(xa_19=4,xa_39,xa_26)))),nodraw;
xa_40:=barslast(filter(基柱,3));
xa_41:=ref(low,xa_40+3);
xa_42:=llv(xa_18,xa_40)>=xa_41 and xa_41=ref(xa_41,1);
底线:if(xa_42,xa_41,drawnull),coloryellow;
stickline(基柱,xa_41,xa_41,25,0),coloryellow;
xa_43:=llv(low,xa_40);
xa_44:=llv(xa_18,xa_40);
基柱o:ref(open,xa_40+3),nodraw;
xa_45:=ref(llv(low,3),xa_40);
xa_46:=显示黄金线=1 and xa_44>=xa_45 and xa_45=ref(xa_45,1);
xa_47:=if(xa_45<xa_41,xa_41,xa_45);
黄金虚线:if(xa_46,xa_47,drawnull),pointdot,coloryellow;
stickline(显示黄金线=1 and 基柱 or xa_46,xa_47,xa_47,17,(-1)),coloryellow;
黄金实线:ref(llv(xa_18,3),xa_40),nodraw,colormagenta;
stickline(显示黄金线=1 and 基柱,黄金实线,黄金实线,15,1),colorbrown;
xa_48:=黄金实线>=xa_41;
xa_49:=xa_44>=xa_41;
xa_50:=回踩误差千分之*close/1000;
xa_51:=if(xa_50<0.01,0.01,xa_50);
xa_52:=abs(xa_43-xa_41)<=xa_51;
xa_53:=abs(xa_43-基柱o)<=xa_51;
xa_54:=abs(xa_43-黄金虚线)<=xa_51;
xa_55:=abs(xa_43-黄金实线)<=xa_51;
xa_56:=abs(xa_44-xa_41)<=xa_51;
xa_57:=abs(xa_44-基柱o)<=xa_51;
xa_58:=abs(xa_44-黄金虚线)<=xa_51;
xa_59:=abs(xa_44-黄金实线)<=xa_51;
xa_60:=if(回踩类型=1 or 回踩类型=0,xa_52 or xa_56,0);
xa_61:=if(回踩类型=2 or 回踩类型=0,xa_53 or xa_57,0);
xa_62:=if(回踩类型=3 or 回踩类型=0,xa_54 or xa_58,0);
xa_63:=if(回踩类型=4 or 回踩类型=0,xa_55 or xa_59,0);
xa_64:=xa_60 or xa_61 or xa_62 or xa_63 and xa_48 and xa_49;
xa_65:=low=xa_43 or xa_18=xa_44;
xa_66:=barslast(xa_65);
xa_67:=vol<ref(vol,1) and 1;
xa_68:=ref(close<open,1) and close>open and close>ref(max(close,open),1);
xa_69:=xa_64 and xa_68 and xa_40>=1 and xa_66<=2;
xa_70:=count(xa_69,1);
drawicon(xa_70,low*0.98,1);
上一指标公式:涨停整理突破 通达信突破整理
下一指标公式:国荣神奇买卖 通达信国荣买卖
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文黄金线阳盖阴 通达信黄金仅供学习研究。