hj_1:=if(date<1161215,1,0);
hj_2:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*hj_1*100;
k:sma(hj_2,3,1),nodraw,coloryellow,linethick2;
d:sma(k,3,1),nodraw,colorwhite,linethick2;
j:3*k-2*d,nodraw,colorred,linethick2;
大海:ma(hj_2,20),colorcyan;
天际:大海+2*std(hj_2,20),coloryellow;
海底:大海-2*std(hj_2,20),colormagenta;
hj_3:=2*std(hj_2,20);
stickline(j>ref(j,1),j,ref(j,1),3,1),colorred;
stickline(j<=ref(j,1),j,ref(j,1),3,1),colorgreen;
stickline(j<=ref(j,1) and j<0 and j>(-10),j,ref(j,1),3,0),colorblue;
stickline(j<=ref(j,1) and j<=(-10),j,ref(j,1),3,0),colorgreen;
stickline(j>ref(j,1) and j>100 and j<110,j,ref(j,1),3,0),colormagenta;
stickline(j>ref(j,1) and j>=110,j,ref(j,1),3,0),colorred;
stickline(cross(j,k) and j>=50,j,ref(j,1),0.3,0),coloryellow;
stickline(cross(j,k) and j<50,j,ref(j,1),3,0),coloryellow;
stickline(cross(k,j) and j<=50,j,ref(j,1),0.3,0),colorcyan;
stickline(cross(k,j) and j>50,j,ref(j,1),3,0),colorcyan;
drawicon(cross(j,海底),海底,1);
drawicon(cross(天际,j),天际,2);
hj_4:=llv(hj_3,10)=hj_3;
hj_5:=ref(count(j<大海,2),1)>0;
hj_6:=ref(count(j>大海,2),1)>0;
drawicon(filter(count(hj_4,3)>0 and count(cross(j,k),3)>0 and 大海>ref(大海,1) and count(大海<ref(大海,1),5)>=3 and 大海<50 and hj_5,2),海底,26);
drawicon(filter(count(hj_4,3)>0 and count(cross(k,j),3)>0 and 大海<ref(大海,1) and count(大海>ref(大海,1),5)>=3 and 大海>50 and hj_6,2),天际,27);
hj_7:=if(z=0,high,close);
hj_8:=if(z=0,low,close);
hj_9:=barslast(cross(50,j) and j<50);
hj_10:=count(cross(j,k) and j<50,hj_9);
hj_11:=llv(j,hj_9);
hj_12:=llv(hj_8,hj_9);
hj_13:=j<50 and hj_8=hj_12 and j>hj_11;
hj_14:=if(g=0,ref(hj_13,1) and hj_8>ref(hj_8,1) and j<50 and j>hj_11 and hj_10>0,ref(hj_13,1) and hj_8>ref(hj_8,1) and j<50 and j>hj_11 and hj_10>0 and j>ref(j,1));
hj_15:=barslast(cross(j,50) and j>50);
hj_16:=count(cross(k,j) and j>50,hj_15);
hj_17:=hhv(j,hj_15);
hj_18:=hhv(hj_7,hj_15);
hj_19:=j>50 and hj_7=hj_18 and j<hj_17;
hj_20:=if(g=0,ref(hj_19,1) and hj_7<ref(hj_7,1) and j>50 and j<hj_17 and hj_16>0,ref(hj_19,1) and hj_7<ref(hj_7,1) and j>50 and j<hj_17 and hj_16>0 and j<ref(j,1));
drawicon(hj_14,(海底+j)/2,7);
drawicon(hj_20,(天际+j)/2,8);
hj_21:=llvbars(j,hj_9);
hj_22:=hhvbars(j,hj_15);
hj_23:=backset(hj_14,hj_21+1);
hj_24:=backset(hj_20,hj_22+1);
notextjl:drawline(ref(hj_23,1)=0 and hj_23=1 and j<50,j,hj_14,j,0),colorred;
notexthl:drawline(ref(hj_24,1)=0 and hj_24=1 and j>50,j,hj_20,j,0),colorgreen;
hj_25:=count(cross(k,j) and j<50,hj_9);
hj_26:=barslast(ref(hj_10,1)=0 and hj_10=1);
hj_27:=if(ref(hj_10,1)=0 and hj_10=1,llv(j,hj_9),drawnull);
hj_28:=j<50 and hj_8=hj_12 and j>ref(hj_27,hj_26) and hj_11=ref(hj_27,hj_26);
hj_29:=llvbars(j,hj_9);
hj_30:=if(g=0,ref(hj_13,1) and hj_8>ref(hj_8,1) and j<50 and j>ref(hj_27,hj_26) and hj_10>0 and hj_25>0 and hj_26<hj_29 and hj_29<hj_9,ref(hj_13,1) and hj_8>ref(hj_8,1) and j<50 and j>ref(hj_27,hj_26) and hj_10>0 and hj_25>0 and hj_26<hj_29 and hj_29<hj_9 and j>ref(j,1));
hj_31:=count(cross(j,k) and j>50,hj_15);
hj_32:=barslast(ref(hj_16,1)=0 and hj_16=1);
hj_33:=if(ref(hj_16,1)=0 and hj_16=1,hhv(j,hj_15),drawnull);
hj_34:=j>50 and hj_7=hj_18 and j<ref(hj_33,hj_32) and hj_17=ref(hj_33,hj_32);
hj_35:=hhvbars(j,hj_15);
hj_36:=if(g=0,ref(hj_19,1) and hj_7<ref(hj_7,1) and j>50 and j<ref(hj_33,hj_32) and hj_16>0 and hj_31>0 and hj_32<hj_35 and hj_35<hj_15,ref(hj_19,1) and hj_7<ref(hj_7,1) and j>50 and j<ref(hj_33,hj_32) and hj_16>0 and hj_31>0 and hj_32<hj_35 and hj_35<hj_15 and j<ref(j,1));
drawicon(hj_30,海底,9);
drawicon(hj_36,天际,15);
hj_37:=j<50 and hj_8=hj_12 and j>hj_11;
hj_38:=ref(hj_37,1) and hj_8>ref(hj_8,1) and j<50 and j>hj_11 and hj_10>0;
hj_39:=barslast(hj_38)+1;
hj_40:=count(close>ref(close,4),hj_39)=0;
hj_41:=open<ref(open,1) and open<ref(close,1) and close>ref(open,1) and close>ref(close,1) and open=low;
hj_42:=min(ref(close,1),ref(open,1));
hj_43:=max(ref(close,1),ref(open,1));
hj_44:=range(open,hj_42,hj_43)=1 and range(low,hj_42,hj_43)=1 and close>ref(close,1);
hj_45:=range(open,hj_42,hj_43)=1 and close>ref(close,1) and close>ref(open,1) and open=low;
hj_46:=open<ref(low,1) and close>ref(low,1) and open=low;
hj_47:=count(hj_41 and hj_40,hj_39);
hj_48:=hj_47=1 and ref(hj_47,1)=0;
stickline(hj_48,海底,天际,0,0),colorwhite;
drawnumber(hj_48,天际,87.120003),colorwhite;
hj_49:=count(hj_44 and hj_40,hj_39);
hj_50:=hj_49=1 and ref(hj_49,1)=0;
stickline(hj_50,海底,天际,0,0),colorligray;
drawnumber(hj_50,天际,75.730003),colorligray;
hj_51:=count(hj_45 and hj_40,hj_39);
hj_52:=hj_51=1 and ref(hj_51,1)=0;
{好公式网www.goodgongshi.com}
stickline(hj_52,海底,天际-j,0,0),colorgreen;
drawnumber(hj_52,天际-j,80.57),colorgreen;
hj_53:=count(hj_46 and hj_40,hj_39);
hj_54:=hj_53=1 and ref(hj_53,1)=0;
stickline(hj_54,海底,天际-j,0,0),colorred;
drawnumber(hj_54,天际-j,75.599998),colorred;
hj_55:=filter(count(hj_4,3)>0 and count(cross(j,k),3)>0 and 大海>ref(大海,1) and count(大海<ref(大海,1),5)>=3 and 大海<50 and hj_5,2);
hj_56:=if(count(hj_30,5)>0,2,if(count(hj_14,5)>0,1,0));
stickline(hj_55 and hj_56=2,海底,天际,0,0),color0080ff;
drawnumber(hj_55 and hj_56=2,天际,86.339996),color0080ff;
stickline(hj_55 and hj_56=1,海底,大海,0,0),colorb0ffff;
drawnumber(hj_55 and hj_56=1,大海,85.339996),colorb0ffff;
stickline(hj_55 and hj_56=0,海底,天际,0,0),coloryellow;
drawnumber(hj_55 and hj_56=0,天际,78.040001),coloryellow;
{-----------------------------------}
上一指标公式:全自动画线指标公式详解 通达信全自动
下一指标公式:一伤拳仿制版指标公式详解 通达信指标源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文KDJ_ZGL幅图指标公式详解 通达信KDJ仅供学习研究。