{=====================彩色k线=========================}
{填充背景}
drawgbk(c>0, rgb(1,1,1),rgb(1,1,1),0,'0',0);
drawgbk(c>0,rgb(0,0,0),rgb(00,0,0),0,'em',0);
stickline(c>o,c,o,3,0 ),color000055;
stickline(c>o,c,o,2.6,0 ),color000077;
stickline(c>o,c,o,2.1,0 ),color000099;
stickline(c>o,c,o,1.5,0 ),color0000bb;
stickline(c>o,c,o,0.9,0 ),color0000dd;
stickline(c>o,c,o,0.1,0 ),color0000ff;
stickline(c>o,h,l,0,0),colorred;
stickline(c<o,c,o,3,0),color646400;
stickline(c<o,c,o,2.6,0),color848400;
stickline(c<o,c,o,2.1,0),color9f9f00;
stickline(c<o,c,o,1.5,0),colorb0b000;
stickline(c<o,c,o,0.9,0),colorc4c400;
stickline(c<o,c,o,0.1,0),colordbdb00;
stickline(c<o,h,l,0,0),colordddd00;
stickline(c=o,c,o,3,0 ),colorwhite;
stickline(c=o,h,l,0,0),colorwhite;
b1:=ma(c,1);{}
b2:=sma(sma(sma(b1,2,1),2,1),2,1);
sma2:=ma(b2,3);
末日买入:if(llv(ma(b2,8),3)<b2,llv(ma(b2,8),3),b2);
if(b2>sma2,b2,drawnull),colorred,linethick2;
if(b2<sma2,b2,drawnull),colorgreen,linethick2;
末日卖出:hhv(ma(b2,1),13),coloryellow;
var1:=(2*close+high+low)/4;
var2:=ma(var1,7);
var3:=var2-ma(var1,7/2)<0;
var4:=var2-ma(var1,7/2)>0;
var5:=barslast(var3);
var6:=0-barslast(var4);
var7:=if(var3<=0,var5,var6);
stickline(末日卖出>b2 and b2>sma2,末日卖出,b2,0,1),colorgray;
stickline(末日卖出>sma2 and b2<sma2,末日卖出,sma2,0,1),colorgreen;
var11:=(close*2+high+low)/4;
var21:=ema(var11,13)-ema(var11,34);
var31:=ema(var21,5);
var2a:=((close > ref(close,1)) and (close > ref(close,2)));
var3a:=((ref(var2a,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var4a:=((ref(var3a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var5a:=((ref(var4a,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var6a:=((ref(var5a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var7a:=((ref(var6a,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var8a:=((ref(var7a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var9a:=((ref(var8a,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
varaa:=((ref(var9a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
varba:=((ref(varaa,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
varca:=((ref(varba,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
varda:=((ref(varca,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
vareaa:=((close < ref(close,1)) and (close < ref(close,2)));
varfa:=((ref(vareaa,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var10a:=((ref(varfa,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var11a:=((ref(var10a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var12a:=((ref(var11a,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var13a:=((ref(var12a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var14a:=((ref(var13a,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var15a:=((ref(var14a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var16a:=((ref(var15a,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var17a:=((ref(var16a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var18a:=((ref(var17a,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var19a:=((ref(var18a,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var1a:=(ref((((((((((((vareaa or varfa) or var10a) or var11a) or var12a) or
var13a) or var14a) or var15a) or var16a) or var17a) or var18a) or var19a),1) andvar2a);
aa:=(ref((((((((((((var2a or var3a) or var4a) or var5a) or var6a) or var7a) or
var8a) or var9a)or varaa) or varba) or varca) or varda),1) and vareaa);
a13:=ema(close,55);
a14:=ma(close,75);
a15:=ema(a14,3);
a16:=ema(a15,3);
a17:=(high + low) / 5;
a18:=(ma(a17,4)) - (ma(a17,34));
a19:=cross(a18,0);
a20:=cross(0,a18);
a21:=barslast(a19);
a22:=barslast(a20);
a23:=ref(a19,1);
a24:=ref(a20,1);
a25:=barslast(a23);
a26:=barslast(a24);
a27:=if((a25 < a26),(ref((hhv(high,2)),a25)),(ref((llv(low,2)),a26)));
a28:=(((ref(close,1)) <= (ref(a27,1))) and (close > a27)) and (a21 < a22);
a29:=(((ref(close,1)) >= (ref(a27,1))) and (close < a27)) and (a22 < a21);
a30:=a28 and ((count(a28,a21)) = 1);
a31:=a29 and ((count(a29,a22)) = 1);
a32:=a30 and ((ref(barslast(a31),1)) < (ref(barslast(a30),1)));
a33:=a31 and ((ref(barslast(a31),1)) > (ref(barslast(a30),1)));
drawtext(a32,sma2*0.99,'←末日抓妖'),coloryellow;
ac:=amount/(vol);
yy:=ma(ac,13);
lll:=(c-yy)/yy*100;
midc := ma(close,22);
upperc:= midc + 2*std(c,22);
lowerc:= midc - 2*std(c,22);
bba:=(c-lowerc)/(upperc-lowerc);
lifengcyc:=(ref(lll,1)<-15 and ref(bba,1)<0 and lll>ref(lll,1));
bs:=b2>ref(b2,1) and ref(b2<ref(b2,1),1);
drawicon(bs,l*0.98,1);
bx:=b2<ref(b2,1) and ref(b2>ref(b2,1),1);
drawicon(bx,h*1.02,2);
{}
hj_1:=8;
hj_2:=ref(high,10)=hhv(high,2*11);
hj_3:=backset(hj_2,10+1);
hj_4:=filter(hj_3,10) and high=hhv(high,11);
卖出:drawicon(hj_4,high*1.02,12);
hj_5:=ref(low,10)=llv(low,2*11);
hj_6:=backset(hj_5,11);
hj_7:=filter(hj_6,10) and low=llv(low,11);
买入:drawicon(hj_7,low*0.98,11);
hj_8:=hhv(high,60);
hj_9:=const(hj_8);
hj_10:=llv(low,60);
hj_11:=const(hj_10);
hj_12:=(close+high+low+open)/4;
hj_13:=low+(hj_12-low)+(close-low);
hj_14:=low+(close-hj_12);
hj_15:=low>ref(high,1);
hj_16:=high<ref(low,1);
hj_17:=low>ref(high,barslast(hj_15)+1);
hj_18:=low<=ref(high,barslast(hj_15)+1);
hj_19:=high<ref(low,barslast(hj_16)+1);
hj_20:=high>=ref(low,barslast(hj_16)+1);
hj_21:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
hj_22:=sma(hj_21,3,1);
hj_23:=sma(hj_22,3,1);
hj_24:=3*hj_22-2*hj_23;
hj_25:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;
hj_26:=sma(hj_25,3,1);
hj_27:=sma(hj_26,3,1);
hj_28:=3*hj_26-2*hj_27;
hj_29:=if(cross(hj_28,hj_24),high,ref(high,barslast(cross(hj_28,hj_24))));
hj_30:=llv(high,30);{}
hj_31:=ref(high,hj_1)=hhv(high,2*hj_1+1);
hj_32:=ref(low,hj_1)=llv(low,2*hj_1+1);
hj_33:=backset(hj_31,hj_1+1);
hj_34:=backset(hj_32,hj_1+1);
hj_35:=filter(hj_33,hj_1) and high=hhv(high,hj_1+1);
hj_36:=filter(hj_34,hj_1) and low=llv(low,hj_1+1);
hj_37:=barslast(hj_35);
hj_38:=barslast(hj_36);
hj_39:=if(hj_35,currbarscount,0);
hj_40:=if(hj_36,currbarscount,0);
hj_41:=if(hj_37,ref(hj_39,hj_37),hj_39);
hj_42:=if(hj_38,ref(hj_40,hj_38),hj_40);
hj_43:=const(hj_41);
hj_44:=const(hj_42);
hj_45:=const(ref(high,hj_43-1));
hj_46:=hj_45;
hj_47:=const(ref(low,hj_44-1));
hj_48:=ref(hj_41,hj_37+1);
hj_49:=ref(hj_42,hj_38+1);
hj_50:=const(hj_48);
hj_51:=const(hj_49);
hj_52:=const(ref(high,hj_48-1));
hj_53:=hj_52;
hj_54:=const(ref(low,hj_49-1));
hj_55:=backset(islastbar,hj_43);
hj_56:=backset(islastbar,hj_44);
hj_57:=backset(islastbar,hj_48);
hj_58:=backset(islastbar,hj_49);
hj_59:=if(hj_47<=hj_54,hj_56,hj_58);
hj_60:=sum(hj_55,0);
hj_61:=sum(hj_59,0);
hj_62:=ref(hj_13,1);
hj_63:=ref(hj_14,1);
hj_64:=if(islastbar,hj_29,drawnull);
hj_65:=if(islastbar,hj_30,drawnull);
高点压力:=drawline(currbarscount=hj_50,high,currbarscount=hj_43,high,1),coloryellow,linethick2;
低点支撑:=drawline(currbarscount=hj_51,low,currbarscount=hj_44,low,1),coloryellow,linethick2;
hj_66:=const(max(max(max(hj_9,高点压力),hj_46),hj_53));
hj_67:=const(min(min(min(hj_11,hj_54),hj_47),低点支撑));
hj_68:=(高点压力+低点支撑)/2;
hj_69:=const((高点压力+低点支撑)/2);
hj_70:=if(hj_51<hj_50,hj_51,hj_50);
hj_71:=drawline(currbarscount=hj_70,hj_68,islastbar,hj_69,1);
hj_72:=intpart(3*hj_1/5);
hj_73:=ref(high,hj_72)=hhv(high,2*hj_72+1);
hj_74:=backset(hj_73,hj_72+1);
hj_75:=filter(hj_74,hj_72) and high=hhv(high,hj_72+1);
hj_76:=barslast(hj_75);
hj_77:=if(hj_75,currbarscount,0);
hj_78:=if(hj_76,ref(hj_77,hj_76),hj_77);
hj_79:=const(hj_78);
hj_80:=ref(hj_78,hj_76+1);
hj_81:=const(hj_80);
高点压力m:drawline(currbarscount=hj_81,high,currbarscount=hj_79,high,1),colorred;
hj_82:=ref(low,hj_72)=llv(low,2*hj_72+1);
hj_83:=backset(hj_82,hj_72+1);
hj_84:=filter(hj_83,hj_72) and low=llv(low,hj_72+1);
hj_85:=barslast(hj_84);
hj_86:=if(hj_84,currbarscount,0);
hj_87:=if(hj_85,ref(hj_86,hj_85),hj_86);
hj_88:=const(hj_87);
hj_89:=ref(hj_87,hj_85+1);
hj_90:=const(hj_89);
低点支撑m:drawline(currbarscount=hj_90,low,currbarscount=hj_88,low,1),colorred;
stickline(hj_57,hj_53,hj_53,2.5,1),colorwhite;
stickline(hj_55,hj_46,hj_46,2.3,1),coloryellow;
stickline(hj_58,hj_54,hj_54,0.5,1),colormagenta;
stickline(hj_56,hj_47,hj_47,0.5,1),colorcyan;
stickline(islastbar,hj_64,hj_64,120,0),colorwhite,linethick3;
stickline(islastbar,hj_65,hj_65,100,0),colorgreen,linethick3;
hj_91:=ma(ema(winner(close),3),40);
hj_92:=hj_91>ref(hj_91,4);
hj_93:=vol*5/sum(ref(vol,1),5)>1;
hj_94:=vol/capital*100>3;
hj_95:=ema(ema(close,9),9);
hj_96:=(hj_95-ref(hj_95,1))/ref(hj_95,1);
hj_97:=100*winner(close*0.95);
hj_98:=hj_92 and hj_93 and hj_94;
hj_99:=hj_98;
drawicon(cross(close,hj_53) and hj_99,low-0.2,5);
drawicon(cross(close,hj_46) and hj_99,low-0.8,5);
drawicon(cross(close,hj_54) and hj_99,low-0.6,5);
上一指标公式:黑马必抓极品主图有图指标下载 通达信公式有图
下一指标公式:双线密码主图指标下载 通达信密码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文末日波段指标下载 通达信波段仅供学习研究。