{涨跌停价格显示};
aa:=(c-ref(c,1))/ref(c,1)*100;
zs:=(namelike('st') or namelike('*st') or namelike('s')) and aa>=4.945;
ds:=(namelike('st') or namelike('*st') or namelike('s')) and aa<=-4.945;
涨停价:if(zs,ref(c,1)*1.05,ref(c,1)*1.1),nodraw,colorred;
跌停价:if(ds,ref(c,1)*0.95,ref(c,1)*0.9),nodraw,colorgreen;
{涨跌停k线标识};
st:=namelike('st')=1 or namelike('*st')=1 or namelike('sst')=1
or namelike('s*st')=1 or namelike('s st')=1;
涨停:=c=ztprice(ref(close,1),0.1) or (c/ref(c,1)>1.0495 and st);
跌停:=ref(c,1)/c>1.0995 or (ref(c,1)/c>1.0495 and st);
stickline(涨停,c,o,3,0),colormagenta;
stickline(跌停,c,o,3,0),colorgreen;
drawicon(h=ztprice(ref(close,1),0.1) and c!=h,l*0.965,15);
ldm4:=const(hhv(ref(high,1),240));
ldm5:=const(llv(ref(low,1),240));
ldm6:=ldm4-ldm5;
ldm7:=low-ldm6*0.03;
ldm8:=high+ldm6*0.03;
ldm9:=close>500;
ldm10:=max(close,open);
ldm11:=min(close,open);
ldm12:=0;
ldm13:=1;
ldm14:=if(ldm9,high,ldm10);
ldm15:=if(ldm9,low,ldm11);
ldm16:=if(close>open,if(ldm13=0,low,ldm15),if(ldm13=0,high,ldm14));
ldm17:=2/1000;
ldm18:=currbarscount;
ldm19:=400;
ldm20:=ldm18<=ldm19;
ldm21:=low;
ldm22:=if(ldm12=0,ldm21,ref(ldm12,ldm12));
基准价:if(ldm20,const(ldm22),drawnull),dotline,colorred;
ldm23:=基准价;
ldm24:=ldm23*ldm17;
ldm25:=abs(low-ldm23)<=ldm24;
ldm26:=abs(open-ldm23)<=ldm24;
ldm27:=abs(close-ldm23)<=ldm24;
ldm28:=abs(high-ldm23)<=ldm24;
ldm29:=ldm25 or ldm26 or ldm27 or ldm28 and ldm20 and ldm18!=1;
ldm30:=count(ldm29,ldm19);
精准点个数:if(ldm30>0,ldm30+1,0),nodraw,colorred;
{假阳真阴}
均价:=amount/vol/100;
假阳:=c>o and ref(c,1)>均价 and c>均价 and c<300 ;
stickline(假阳,o,c,1,0)colorlicyan;
标志阴:=ref(c,1)/c>1.04;
stickline(标志阴,o,c,1,0)colorwhite;
{假阴真阳}
假阴:=o>c and 均价>ref(c,1) and c>ma(c,5);
stickline(假阴,o,c,1,0),colorred;
第一组:=ref(h-ref(l,1),1);
第二组:=ref(ref(h,1)-ref(l,2),1);
第三组:=ref(ref(h,2)-ref(l,3),1);
平均值:=(第一组+第二组+第三组)/3;
上线:=平均值+ref(l,1);
平均波动:=ref(((h-l)+(ref(h,1)-ref(l,1))+(ref(h,2)-ref(l,2)))/3,1);
下线:=上线-平均波动;
中线:=(上线+下线)/2;
d_2r3_zq1:=currbarscount<2;
d_2r3_zq2:=currbarscount<13;
d_2r3x1:=if(d_2r3_zq1, 上线, drawnull);
d_2r3x2:=if(d_2r3_zq1, 中线, drawnull);
d_2r3x3:=if(d_2r3_zq1, 下线, drawnull);
d_2r3x11:if(d_2r3_zq2,d_2r3x1,drawnull);
d_2r3x12:if(d_2r3_zq2,d_2r3x2,drawnull);
d_2r3x13:if(d_2r3_zq2,d_2r3x3,drawnull);
stickline(d_2r3_zq2 ,d_2r3x11,d_2r3x11,20,-1),colorliblue;
stickline(d_2r3_zq2 ,d_2r3x12,d_2r3x12,20,-1),coloryellow;
stickline(d_2r3_zq2 ,d_2r3x13,d_2r3x13,20,-1),colorwhite;
drawtext(d_2r3_zq1,d_2r3x11,' 上线'),colorliblue;
drawtext(d_2r3_zq1,d_2r3x12,' 中线'),colormagenta;
drawtext(d_2r3_zq1,d_2r3x13,' 下线'),colorwhite;
drawtext_fix(islastbar and c<上线 and c>中线 and c<=o,0.85,0.95,0,'【高不过,必回落】'),colorwhite;
drawtext_fix(islastbar and c<中线 and c>下线 and c<=o,0.85,0.95,0,'【中线破,快逃脱】'),colorwhite;
drawtext_fix( islastbar and c<下线 , 0.85,0.95,0,'【下线破,把路夺】'),colorwhite;
drawtext_fix( islastbar and c>上线 and c>o , 0.85,0.95,0,'【上线过,可做多】'),colorwhite;
drawtext_fix( islastbar and c>中线 and c<上线 and c>o, 0.85,0.95,0,'【中线过,分强弱】'),colorwhite;
drawtext_fix( islastbar and c>下线 and c<中线 and c>o, 0.85,0.95,0,'【中线下,走势弱】'),colorwhite;
上榜:=signals_user(300, 0), nodraw; {上榜金额>1,则表示上榜了,这个是上榜总金额}
净买入:=signals_user(299, 0), nodraw;
大宗 :=signals_user(298, 0), nodraw; {大宗交易, 大宗交易的价格超过收盘价,叫溢价,低于收盘价叫折价}
name_298 := '↖ 大宗:';
outtext_298:=varcat(varcat(name_298, ' '), var2str(大宗, 0)), nodraw;
drawtext((大宗>=0),o,outtext_298),colord2d2d2;
drawtext((大宗<=0),o,outtext_298),colord2d2d2;
name_515 := '↖东兴福州系: ';
buy_515 := signals_user(515, 0);
xsw_515 := round( (abs(fracpart(buy_515))) * 100.0 );
b1_515:= if((xsw_515>=8) && (xsw_515<18), '买1,', '');
b2_515:= if((xsw_515>=18) && (xsw_515<28), '买2,', '');
b3_515:= if((xsw_515>=28) && (xsw_515<38), '买3,', '');
b4_515:= if((xsw_515>=38) && (xsw_515<48), '买4,', '');
b5_515:= if((xsw_515>=48) && (xsw_515<58), '买5,', '');
xsw2_515 := if(xsw_515>10.0, round(fracpart(xsw_515/10) * 10), xsw_515);
s1_515:= if((xsw2_515>=0.8 ) && (xsw2_515<1.7 ) || (xsw2_515=1.0), '卖1,', '');
s2_515:= if((xsw2_515>=2.1 ) && (xsw2_515<2.7 ) || (xsw2_515=2.0), '卖2,', '');
s3_515:= if((xsw2_515>=3.1 ) && (xsw2_515<3.7 ) || (xsw2_515=3.0), '卖3,', '');
s4_515:= if((xsw2_515>=4.1 ) && (xsw2_515<4.7 ) || (xsw2_515=4.0), '卖4,', '');
s5_515:= if((xsw2_515>5.1 ) && (xsw2_515<5.7 ) || (xsw2_515=5.0), '卖5,', '');
text2_515:= varcat(varcat(varcat(varcat(varcat(name_515, b1_515), b2_515), b3_515), b4_515), b5_515);
text3_515:= varcat(varcat(varcat(varcat(varcat(text2_515, s1_515), s2_515), s3_515), s4_515), s5_515);
outtext_515:= varcat(varcat(text3_515, ' '), var2str(buy_515 , 0)), nodraw;
wz1_515 := if((xsw_515>=8) && (xsw_515<56), 104-xsw_515, 1);
wz6_515 := if( (xsw2_515>=1.0) && (xsw2_515 <= 6), 50-xsw2_515*8, 0);
twz_515 := if(xsw_515>=8.0, 1*wz1_515, 1*wz6_515 );
drawtext( (abs(buy_515) >= 10) and (twz_515>=1),l, outtext_515), colorccffc9;
name_514 := '↖朝阳门系: ';
buy_514 := signals_user(514, 0);
xsw_514 := round( (abs(fracpart(buy_514))) * 100.0 );
b1_514:= if((xsw_514>=8) && (xsw_514<18), '买1,', '');
b2_514:= if((xsw_514>=18) && (xsw_514<28), '买2,', '');
b3_514:= if((xsw_514>=28) && (xsw_514<38), '买3,', '');
b4_514:= if((xsw_514>=38) && (xsw_514<48), '买4,', '');
b5_514:= if((xsw_514>=48) && (xsw_514<58), '买5,', '');
xsw2_514 := if(xsw_514>10.0, round(fracpart(xsw_514/10) * 10), xsw_514);
s1_514:= if((xsw2_514>=0.8 ) && (xsw2_514<1.7 ) || (xsw2_514=1.0), '卖1,', '');
s2_514:= if((xsw2_514>=2.1 ) && (xsw2_514<2.7 ) || (xsw2_514=2.0), '卖2,', '');
s3_514:= if((xsw2_514>=3.1 ) && (xsw2_514<3.7 ) || (xsw2_514=3.0), '卖3,', '');
s4_514:= if((xsw2_514>=4.1 ) && (xsw2_514<4.7 ) || (xsw2_514=4.0), '卖4,', '');
s5_514:= if((xsw2_514>5.1 ) && (xsw2_514<5.7 ) || (xsw2_514=5.0), '卖5,', '');
text2_514:= varcat(varcat(varcat(varcat(varcat(name_514, b1_514), b2_514), b3_514), b4_514), b5_514);
text3_514:= varcat(varcat(varcat(varcat(varcat(text2_514, s1_514), s2_514), s3_514), s4_514), s5_514);
outtext_514:= varcat(varcat(text3_514, ' '), var2str(buy_514 , 0)), nodraw;
wz1_514 := if((xsw_514>=8) && (xsw_514<56), 104-xsw_514, 1);
wz6_514 := if( (xsw2_514>=1.0) && (xsw2_514 <= 6), 50-xsw2_514*8, 0);
twz_514 := if(xsw_514>=8.0, 1*wz1_514, 1*wz6_514 );
drawtext( (abs(buy_514) >= 10) and (twz_514>=1), l, outtext_514), colorccffce;
name_513 := '↖绍兴系: ';
buy_513 := signals_user(513, 0);
xsw_513 := round( (abs(fracpart(buy_513))) * 100.0 );
b1_513:= if((xsw_513>=8) && (xsw_513<18), '买1,', '');
b2_513:= if((xsw_513>=18) && (xsw_513<28), '买2,', '');
b3_513:= if((xsw_513>=28) && (xsw_513<38), '买3,', '');
b4_513:= if((xsw_513>=38) && (xsw_513<48), '买4,', '');
b5_513:= if((xsw_513>=48) && (xsw_513<58), '买5,', '');
xsw2_513 := if(xsw_513>10.0, round(fracpart(xsw_513/10) * 10), xsw_513);
s1_513:= if((xsw2_513>=0.8 ) && (xsw2_513<1.7 ) || (xsw2_513=1.0), '卖1,', '');
s2_513:= if((xsw2_513>=2.1 ) && (xsw2_513<2.7 ) || (xsw2_513=2.0), '卖2,', '');
s3_513:= if((xsw2_513>=3.1 ) && (xsw2_513<3.7 ) || (xsw2_513=3.0), '卖3,', '');
s4_513:= if((xsw2_513>=4.1 ) && (xsw2_513<4.7 ) || (xsw2_513=4.0), '卖4,', '');
s5_513:= if((xsw2_513>5.1 ) && (xsw2_513<5.7 ) || (xsw2_513=5.0), '卖5,', '');
text2_513:= varcat(varcat(varcat(varcat(varcat(name_513, b1_513), b2_513), b3_513), b4_513), b5_513);
text3_513:= varcat(varcat(varcat(varcat(varcat(text2_513, s1_513), s2_513), s3_513), s4_513), s5_513);
outtext_513:= varcat(varcat(text3_513, ' '), var2str(buy_513 , 0)), nodraw;
wz1_513 := if((xsw_513>=8) && (xsw_513<56), 104-xsw_513, 1);
wz6_513 := if( (xsw2_513>=1.0) && (xsw2_513 <= 6), 50-xsw2_513*8, 0);
twz_513 := if(xsw_513>=8.0, 1*wz1_513, 1*wz6_513 );
drawtext( (abs(buy_513) >= 10) and (twz_513>=1),l, outtext_513), color8000ff;
name_512 := '↖华鑫系: ';
buy_512 := signals_user(512, 0);
xsw_512 := round( (abs(fracpart(buy_512))) * 100.0 );
b1_512:= if((xsw_512>=8) && (xsw_512<18), '买1,', '');
b2_512:= if((xsw_512>=18) && (xsw_512<28), '买2,', '');
b3_512:= if((xsw_512>=28) && (xsw_512<38), '买3,', '');
b4_512:= if((xsw_512>=38) && (xsw_512<48), '买4,', '');
b5_512:= if((xsw_512>=48) && (xsw_512<58), '买5,', '');
xsw2_512 := if(xsw_512>10.0, round(fracpart(xsw_512/10) * 10), xsw_512);
s1_512:= if((xsw2_512>=0.8 ) && (xsw2_512<1.7 ) || (xsw2_512=1.0), '卖1,', '');
s2_512:= if((xsw2_512>=2.1 ) && (xsw2_512<2.7 ) || (xsw2_512=2.0), '卖2,', '');
s3_512:= if((xsw2_512>=3.1 ) && (xsw2_512<3.7 ) || (xsw2_512=3.0), '卖3,', '');
s4_512:= if((xsw2_512>=4.1 ) && (xsw2_512<4.7 ) || (xsw2_512=4.0), '卖4,', '');
s5_512:= if((xsw2_512>5.1 ) && (xsw2_512<5.7 ) || (xsw2_512=5.0), '卖5,', '');
text2_512:= varcat(varcat(varcat(varcat(varcat(name_512, b1_512), b2_512), b3_512), b4_512), b5_512);
text3_512:= varcat(varcat(varcat(varcat(varcat(text2_512, s1_512), s2_512), s3_512), s4_512), s5_512);
outtext_512:= varcat(varcat(text3_512, ' '), var2str(buy_512 , 0)), nodraw;
wz1_512 := if((xsw_512>=8) && (xsw_512<56), 104-xsw_512, 1);
wz6_512 := if( (xsw2_512>=1.0) && (xsw2_512 <= 6), 50-xsw2_512*8, 0);
twz_512 := if(xsw_512>=8.0, 1*wz1_512, 1*wz6_512 );
drawtext( (abs(buy_512) >= 10) and (twz_512>=1),l, outtext_512), color9900cc;
name_511 := '↖武定系: ';
buy_511 := signals_user(511, 0);
xsw_511 := round( (abs(fracpart(buy_511))) * 100.0 );
b1_511:= if((xsw_511>=8) && (xsw_511<18), '买1,', '');
b2_511:= if((xsw_511>=18) && (xsw_511<28), '买2,', '');
b3_511:= if((xsw_511>=28) && (xsw_511<38), '买3,', '');
b4_511:= if((xsw_511>=38) && (xsw_511<48), '买4,', '');
b5_511:= if((xsw_511>=48) && (xsw_511<58), '买5,', '');
xsw2_511 := if(xsw_511>10.0, round(fracpart(xsw_511/10) * 10), xsw_511);
s1_511:= if((xsw2_511>=0.8 ) && (xsw2_511<1.7 ) || (xsw2_511=1.0), '卖1,', '');
s2_511:= if((xsw2_511>=2.1 ) && (xsw2_511<2.7 ) || (xsw2_511=2.0), '卖2,', '');
s3_511:= if((xsw2_511>=3.1 ) && (xsw2_511<3.7 ) || (xsw2_511=3.0), '卖3,', '');
s4_511:= if((xsw2_511>=4.1 ) && (xsw2_511<4.7 ) || (xsw2_511=4.0), '卖4,', '');
s5_511:= if((xsw2_511>5.1 ) && (xsw2_511<5.7 ) || (xsw2_511=5.0), '卖5,', '');
text2_511:= varcat(varcat(varcat(varcat(varcat(name_511, b1_511), b2_511), b3_511), b4_511), b5_511);
text3_511:= varcat(varcat(varcat(varcat(varcat(text2_511, s1_511), s2_511), s3_511), s4_511), s5_511);
outtext_511:= varcat(varcat(text3_511, ' '), var2str(buy_511 , 0)), nodraw;
wz1_511 := if((xsw_511>=8) && (xsw_511<56), 104-xsw_511, 1);
wz6_511 := if( (xsw2_511>=1.0) && (xsw2_511 <= 6), 50-xsw2_511*8, 0);
twz_511 := if(xsw_511>=8.0, 1*wz1_511, 1*wz6_511 );
drawtext( (abs(buy_511) >= 10) and (twz_511>=1), l, outtext_511), colorff33ff;
name_510 := '↖南通系: ';{}
buy_510 := signals_user(510, 0);
xsw_510 := round( (abs(fracpart(buy_510))) * 100.0 );
b1_510:= if((xsw_510>=8) && (xsw_510<18), '买1,', '');
b2_510:= if((xsw_510>=18) && (xsw_510<28), '买2,', '');
b3_510:= if((xsw_510>=28) && (xsw_510<38), '买3,', '');
b4_510:= if((xsw_510>=38) && (xsw_510<48), '买4,', '');
b5_510:= if((xsw_510>=48) && (xsw_510<58), '买5,', '');
xsw2_510 := if(xsw_510>10.0, round(fracpart(xsw_510/10) * 10), xsw_510);
s1_510:= if((xsw2_510>=0.8 ) && (xsw2_510<1.7 ) || (xsw2_510=1.0), '卖1,', '');
s2_510:= if((xsw2_510>=2.1 ) && (xsw2_510<2.7 ) || (xsw2_510=2.0), '卖2,', '');
s3_510:= if((xsw2_510>=3.1 ) && (xsw2_510<3.7 ) || (xsw2_510=3.0), '卖3,', '');
s4_510:= if((xsw2_510>=4.1 ) && (xsw2_510<4.7 ) || (xsw2_510=4.0), '卖4,', '');
s5_510:= if((xsw2_510>5.1 ) && (xsw2_510<5.7 ) || (xsw2_510=5.0), '卖5,', '');
text2_510:= varcat(varcat(varcat(varcat(varcat(name_510, b1_510), b2_510), b3_510), b4_510), b5_510);
text3_510:= varcat(varcat(varcat(varcat(varcat(text2_510, s1_510), s2_510), s3_510), s4_510), s5_510);
outtext_510:= varcat(varcat(text3_510, ' '), var2str(buy_510 , 0)), nodraw;
wz1_510 := if((xsw_510>=8) && (xsw_510<56), 104-xsw_510, 1);
wz6_510 := if( (xsw2_510>=1.0) && (xsw2_510 <= 6), 50-xsw2_510*8, 0);
twz_510 := if(xsw_510>=8.0, 1*wz1_510, 1*wz6_510 );
drawtext( (abs(buy_510) >= 10) and (twz_510>=1),l, outtext_510), color333399;
name_509 := '↖国金系: ';
buy_509 := signals_user(509, 0);
xsw_509 := round( (abs(fracpart(buy_509))) * 100.0 );
b1_509:= if((xsw_509>=8) && (xsw_509<18), '买1,', '');
b2_509:= if((xsw_509>=18) && (xsw_509<28), '买2,', '');
b3_509:= if((xsw_509>=28) && (xsw_509<38), '买3,', '');
b4_509:= if((xsw_509>=38) && (xsw_509<48), '买4,', '');
b5_509:= if((xsw_509>=48) && (xsw_509<58), '买5,', '');
xsw2_509 := if(xsw_509>10.0, round(fracpart(xsw_509/10) * 10), xsw_509);
s1_509:= if((xsw2_509>=0.8 ) && (xsw2_509<1.7 ) || (xsw2_509=1.0), '卖1,', '');
s2_509:= if((xsw2_509>=2.1 ) && (xsw2_509<2.7 ) || (xsw2_509=2.0), '卖2,', '');
s3_509:= if((xsw2_509>=3.1 ) && (xsw2_509<3.7 ) || (xsw2_509=3.0), '卖3,', '');
s4_509:= if((xsw2_509>=4.1 ) && (xsw2_509<4.7 ) || (xsw2_509=4.0), '卖4,', '');
s5_509:= if((xsw2_509>5.1 ) && (xsw2_509<5.7 ) || (xsw2_509=5.0), '卖5,', '');
text2_509:= varcat(varcat(varcat(varcat(varcat(name_509, b1_509), b2_509), b3_509), b4_509), b5_509);
text3_509:= varcat(varcat(varcat(varcat(varcat(text2_509, s1_509), s2_509), s3_509), s4_509), s5_509);
outtext_509:= varcat(varcat(text3_509, ' '), var2str(buy_509 , 0)), nodraw;
wz1_509 := if((xsw_509>=8) && (xsw_509<56), 104-xsw_509, 1);
wz6_509 := if( (xsw2_509>=1.0) && (xsw2_509 <= 6), 50-xsw2_509*8, 0);
twz_509 := if(xsw_509>=8.0, 1*wz1_509, 1*wz6_509 );
drawtext( (abs(buy_509) >= 10) and (twz_509>=1),l, outtext_509), color333399;
name_508 := '↖佛山系: ';
buy_508 := signals_user(508, 0);
xsw_508 := round( (abs(fracpart(buy_508))) * 100.0 );
b1_508:= if((xsw_508>=8) && (xsw_508<18), '买1,', '');
b2_508:= if((xsw_508>=18) && (xsw_508<28), '买2,', '');
b3_508:= if((xsw_508>=28) && (xsw_508<38), '买3,', '');
b4_508:= if((xsw_508>=38) && (xsw_508<48), '买4,', '');
b5_508:= if((xsw_508>=48) && (xsw_508<58), '买5,', '');
xsw2_508 := if(xsw_508>10.0, round(fracpart(xsw_508/10) * 10), xsw_508);
s1_508:= if((xsw2_508>=0.8 ) && (xsw2_508<1.7 ) || (xsw2_508=1.0), '卖1,', '');
s2_508:= if((xsw2_508>=2.1 ) && (xsw2_508<2.7 ) || (xsw2_508=2.0), '卖2,', '');
s3_508:= if((xsw2_508>=3.1 ) && (xsw2_508<3.7 ) || (xsw2_508=3.0), '卖3,', '');
s4_508:= if((xsw2_508>=4.1 ) && (xsw2_508<4.7 ) || (xsw2_508=4.0), '卖4,', '');
s5_508:= if((xsw2_508>5.1 ) && (xsw2_508<5.7 ) || (xsw2_508=5.0), '卖5,', '');
text2_508:= varcat(varcat(varcat(varcat(varcat(name_508, b1_508), b2_508), b3_508), b4_508), b5_508);
text3_508:= varcat(varcat(varcat(varcat(varcat(text2_508, s1_508), s2_508), s3_508), s4_508), s5_508);
outtext_508:= varcat(varcat(text3_508, ' '), var2str(buy_508 , 0)), nodraw;
wz1_508 := if((xsw_508>=8) && (xsw_508<56), 104-xsw_508, 1);
wz6_508 := if( (xsw2_508>=1.0) && (xsw2_508 <= 6), 50-xsw2_508*8, 0);
twz_508 := if(xsw_508>=8.0, 1*wz1_508, 1*wz6_508 );
drawtext( (abs(buy_508) >= 10) and (twz_508>=1), l, outtext_508), color66ffff;
name_507 := '↖金田系: ';
buy_507 := signals_user(507, 0);
xsw_507 := round( (abs(fracpart(buy_507))) * 100.0 );
b1_507:= if((xsw_507>=8) && (xsw_507<18), '买1,', '');
b2_507:= if((xsw_507>=18) && (xsw_507<28), '买2,', '');
b3_507:= if((xsw_507>=28) && (xsw_507<38), '买3,', '');
b4_507:= if((xsw_507>=38) && (xsw_507<48), '买4,', '');
b5_507:= if((xsw_507>=48) && (xsw_507<58), '买5,', '');
xsw2_507 := if(xsw_507>10.0, round(fracpart(xsw_507/10) * 10), xsw_507);
s1_507:= if((xsw2_507>=0.8 ) && (xsw2_507<1.7 ) || (xsw2_507=1.0), '卖1,', '');
s2_507:= if((xsw2_507>=2.1 ) && (xsw2_507<2.7 ) || (xsw2_507=2.0), '卖2,', '');
s3_507:= if((xsw2_507>=3.1 ) && (xsw2_507<3.7 ) || (xsw2_507=3.0), '卖3,', '');
s4_507:= if((xsw2_507>=4.1 ) && (xsw2_507<4.7 ) || (xsw2_507=4.0), '卖4,', '');
s5_507:= if((xsw2_507>5.1 ) && (xsw2_507<5.7 ) || (xsw2_507=5.0), '卖5,', '');
text2_507:= varcat(varcat(varcat(varcat(varcat(name_507, b1_507), b2_507), b3_507), b4_507), b5_507);
text3_507:= varcat(varcat(varcat(varcat(varcat(text2_507, s1_507), s2_507), s3_507), s4_507), s5_507);
outtext_507:= varcat(varcat(text3_507, ' '), var2str(buy_507 , 0)), nodraw;
wz1_507 := if((xsw_507>=8) && (xsw_507<56), 104-xsw_507, 1);
wz6_507 := if( (xsw2_507>=1.0) && (xsw2_507 <= 6), 50-xsw2_507*8, 0);
twz_507 := if(xsw_507>=8.0, 1*wz1_507, 1*wz6_507 );
drawtext( (abs(buy_507) >= 10) and (twz_507>=1), l , outtext_507), color66ffcc;
name_506 := '↖宁波系: ';{}
buy_506 := signals_user(506, 0);
xsw_506 := round( (abs(fracpart(buy_506))) * 100.0 );
b1_506:= if((xsw_506>=8) && (xsw_506<18), '买1,', '');
b2_506:= if((xsw_506>=18) && (xsw_506<28), '买2,', '');
b3_506:= if((xsw_506>=28) && (xsw_506<38), '买3,', '');
b4_506:= if((xsw_506>=38) && (xsw_506<48), '买4,', '');
b5_506:= if((xsw_506>=48) && (xsw_506<58), '买5,', '');
xsw2_506 := if(xsw_506>10.0, round(fracpart(xsw_506/10) * 10), xsw_506);
s1_506:= if((xsw2_506>=0.8 ) && (xsw2_506<1.7 ) || (xsw2_506=1.0), '卖1,', '');
s2_506:= if((xsw2_506>=2.1 ) && (xsw2_506<2.7 ) || (xsw2_506=2.0), '卖2,', '');
s3_506:= if((xsw2_506>=3.1 ) && (xsw2_506<3.7 ) || (xsw2_506=3.0), '卖3,', '');
s4_506:= if((xsw2_506>=4.1 ) && (xsw2_506<4.7 ) || (xsw2_506=4.0), '卖4,', '');
s5_506:= if((xsw2_506>5.1 ) && (xsw2_506<5.7 ) || (xsw2_506=5.0), '卖5,', '');
text2_506:= varcat(varcat(varcat(varcat(varcat(name_506, b1_506), b2_506), b3_506), b4_506), b5_506);
text3_506:= varcat(varcat(varcat(varcat(varcat(text2_506, s1_506), s2_506), s3_506), s4_506), s5_506);
outtext_506:= varcat(varcat(text3_506, ' '), var2str(buy_506 , 0)), nodraw;
wz1_506 := if((xsw_506>=8) && (xsw_506<56), 104-xsw_506, 1);
wz6_506 := if( (xsw2_506>=1.0) && (xsw2_506 <= 6), 50-xsw2_506*8, 0);
twz_506 := if(xsw_506>=8.0, 1*wz1_506, 1*wz6_506 );
drawtext( (abs(buy_506) >= 10) and (twz_506>=1),l, outtext_506), color3300cc;
name_505 := '↖南京系: ';
buy_505 := signals_user(505, 0);
xsw_505 := round( (abs(fracpart(buy_505))) * 100.0 );
b1_505:= if((xsw_505>=8) && (xsw_505<18), '买1,', '');
b2_505:= if((xsw_505>=18) && (xsw_505<28), '买2,', '');
b3_505:= if((xsw_505>=28) && (xsw_505<38), '买3,', '');
b4_505:= if((xsw_505>=38) && (xsw_505<48), '买4,', '');
b5_505:= if((xsw_505>=48) && (xsw_505<58), '买5,', '');
xsw2_505 := if(xsw_505>10.0, round(fracpart(xsw_505/10) * 10), xsw_505);
s1_505:= if((xsw2_505>=0.8 ) && (xsw2_505<1.7 ) || (xsw2_505=1.0), '卖1,', '');
s2_505:= if((xsw2_505>=2.1 ) && (xsw2_505<2.7 ) || (xsw2_505=2.0), '卖2,', '');
s3_505:= if((xsw2_505>=3.1 ) && (xsw2_505<3.7 ) || (xsw2_505=3.0), '卖3,', '');
s4_505:= if((xsw2_505>=4.1 ) && (xsw2_505<4.7 ) || (xsw2_505=4.0), '卖4,', '');
s5_505:= if((xsw2_505>5.1 ) && (xsw2_505<5.7 ) || (xsw2_505=5.0), '卖5,', '');
text2_505:= varcat(varcat(varcat(varcat(varcat(name_505, b1_505), b2_505), b3_505), b4_505), b5_505);
text3_505:= varcat(varcat(varcat(varcat(varcat(text2_505, s1_505), s2_505), s3_505), s4_505), s5_505);
outtext_505:= varcat(varcat(text3_505, ' '), var2str(buy_505 , 0)), nodraw;
wz1_505 := if((xsw_505>=8) && (xsw_505<56), 104-xsw_505, 1);
wz6_505 := if( (xsw2_505>=1.0) && (xsw2_505 <= 6), 50-xsw2_505*8, 0);
twz_505 := if(xsw_505>=8.0, 1*wz1_505, 1*wz6_505 );
drawtext( (abs(buy_505) >= 10) and (twz_505>=1),l, outtext_505), colorccff01;
name_504 := '↖温州系: ';
buy_504 := signals_user(504, 0);
xsw_504 := round( (abs(fracpart(buy_504))) * 100.0 );
b1_504:= if((xsw_504>=8) && (xsw_504<18), '买1,', '');
b2_504:= if((xsw_504>=18) && (xsw_504<28), '买2,', '');
b3_504:= if((xsw_504>=28) && (xsw_504<38), '买3,', '');
b4_504:= if((xsw_504>=38) && (xsw_504<48), '买4,', '');
b5_504:= if((xsw_504>=48) && (xsw_504<58), '买5,', '');
xsw2_504 := if(xsw_504>10.0, round(fracpart(xsw_504/10) * 10), xsw_504);
s1_504:= if((xsw2_504>=0.8 ) && (xsw2_504<1.7 ) || (xsw2_504=1.0), '卖1,', '');
s2_504:= if((xsw2_504>=2.1 ) && (xsw2_504<2.7 ) || (xsw2_504=2.0), '卖2,', '');
s3_504:= if((xsw2_504>=3.1 ) && (xsw2_504<3.7 ) || (xsw2_504=3.0), '卖3,', '');
s4_504:= if((xsw2_504>=4.1 ) && (xsw2_504<4.7 ) || (xsw2_504=4.0), '卖4,', '');
s5_504:= if((xsw2_504>5.1 ) && (xsw2_504<5.7 ) || (xsw2_504=5.0), '卖5,', '');
text2_504:= varcat(varcat(varcat(varcat(varcat(name_504, b1_504), b2_504), b3_504), b4_504), b5_504);
text3_504:= varcat(varcat(varcat(varcat(varcat(text2_504, s1_504), s2_504), s3_504), s4_504), s5_504);
outtext_504:= varcat(varcat(text3_504, ' '), var2str(buy_504 , 0)), nodraw;
wz1_504 := if((xsw_504>=8) && (xsw_504<56), 104-xsw_504, 1);
wz6_504 := if( (xsw2_504>=1.0) && (xsw2_504 <= 6), 50-xsw2_504*8, 0);
twz_504 := if(xsw_504>=8.0, 1*wz1_504, 1*wz6_504 );
drawtext( (abs(buy_504) >= 10) and (twz_504>=1), l*1.02, outtext_504), color33ff00;
name_503 := '↖泉州系: ';
buy_503 := signals_user(503, 0);
xsw_503 := round( (abs(fracpart(buy_503))) * 100.0 );
b1_503:= if((xsw_503>=8) && (xsw_503<18), '买1,', '');
b2_503:= if((xsw_503>=18) && (xsw_503<28), '买2,', '');
b3_503:= if((xsw_503>=28) && (xsw_503<38), '买3,', '');
b4_503:= if((xsw_503>=38) && (xsw_503<48), '买4,', '');
b5_503:= if((xsw_503>=48) && (xsw_503<58), '买5,', '');
xsw2_503 := if(xsw_503>10.0, round(fracpart(xsw_503/10) * 10), xsw_503);
s1_503:= if((xsw2_503>=0.8 ) && (xsw2_503<1.7 ) || (xsw2_503=1.0), '卖1,', '');
s2_503:= if((xsw2_503>=2.1 ) && (xsw2_503<2.7 ) || (xsw2_503=2.0), '卖2,', '');
s3_503:= if((xsw2_503>=3.1 ) && (xsw2_503<3.7 ) || (xsw2_503=3.0), '卖3,', '');
s4_503:= if((xsw2_503>=4.1 ) && (xsw2_503<4.7 ) || (xsw2_503=4.0), '卖4,', '');
s5_503:= if((xsw2_503>5.1 ) && (xsw2_503<5.7 ) || (xsw2_503=5.0), '卖5,', '');
text2_503:= varcat(varcat(varcat(varcat(varcat(name_503, b1_503), b2_503), b3_503), b4_503), b5_503);
text3_503:= varcat(varcat(varcat(varcat(varcat(text2_503, s1_503), s2_503), s3_503), s4_503), s5_503);
outtext_503:= varcat(varcat(text3_503, ' '), var2str(buy_503 , 0)), nodraw;
wz1_503 := if((xsw_503>=8) && (xsw_503<56), 104-xsw_503, 1);
wz6_503 := if( (xsw2_503>=1.0) && (xsw2_503 <= 6), 50-xsw2_503*8, 0);
twz_503 := if(xsw_503>=8.0, 1*wz1_503, 1*wz6_503 );
drawtext( (abs(buy_503) >= 10) and (twz_503>=1),l, outtext_503), colorffff00;
name_502 := '↖苏州系: ';
buy_502 := signals_user(502, 0);
xsw_502 := round( (abs(fracpart(buy_502))) * 100.0 );
b1_502:= if((xsw_502>=8) && (xsw_502<18), '买1,', '');
b2_502:= if((xsw_502>=18) && (xsw_502<28), '买2,', '');
b3_502:= if((xsw_502>=28) && (xsw_502<38), '买3,', '');
b4_502:= if((xsw_502>=38) && (xsw_502<48), '买4,', '');
b5_502:= if((xsw_502>=48) && (xsw_502<58), '买5,', '');
xsw2_502 := if(xsw_502>10.0, round(fracpart(xsw_502/10) * 10), xsw_502);
s1_502:= if((xsw2_502>=0.8 ) && (xsw2_502<1.7 ) || (xsw2_502=1.0), '卖1,', '');
s2_502:= if((xsw2_502>=2.1 ) && (xsw2_502<2.7 ) || (xsw2_502=2.0), '卖2,', '');
s3_502:= if((xsw2_502>=3.1 ) && (xsw2_502<3.7 ) || (xsw2_502=3.0), '卖3,', '');
s4_502:= if((xsw2_502>=4.1 ) && (xsw2_502<4.7 ) || (xsw2_502=4.0), '卖4,', '');
s5_502:= if((xsw2_502>5.1 ) && (xsw2_502<5.7 ) || (xsw2_502=5.0), '卖5,', '');
text2_502:= varcat(varcat(varcat(varcat(varcat(name_502, b1_502), b2_502), b3_502), b4_502), b5_502);
text3_502:= varcat(varcat(varcat(varcat(varcat(text2_502, s1_502), s2_502), s3_502), s4_502), s5_502);
outtext_502:= varcat(varcat(text3_502, ' '), var2str(buy_502 , 0)), nodraw;
wz1_502 := if((xsw_502>=8) && (xsw_502<56), 104-xsw_502, 1);
wz6_502 := if( (xsw2_502>=1.0) && (xsw2_502 <= 6), 50-xsw2_502*8, 0);
twz_502 := if(xsw_502>=8.0, 1*wz1_502, 1*wz6_502 );
drawtext( (abs(buy_502) >= 10) and (twz_502>=1), l, outtext_502), color99ffff;
name_501 := '↖成都系: ';
buy_501 := signals_user(501, 0);
xsw_501 := round( (abs(fracpart(buy_501))) * 100.0 );
b1_501:= if((xsw_501>=8) && (xsw_501<18), '买1,', '');
b2_501:= if((xsw_501>=18) && (xsw_501<28), '买2,', '');
b3_501:= if((xsw_501>=28) && (xsw_501<38), '买3,', '');
b4_501:= if((xsw_501>=38) && (xsw_501<48), '买4,', '');
b5_501:= if((xsw_501>=48) && (xsw_501<58), '买5,', '');
xsw2_501 := if(xsw_501>10.0, round(fracpart(xsw_501/10) * 10), xsw_501);
s1_501:= if((xsw2_501>=0.8 ) && (xsw2_501<1.7 ) || (xsw2_501=1.0), '卖1,', '');
s2_501:= if((xsw2_501>=2.1 ) && (xsw2_501<2.7 ) || (xsw2_501=2.0), '卖2,', '');
s3_501:= if((xsw2_501>=3.1 ) && (xsw2_501<3.7 ) || (xsw2_501=3.0), '卖3,', '');
s4_501:= if((xsw2_501>=4.1 ) && (xsw2_501<4.7 ) || (xsw2_501=4.0), '卖4,', '');
s5_501:= if((xsw2_501>5.1 ) && (xsw2_501<5.7 ) || (xsw2_501=5.0), '卖5,', '');
text2_501:= varcat(varcat(varcat(varcat(varcat(name_501, b1_501), b2_501), b3_501), b4_501), b5_501);
text3_501:= varcat(varcat(varcat(varcat(varcat(text2_501, s1_501), s2_501), s3_501), s4_501), s5_501);
outtext_501:= varcat(varcat(text3_501, ' '), var2str(buy_501 , 0)), nodraw;
wz1_501 := if((xsw_501>=8) && (xsw_501<56), 104-xsw_501, 1);
wz6_501 := if( (xsw2_501>=1.0) && (xsw2_501 <= 6), 50-xsw2_501*8, 0);
twz_501 := if(xsw_501>=8.0, 1*wz1_501, 1*wz6_501 );
drawtext( (abs(buy_501) >= 10) and (twz_501>=1),l, outtext_501), color00b400;
name_500 := '↖山东系: ';
buy_500 := signals_user(500, 0);
xsw_500 := round( (abs(fracpart(buy_500))) * 100.0 );
b1_500:= if((xsw_500>=8) && (xsw_500<18), '买1,', '');
b2_500:= if((xsw_500>=18) && (xsw_500<28), '买2,', '');
b3_500:= if((xsw_500>=28) && (xsw_500<38), '买3,', '');
b4_500:= if((xsw_500>=38) && (xsw_500<48), '买4,', '');
b5_500:= if((xsw_500>=48) && (xsw_500<58), '买5,', '');
xsw2_500 := if(xsw_500>10.0, round(fracpart(xsw_500/10) * 10), xsw_500);
s1_500:= if((xsw2_500>=0.8 ) && (xsw2_500<1.7 ) || (xsw2_500=1.0), '卖1,', '');
s2_500:= if((xsw2_500>=2.1 ) && (xsw2_500<2.7 ) || (xsw2_500=2.0), '卖2,', '');
s3_500:= if((xsw2_500>=3.1 ) && (xsw2_500<3.7 ) || (xsw2_500=3.0), '卖3,', '');
s4_500:= if((xsw2_500>=4.1 ) && (xsw2_500<4.7 ) || (xsw2_500=4.0), '卖4,', '');
s5_500:= if((xsw2_500>5.1 ) && (xsw2_500<5.7 ) || (xsw2_500=5.0), '卖5,', '');
text2_500:= varcat(varcat(varcat(varcat(varcat(name_500, b1_500), b2_500), b3_500), b4_500), b5_500);
text3_500:= varcat(varcat(varcat(varcat(varcat(text2_500, s1_500), s2_500), s3_500), s4_500), s5_500);
outtext_500:= varcat(varcat(text3_500, ' '), var2str(buy_500 , 0)), nodraw;
wz1_500 := if((xsw_500>=8) && (xsw_500<56), 104-xsw_500, 1);
wz6_500 := if( (xsw2_500>=1.0) && (xsw2_500 <= 6), 50-xsw2_500*8, 0);
twz_500 := if(xsw_500>=8.0, 1*wz1_500, 1*wz6_500 );
drawtext( (abs(buy_500) >= 10) and (twz_500>=1),l, outtext_500), colorff6601;
stickline(c/ref(c,1)>=1.04 or c/ref(c,1)<=0.96,(c+o)/2,(c+o)/2,2,1),colorliblue;{中分线};
stickline(c/ref(c,1)>=1.04 or c/ref(c,1)<=0.96,(max(o,c)-min(o,c))*2/3+min(o,c),(max(o,c)-min(o,c))*2/3+min(o,c),2,1),colorliblue;{上三一线};
stickline(c/ref(c,1)>=1.04 or c/ref(c,1)<=0.96,(max(o,c)-min(o,c))/3+min(o,c),(max(o,c)-min(o,c))/3+min(o,c),2,1),colorliblue;{下三一线};
上一指标公式:超级DDX 机构 大户 散户买卖一目了然 通达信大户散户
下一指标公式:紫黄同现必涨 -副图 通达信同现
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文龙虎团队 荆州量学金融终端主图十六 通达信团队终端仅供学习研究。