首先谢谢老师 谢谢老师 敬请老师帮忙 我需要的是帮我把我用金达牛短线伴侣接收的外部数据为1000转为序列数据在幅图上显示的公式 我想用著名游资龙虎榜显示在通达信幅图上显示
我想用一下公式通达信幅图上显示
游资龙虎榜公式如下
0;
A11:=SIGNALS_USER(109,0) < 1000 ;
A15:=SIGNALS_USER(109,0) >1 AND SIGNALS_USER(109,0) <3000 ;
A17:=SIGNALS_USER(109,0) >2000 ;
JGBUY:=IF(SIGNALS_USER(208,0)=DRAWNULL,0,SIGNALS_USER(208,0));
JGSELL:=IF(SIGNALS_USER(209,0)=DRAWNULL,0,SIGNALS_USER(209,0));
机构买量:INTPART(JGBUY),COLORRED,NODRAW;
机构卖量:INTPART(JGSELL),COLORRED,NODRAW;
机构净买量:=INTPART((机构买量+机构卖量)),COLORRED,NODRAW;
STICKLINE(机构净买量>0,0,机构净买量,0.1,0),COLOR0000FF;{大于0的颜色}
DRAWTEXT(机构净买量>0,机构净买量*90/100,'↙机构专买');
STICKLINE(机构净买量<0,0,机构净买量,0.1,0),COLOR40FF00;{小于0 的颜色}
DRAWTEXT(机构净买量<0,机构净买量*90/100,'↙机构专卖');
ZXLY:=SIGNALS_USER(100,0);中信溧阳:ZXLY,COLORRED,NODRAW;STICKLINE(ZXLY<0,0,ZXLY,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(ZXLY>0,0,ZXLY,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(ZXLY<>0,ZXLY*95/100,'中信溧阳');
SHFS:=SIGNALS_USER(101,0);上海福山:SHFS,COLORRED,NODRAW;STICKLINE(SHFS<0,0,SHFS,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(SHFS>0,0,SHFS,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(SHFS<>0,SHFS*95/100,'上海福山');
SHJS:=SIGNALS_USER(102,0);上海江苏:SHJS,COLORRED,NODRAW;STICKLINE(SHJS<0,0,SHJS,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(SHJS>0,0,SHJS,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(SHJS<>0,SHJS*95/100,'上海江苏');
YTRC:=SIGNALS_USER(103,0);益田路荣超:YTRC,COLORRED,NODRAW;STICKLINE(YTRC<0,0,YTRC,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(YTRC>0,0,YTRC,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(YTRC<>0,YTRC*95/100,'益田路荣超');
NBCB:=SIGNALS_USER(104,0);宁波翠柏:NBCB,COLORRED,NODRAW;STICKLINE(NBCB<0,0,NBCB,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(NBCB>0,0,NBCB,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(NBCB<>0,NBCB*95/100,'宁波翠柏');
SHDF:=SIGNALS_USER(105,0);上海东方:SHDF,COLORRED,NODRAW;STICKLINE(SHDF<0,0,SHDF,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(SHDF>0,0,SHDF,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(SHDF<>0,SHDF*95/100,'上海东方');
YHSX:=SIGNALS_USER(107,0);银河绍兴:YHSX,COLORRED,NODRAW;STICKLINE(YHSX<0,0,YHSX,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(YHSX>0,0,YHSX,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(YHSX<>0,YHSX*95/100,'银河绍兴');
CDSJ:=SIGNALS_USER(110,0);成都蜀金:CDSJ,COLORRED,NODRAW;STICKLINE(CDSJ<0,0,CDSJ,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(CDSJ>0,0,CDSJ,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(CDSJ<>0,CDSJ*95/100,'成都蜀金');
HZCC:=SIGNALS_USER(111,0);杭州庆春:HZCC,COLORRED,NODRAW;STICKLINE(HZCC<0,0,HZCC,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(HZCC>0,0,HZCC,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(HZCC<>0,HZCC*95/100,'杭州庆春');
CDNYH:=SIGNALS_USER(113,0);成都南一环:CDNYH,COLORRED,NODRAW;STICKLINE(CDNYH<0,0,CDNYH,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(CDNYH>0,0,CDNYH,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(CDNYH<>0,CDNYH*95/100,'成都南一环');
NBDJ:=SIGNALS_USER(309,0);宁波江东北路:NBDJ,COLORRED,NODRAW;STICKLINE(NBDJ<0,0,NBDJ,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(NBDJ>0,0,NBDJ,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(NBDJ<>0,NBDJ*95/100,'宁波江东北路');
LHTZY:=SIGNALS_USER(310,0);沪股通专用 HTZY,COLORRED,NODRAW;STICKLINE(LHTZY<0,0,LHTZY,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(LHTZY>0,0,LHTZY,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(LHTZY<>0,LHTZY*95/100,'沪股通专用');
NBJFN:=SIGNALS_USER(313,0);宁波解放南路:NBJFN,COLORRED,NODRAW;STICKLINE(NBJFN<0,0,NBJFN,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(NBJFN>0,0,NBJFN,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(NBJFN<>0,NBJFN*95/100,'宁波解放南路');
XHL:=SIGNALS_USER(901,0);华泰厦禾路:XHL,COLORRED,NODRAW;STICKLINE(XHL<0,0,XHL,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(XHL>0,0,XHL,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(XHL<>0,XHL*95/100,'华泰厦禾路');
HHZL:=SIGNALS_USER(307,0);淮海中路:HHZL,COLORRED,NODRAW;STICKLINE(HHZL<0,0,HHZL,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(HHZL>0,0,HHZL,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(HHZL<>0,HHZL*95/100,'淮海中路');
JFBL:=SIGNALS_USER(308,0);绍兴解放北路:JFBL,COLORRED,NODRAW;STICKLINE(JFBL<0,0,JFBL,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(JFBL>0,0,JFBL,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(JFBL<>0,JFBL*95/100,'绍兴解放北路');
RJNL:=SIGNALS_USER(353,0);瑞金南路:RJNL,COLORRED,NODRAW;STICKLINE(RJNL<0,0,RJNL,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(RJNL>0,0,RJNL,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(RJNL<>0,RJNL*95/100,'瑞金南路');
BJFCL:=SIGNALS_USER(354,0);北京阜成路:BJFCL,COLORRED,NODRAW;STICKLINE(BJFCL<0,0,BJFCL,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(BJFCL>0,0,BJFCL,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(BJFCL<>0,BJFCL*95/100,'北京阜成路');
HLHA:=SIGNALS_USER(301,0);欢乐海岸:HLHA,COLORRED,NODRAW;STICKLINE(HLHA<0,0,HLHA,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(HLHA>0,0,HLHA,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(HLHA<>0,HLHA*95/100,'欢乐海岸');
GBL:=SIGNALS_USER(355,0);古北路:GBL,COLORRED,NODRAW;STICKLINE(GBL<0,0,GBL,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(GBL>0,0,GBL,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(GBL<>0,GBL*95/100,'古北路');
SKGY:=SIGNALS_USER(348,0);蛇口工业七路:SKGY,COLORRED,NODRAW;STICKLINE(SKGY<0,0,SKGY,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(SKGY>0,0,SKGY,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(SKGY<>0,SKGY*95/100,'蛇口工业七路');
WDL:=SIGNALS_USER(305,0);武定路:WDL,COLORRED,NODRAW;STICKLINE(WDL<0,0,WDL,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(WDL>0,0,WDL,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(WDL<>0,WDL*95/100,'武定路');
QYL:=SIGNALS_USER(305,0);清扬路 YL,COLORRED,NODRAW;STICKLINE(QYL<0,0,QYL,0.1,0),COLOR40FF00;{小于0 的颜色}STICKLINE(QYL>0,0,QYL,0.1,0),COLOR0000FF;{大于0的颜色}DRAWTEXT(QYL<>0,QYL*95/100,'清扬路');
敬请l老师帮忙 谢谢老师 谢谢老师 |