{平台启动主图}
a5:ma(close,5),nodraw;
ma10:ma(close,10),nodraw;
ma20:ma(close,20);
ma60:ma(close,60);ma120:ma(close,120),coloryellow;ma250:ma(close,250);
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,h,l,0,0),colorff9900;
stickline(c<o,c,o,0,0),colorff5500;
stickline(c<o,c,o,3.1,0),colorff6600;
stickline(c<o,c,o,2.4,0),colorff7700;
stickline(c<o,c,o,2.0,0),colorff8800;
stickline(c<o,c,o,1.6,0),colorff9900;
stickline(c<o,c,o,1.2,0),colorffaa00;
stickline(c<o,c,o,0.6,0),colorffcc00;
stickline(c<o,c,o,0.1,0),colorffff00;
rsv:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
k1:=sma(rsv,10,1);
d1:=sma(k1,5,1);
kk:=intpart(k1);
dd0:=intpart(d1);
tfxxs:=kk+dd0;{//变异kd风险系数}
tgld:=mod(tfxxs,10);{//踏浪涨停概率点}
tglxs:=(tfxxs-ref(tfxxs,1))*10;{//变异kd乖离系数}
tycfx:=tfxxs+tglxs;{//变异kd预测风险}
乖离系数:tglxs,linethick0,colorgreen,nodraw;
drawtext_fix(1,0.00,0,0,'地区:'),colorwhite;
drawtext_fix(1,0.04,0,0,dyblock),coloryellow;
drawtext_fix(1,0.11,0,0,'行业:'),colorwhite;
drawtext_fix(1,0.15,0,0,hyblock),coloryellow;
drawtext_fix(1,0.25,0,0,'题材:'),colorwhite;
drawtext_fix(1,0.29,0,0,gnblock),coloryellow;
drawtext_fix(1,0,0.05,0,'板块:'),colorwhite;
drawtext_fix(islastbar,0.04,0.05,0,fgblock),colorlimagenta;
{drawtext_fix(islastbar,0,0.16,0,strcat(dyblock,gnblock)),colorlired;}
drawtext_fix(islastbar,0,0.39,0,externstr(0,3)),colorwhite;
drawtext_fix(islastbar,0,0.36,0,externstr(0,6)),colorliblue;
drawtext_fix(islastbar,0,0.33,0,externstr(0,12)),colorligreen;{老王}
drawtext_fix(islastbar,0,0.3,0,externstr(0,1)),coloryellow;{融胜}
{drawtext_fix(islastbar,0,0.1,0,'1、乖离系数,大于40关注 小于-50坚决不进场 ,大于60坚决买入。
2、控盘系数大于20 可以做个小波段 准确率80%。')colorwhite;}
涨幅限制:=if(namelike('st') or namelike('*st') or namelike('sst') or namelike('s*st'),105,110);{代表1.05和1.1}
跌幅限制:=if(namelike('st') or namelike('*st') or namelike('sst') or namelike('s*st'),95,90);{代表0.95和0.9}
涨停:=round(close*100)>=round(ref(close,1)*涨幅限制) and close=high;
{涨停:=if((c-ref(c,1))*100/ref(c,1)>=(10-0.01*100/ref(o,1)),1,0);}
stickline(涨停,c,o,3,0),colordd00dd;
stickline(涨停,c,o,2,0),colorff00ff;
stickline(涨停,c,o,1.5,0),colorff00ff;
stickline(涨停,c,o,0.5,0),colorfabbff;
跌停:=round(close*100)<=round(ref(close,1)*跌幅限制+1) and close=low;
stickline(跌停,o,c,3,0),color009900;
stickline(跌停,o,c,2,0),color009900;
stickline(跌停,o,c,1.5,0),color00bb00;
stickline(跌停,l,h,0.5,0),color00dd00;
圣:=(hhv(high,21)-close)/(hhv(high,21)-llv(low,21))*100-10;
灵:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;
石:=sma(灵,13,8);
仙:=ceiling(sma(石,13,8));
编著:=sma(圣,21,8);
aabb:=if(l,const(l),drawnull);
{启动:stickline(何雨-编著>75,aabb,aabb*0.99,15,1),color0000ff;}
{varzt:=barslast(平台启动);}
{drawtext(varzt=1,0.99*(aabb+aabb*0.98)/2,'平台启动'),coloryellow;}
aaa:=(3*c+h+l+o)/6;
var1:=(8*aaa+7*ref(aaa,1)+6*ref(aaa,2)+5*ref(aaa,3)+4*ref(aaa,4)+3*ref(aaa,5)+2*ref(aaa,6)+ref(aaa,8))/36;
var2:=(hhv(var1,5)+hhv(var1,10)+hhv(var1,20))/3;
var3:=(llv(var1,5)+llv(var1,10)+llv(var1,20))/3;
var4:=(hhv(var2,5)+hhv(var2,10)+hhv(var2,20))/3;
var5:=(llv(var3,5)+llv(var3,10)+llv(var3,20))/3;
var6:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
{drawband(var1,rgb(155,50,50),var6,rgb(250,250,0));}
{短线:var1,colorwhite;
中线:var6,coloryellow;}
{下跌:if(var1=var6,var6,drawnull),colorgreen;}
tj1:=vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var1;
立桩量:=filter(tj1,5);
tj2:=if(barslast(立桩量)=1 and close>ref(high,1),1,if(barslast(立桩量)=2 and close>ref(high,2),1,if(barslast(立桩量)=3 and close>ref(high,3),1,0)));
突破:=tj2=1;
tj3:=if(barslast(立桩量)=1 and close>ref(low,1),1,if(barslast(立桩量)=2 and close>ref(low,2),1,if(barslast(立桩量)=3 and close>ref(low,3),1,0)));
三天法则:=tj3=1;
成立:=三天法则 and 突破;
条件成立:=filter(成立,3);
highn:=10;
lown:=10;
highdisplay:=0;
lowdisplay:=0;
zgdisplay:=0;
madisplay:=0;
aa:=ref(h,highn)=hhv(h,2*highn+1);
qy:=backset(aa,highn+1);
cc:=filter(qy,highn) and h=hhv(h,highn+1);
{drawicon(cc,h*1.02,2);}
ddd:=barslast(cc);
gdts:=if(cc,currbarscount,0);
dingbu:=if(ddd,ref(h,ddd),h);{顶部}
dingbuts:=if(ddd,ref(gdts,ddd),gdts);
dingbu1:=ref(dingbu,ddd+1);
gdcs1:=const(dingbuts);
dingbuts1:=ref(dingbuts,ddd+1);
gdcs2:=const(dingbuts1);
dingbu2:=ref(dingbu1,ddd+1);
mm:=if(currbarscount>gdcs2,0,1);
aa1:=ref(l,lown)=llv(l,2*lown+1);
qy1:=backset(aa1,lown+1);
cc1:=filter(qy1,lown) and l=llv(l,lown+1);
dd1:=barslast(cc1);
ddts:=if(cc1,currbarscount,0);
ydb:=if(dd1,ref(l,dd1),l);
ddts1:=if(dd1,ref(ddts,dd1),ddts);
ddcs1:=const(ddts1);
zdb:=ref(ydb,dd1+1);
ddts2:=ref(ddts1,dd1+1);
ddcs2:=const(ddts2);
var7:=0;
var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;
var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
var19:=ema(close,2)-ema(close,150);
买1:=var10;
买2:=(var11+var13+var15+var17);
卖1:=(var12+var14+var16+var18);
b:=if(买1>0 or 买2>0,low,drawnull),coloryellow;
s:=if(卖1>0,high,drawnull),colorgreen;
stickline(s,o,c,3,0),colore9e9ee;
stickline(s,o,c,2.5,0),colore5e5e5;
stickline(s,o,c,1.5,0),colorf7f7f7;
stickline(s,o,c,0.5,0),colorffffff;
drawtext(cross(s,卖1),s,'←'),colorwhite;
stickline(b,c,o,3,0),color009999;
stickline(b,c,o,2.5,0),color00bbbb;
stickline(b,c,o,1.5,0),color00dddd;
stickline(b,c,o,0.5,0),color00ffff;
drawtext(cross(b,买1),b,'←'),colorcyan;
zb:=ema(ema(var3,5),5)*3, colorstick;
vara:=if(var9 and cross(ma(close,3),ma(close,5)),20,0);
k:=ema(var7,5)*2, , colorff00ff;
d:=ema(k,5), , colorwhite;
j:=k*3-d*2, ,coloryellow;
varb:=between(close,ma(close,3),ma(close,5)) and j>10;
hs:=vol/capital*100, , colorgreen;
vare:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
varf:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
drawtext(var11 and count(var11,30)=1,low,'←机'),linethick5,coloryellow;
var1a:=if(vare>0,vare,0);
var1b:=if(var14>=200 and var13>=150,15,if(var14<=-200 and var13<=-150,-15,var16))+60;
var1c:=var1a>48 and var1b>60 and var19<100;
drawtext(var1c and count(var1c,30)=1,low,'顶(底)') colorwhite;
指标王:=cross(sma((close-llv(low,8))/(hhv(high,8)-llv(low,8))*100,3,1),sma(sma((close-llv(low,8))/(hhv(high,8)-llv(low,8))*100,3,1),3,1)) and sma((close-llv(low,8))/(hhv(high,8)-llv(low,8))*100,3,1)<20;
{指标王主力建仓:出现的主力建仓时,放心的买入,安心等待上涨。只求失败,指标王!}
drawtext(指标王,l,'←←主'),colorgreen;
drawtext(var1,l,'★买'),coloryellow;
drawtext(cross(ma(c,3),ma(c,9)) and c>=ref(c,1) and c>o,l,''),coloryellow;
{以下为主力、散户资金图}
drawrectrel(0,500,147,999.4,if(120,rgb(10,0,0),0));
压力:=ma(ref(hhv(c,30),1),2),colorabff46;
支撑:=ma(ref(llv(c,30),1),2),color9dffff;
总额:=amount;
买888:=if(o=c and (c-ref(c,1))/ref(c,1)*100>9.8,amount,amount/((h-l)*2-abs(o-c))*(c-l));
买%:=买888/amount*100;
流入:=amount*买%/10000000000;
流出:=amount/100000000-流入;
净流:=(流入-流出);
总额3:=sum(amount,3);
流入3:=sum(流入,3);
流出3:=sum(流出,3);
净流3:=sum(流入-流出,3);
总额5:=sum(amount,5);
流入5:=sum(流入,5);
流出5:=sum(流出,5);
净流5:=sum(流入-流出,5);
总额10:=sum(amount,10);
流入10:=sum(流入,10);
流出10:=sum(流出,10);
净流10:=sum(流入-流出,10);
画:=const(findhigh(总额10,0,190,1));
超b:=l2_amo(0,2)/10000.0;
大b:=l2_amo(1,2)/10000.0;
中b:=l2_amo(2,2)/10000.0;
小b:=l2_amo(3,2)/10000.0;
超s:=l2_amo(0,3)/10000.0;
大s:=l2_amo(1,3)/10000.0;
中s:=l2_amo(2,3)/10000.0;
小s:=l2_amo(3,3)/10000.0;
testskip(not(超b or 大b or 中b or 小b or 超s or 大s or 中s or 小s)!=0);
大宗进:=(超b)+(大b),nodraw;
大宗出:=(超s)+(大s),nodraw;
非大宗进:=(中b)+(小b),nodraw;
非大宗出:=(中s)+(小s),nodraw;
大宗进限制:=if((超b+大b)=0,0,大宗进);
大宗出限制:=if((超s+大s)=0,0,大宗出);
非大宗进限制:=if(中b+小b=0,0,非大宗进);
非大宗出限制:=if(中s+小s=0,0,非大宗出);
主力净流入:=(超b+大b)-(超s+大s),colorred,nodraw;
散户净流入:=(中b+小b)-(中s+小s),colorred,nodraw;
净流入:=(超b+大b+中b+小b)-(超s+大s+中s+小s),colorred,nodraw;
大单流入:=(超b+大b)/(超b+大b+超s+大s)*100,nodraw;
大单流入限制:=if((超b+大b+超s+大s)=0,0,大单流入);
大单流出比:=(超s+大s)/(超b+大b+超s+大s)*100,nodraw;
大单流出限制:=if((超b+大b+超s+大s)=0,0,大单流出比);
总流入比:=(超b+大b+中b+小b)/(超b+大b+中b+小b+超s+大s+中s+小s)*100,nodraw;
总流出比:=(超s+大s+中s+小s)/(超b+大b+中b+小b+超s+大s+中s+小s)*100,nodraw;
成交总量:=(超b+大b+中b+小b+超s+大s+中s+小s),nodraw;
机构参与度:=(超b+超s+大b+大s)/成交总量*100,coloryellow,nodraw;
大单强度:=(超b+大b-超s-大s)/成交总量*100,coloryellow,nodraw;
大单强度限制:=if(大单强度=0,-100,大单强度);
大单强度比:=if(大单强度>=0,(大单强度限制+100)/2,100-abs((大单强度限制-100)/2)),nodraw;
超单强度:=(超b-超s)/(超b+超s)*100,coloryellow,nodraw;
超单强度限制:=if(超单强度=0,-100,超单强度);
超单强度比:=if(超单强度>0,(超单强度限制+100)/2,if(超单强度<0,100-abs((超单强度限制-100)/2),0)),nodraw;
dazhiv:=const(max(abs(大宗进),max(abs(大宗出),max(abs(非大宗进),abs(非大宗出))))),nodraw;
drawrectrel(0,const(930-(abs(大宗进)*250/dazhiv)),35,950,if(const(大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(37,const(930-(abs(大宗出)*250/dazhiv)),72,950,if(const(大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawrectrel(75,const(930-(abs(非大宗进)*250/dazhiv)),110,950,if(const(非大宗进>0),rgb(255,0,0),rgb(23,125,255)));
drawrectrel(112,const(930-(abs(非大宗出)*250/dazhiv)),147,950,if(const(非大宗出>0),rgb(23,125,255),rgb(255,0,0)));
drawrectrel(150,const(940-(abs(净流入)*250/dazhiv))-20,190,950,if(const(净流入>0),rgb(200,0,0),rgb(0,125,50)));
drawtext_fix(currbarscount=1,0.0001,0.9,0,strcat('',con2str(大宗进/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.036,0.9,0,strcat('',con2str(大宗出/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.074,0.9,0,strcat('',con2str(非大宗进/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.111,0.9,0,strcat('',con2str(非大宗出/1,0))),coloryellow;
drawtext_fix(currbarscount=1,0.150,0.9,0,strcat('',con2str(净流入/1,0))),coloryellow;
drawtext_fix(1,0.000,0.96,0,strcat(strcat(' 主力买卖 ',con2str(主力净流入,0)),'万')),colormagenta;
drawtext_fix(1,0.078,0.96,0,strcat(strcat(' 散户买卖 ',con2str(散户净流入,0)),'万')),colorcyan;
drawtext_fix(currbarscount=1,0.145,0.96,0,' 净流入:(万)'),coloryellow;
主力买力度:=largeintrdvol*1000/vol;
主力卖力度:=largeouttrdvol*1000/vol;
aad:=const(max(abs(主力买力度),abs(主力卖力度)))*4,nodraw;
drawrectrel(0,515,const(abs(主力买力度)*560/aad),568,if(const(主力买力度)>0,rgb(255,0,0),rgb(0,50,0)));
drawrectrel(0,570,const(abs(主力卖力度)*560/aad),623,if(const(主力卖力度)>0,rgb(0,50,0),rgb(255,0,0)));
drawtext_fix(1,0,0.524,0,strcat('主买力度:',con2str(主力买力度,0))),coloryellow;
drawtext_fix(1,0,0.576,0,strcat('主卖力度:',con2str(主力卖力度,0))),coloryellow;
{dde显示}
ddx:=(largeintrdvol-largeouttrdvol)*1000/finance(7);
ddy:=if(tradenum>0,(tradeoutnum-tradeinnum)*100/tradenum,0);
ddz:=if(tradenum>0,(largetrdinnum-largetrdoutnum)/tradenum*100,0);
drawrectrel(150,500,192,540,if(const(ddx)>0,rgb(255,0,0),rgb(0,50,0)));
drawrectrel(150,545,192,585,if(const(ddy)>0,rgb(255,0,0),rgb(0,50,0)));
drawrectrel(150,590,192,630,if(const(ddz)>0,rgb(255,0,0),rgb(0,50,0)));
drawtext_fix(1,0.153,0.500,0,strcat('ddx:',con2str(ddx,1))),coloryellow,colorwhite;
drawtext_fix(1,0.153,0.548,0,strcat('ddy:',con2str(ddy,1))),coloryellow,colorwhite;
drawtext_fix(1,0.153,0.596,0,strcat('ddz:',con2str(ddz,1))),coloryellow,colorwhite;
t1:=if (ddx>0 and ref(ddx,1)<0,1,0);
t2:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)<0,2,t1);
t3:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)>0 and ref(ddx,3)<0,3,t2);
t4:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)>0 and ref(ddx,3)>0 and ref(ddx,4)<0,4,t3);
t5:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)>0 and ref(ddx,3)>0 and ref(ddx,4)>0 and ref(ddx,5)<0,5,t4);
t6:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)>0 and ref(ddx,3)>0 and ref(ddx,4)>0 and ref(ddx,5)>0 and ref(ddx,6)<0,6,t5);
t7:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)>0 and ref(ddx,3)>0 and ref(ddx,4)>0 and ref(ddx,5)>0 and ref(ddx,6)>0 and ref(ddx,7)<0,7,t6);
t8:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)>0 and ref(ddx,3)>0 and ref(ddx,4)>0 and ref(ddx,5)>0 and ref(ddx,6)>0 and ref(ddx,7)>0 and ref(ddx,8)<0,8,t7);
t9:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)>0 and ref(ddx,3)>0 and ref(ddx,4)>0 and ref(ddx,5)>0 and ref(ddx,6)>0 and ref(ddx,7)>0 and ref(ddx,8)>0 and ref(ddx,9)<0,9,t8);
t:=if (ddx>0 and ref(ddx,1)>0 and ref(ddx,2)>0 and ref(ddx,3)>0 and ref(ddx,4)>0 and ref(ddx,5)>0 and ref(ddx,6)>0 and ref(ddx,7)>0 and ref(ddx,8)>0 and ref(ddx,9)>0,10,t9);
drawtext_fix(1,0.190,0.500,0,strcat(strcat(' ',con2str(t,0)),' [天] ')),coloryellow;
t11:=if (ddy>0 and ref(ddy,1)<0,1,0);
t21:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)<0,2,t11);
t31:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)>0 and ref(ddy,3)<0,3,t21);
t41:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)>0 and ref(ddy,3)>0 and ref(ddy,4)<0,4,t31);
t51:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)>0 and ref(ddy,3)>0 and ref(ddy,4)>0 and ref(ddy,5)<0,5,t41);
t61:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)>0 and ref(ddy,3)>0 and ref(ddy,4)>0 and ref(ddy,5)>0 and ref(ddy,6)<0,6,t51);
t71:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)>0 and ref(ddy,3)>0 and ref(ddy,4)>0 and ref(ddy,5)>0 and ref(ddy,6)>0 and ref(ddy,7)<0,7,t61);
t81:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)>0 and ref(ddy,3)>0 and ref(ddy,4)>0 and ref(ddy,5)>0 and ref(ddy,6)>0 and ref(ddy,7)>0 and ref(ddy,8)<0,8,t71);
t91:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)>0 and ref(ddy,3)>0 and ref(ddy,4)>0 and ref(ddy,5)>0 and ref(ddy,6)>0 and ref(ddy,7)>0 and ref(ddy,8)>0 and ref(ddy,9)<0,9,t81);
ty01:=if (ddy>0 and ref(ddy,1)>0 and ref(ddy,2)>0 and ref(ddy,3)>0 and ref(ddy,4)>0 and ref(ddy,5)>0 and ref(ddy,6)>0 and ref(ddy,7)>0 and ref(ddy,8)>0 and ref(ddy,9)>0,10,t91);
drawtext_fix(1,0.190,0.548,0,strcat(strcat(' ',con2str(ty01,0)),' [天] ')),coloryellow;
t1z:=if (ddz>0 and ref(ddz,2)<0,1,0);
t2z:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)<0,2,t1z);
t3z:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)>0 and ref(ddz,3)<0,3,t2z);
t4z:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)>0 and ref(ddz,3)>0 and ref(ddz,4)<0,4,t3z);
t5z:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)>0 and ref(ddz,3)>0 and ref(ddz,4)>0 and ref(ddz,5)<0,5,t4z);
t6z:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)>0 and ref(ddz,3)>0 and ref(ddz,4)>0 and ref(ddz,5)>0 and ref(ddz,6)<0,6,t5z);
t7z:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)>0 and ref(ddz,3)>0 and ref(ddz,4)>0 and ref(ddz,5)>0 and ref(ddz,6)>0 and ref(ddz,7)<0,7,t6z);
t8z:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)>0 and ref(ddz,3)>0 and ref(ddz,4)>0 and ref(ddz,5)>0 and ref(ddz,6)>0 and ref(ddz,7)>0 and ref(ddz,8)<0,8,t7z);
t9z:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)>0 and ref(ddz,3)>0 and ref(ddz,4)>0 and ref(ddz,5)>0 and ref(ddz,6)>0 and ref(ddz,7)>0 and ref(ddz,8)>0 and ref(ddz,9)<0,9,t8z);
tz:=if (ddz>0 and ref(ddz,1)>0 and ref(ddz,2)>0 and ref(ddz,3)>0 and ref(ddz,4)>0 and ref(ddz,5)>0 and ref(ddz,6)>0 and ref(ddz,7)>0 and ref(ddz,8)>0 and ref(ddz,9)>0,10,t9z);
drawtext_fix(1,0.190,0.596,0,strcat(strcat(' ',con2str(tz,0)),' [天] ')),coloryellow;
上一指标公式:超赢天下 通达信天下
下一指标公式:资金统计 通达信资金
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文平台启动主图 通达信启动仅供学习研究。