人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 股票公式>> 同花順>> 同花順公式>>正文內容

行業板塊漲幅公式源碼[同花順公式]

相關標簽: 通達信 漲幅板塊 源碼 、 n日漲幅統計指標源碼 、 家長云私密版塊 、 默認版塊 、 版塊 、 杭州19樓女性閱讀版塊 、 環球摔迷網 音樂版塊 、 九游9game n 單機版塊 、 創富論壇默認版塊 、

 

 

首先建立一個“漲幅引用”的引用公式后再建立“版塊漲幅”
-----------------------------------------------------


//公式名稱“漲幅引用” 這個名稱不能有任何改動  源碼//


A:動態行情(14);
AA:(收盤價/向前引用(收盤價,1)-1)*100;


 

//★版塊漲幅★ 源碼//


DRAWTEXTEX(STKINDI('1A0001','漲幅引用.A',0,-1)>0,1,0,0,'上證漲幅:'+NUMTOSTR(STKINDI('1A0001','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('1A0001','漲幅引用.A',0,-1)<0,1,0,0,'上證漲幅:'+NUMTOSTR(STKINDI('1A0001','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA01','漲幅引用.A',0,-1)>=0,1,0,150,'工程建筑:'+NUMTOSTR(STKINDI('AA01','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA01','漲幅引用.A',0,-1)<0,1,0,150,'工程建筑:'+NUMTOSTR(STKINDI('AA01','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA02','漲幅引用.A',0,-1)>=0,1,0,300,'電力指數:'+NUMTOSTR(STKINDI('AA02','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA02','漲幅引用.A',0,-1)<0,1,0,300,'電力指數:'+NUMTOSTR(STKINDI('AA02','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA03','漲幅引用.A',0,-1)>=0,1,0,450,'計算機類:'+NUMTOSTR(STKINDI('AA03','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA03','漲幅引用.A',0,-1)<0,1,0,450,'計算機類:'+NUMTOSTR(STKINDI('AA03','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA04','漲幅引用.A',0,-1)>=0,1,0,600,'電子信息:'+NUMTOSTR(STKINDI('AA04','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA04','漲幅引用.A',0,-1)<0,1,0,600,'電子信息:'+NUMTOSTR(STKINDI('AA04','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA05','漲幅引用.A',0,-1)>=0,1,0,750,'地產指數:'+NUMTOSTR(STKINDI('AA05','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA05','漲幅引用.A',0,-1)<0,1,0,750,'地產指數:'+NUMTOSTR(STKINDI('AA05','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA06','漲幅引用.A',0,-1)>=0,1,0,900,'紡織服裝:'+NUMTOSTR(STKINDI('AA06','漲幅引用.A',0,-1)*100,2)+'%'),Colorred; //本文來至CXH99.COM//
DRAWTEXTEX(STKINDI('AA06','漲幅引用.A',0,-1)<0,1,0,900,'紡織服裝:'+NUMTOSTR(STKINDI('AA06','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA07','漲幅引用.A',0,-1)>=0,1,200,0,'鋼鐵指數:'+NUMTOSTR(STKINDI('AA07','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA07','漲幅引用.A',0,-1)<0,1,200,0,'鋼鐵指數:'+NUMTOSTR(STKINDI('AA07','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA08','漲幅引用.A',0,-1)>=0,1,200,150,'供水供氣:'+NUMTOSTR(STKINDI('AA08','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA08','漲幅引用.A',0,-1)<0,1,200,150,'供水供氣:'+NUMTOSTR(STKINDI('AA08','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA09','漲幅引用.A',0,-1)>=0,1,200,300,'化工化纖:'+NUMTOSTR(STKINDI('AA09','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA09','漲幅引用.A',0,-1)<0,1,200,300,'化工化纖:'+NUMTOSTR(STKINDI('AA09','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA10','漲幅引用.A',0,-1)>=0,1,200,450,'電器指數:'+NUMTOSTR(STKINDI('AA10','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA10','漲幅引用.A',0,-1)<0,1,200,450,'電器指數:'+NUMTOSTR(STKINDI('AA10','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA11','漲幅引用.A',0,-1)>=0,1,200,600,'銀行金融:'+NUMTOSTR(STKINDI('AA11','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA11','漲幅引用.A',0,-1)<0,1,200,600,'銀行金融:'+NUMTOSTR(STKINDI('AA11','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA12','漲幅引用.A',0,-1)>=0,1,200,750,'煤炭石油:'+NUMTOSTR(STKINDI('AA12','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA12','漲幅引用.A',0,-1)<0,1,200,750,'煤炭石油:'+NUMTOSTR(STKINDI('AA12','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA13','漲幅引用.A',0,-1)>=0,1,200,900,'釀酒食品:'+NUMTOSTR(STKINDI('AA13','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA13','漲幅引用.A',0,-1)<0,1,200,900,'釀酒食品:'+NUMTOSTR(STKINDI('AA13','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA14','漲幅引用.A',0,-1)>=0,1,400,0,'農林牧漁:'+NUMTOSTR(STKINDI('AA14','漲幅引用.A',0,-1)*100,2)+'%'),Colorred; //本文來至CXH99.COM//
DRAWTEXTEX(STKINDI('AA14','漲幅引用.A',0,-1)<0,1,400,0,'農林牧漁:'+NUMTOSTR(STKINDI('AA14','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA15','漲幅引用.A',0,-1)>=0,1,400,150,'商業連鎖:'+NUMTOSTR(STKINDI('AA15','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA15','漲幅引用.A',0,-1)<0,1,400,150,'商業連鎖:'+NUMTOSTR(STKINDI('AA15','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA16','漲幅引用.A',0,-1)>=0,1,400,300,'建筑材料:'+NUMTOSTR(STKINDI('AA16','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA16','漲幅引用.A',0,-1)<0,1,400,300,'建筑材料:'+NUMTOSTR(STKINDI('AA16','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA17','漲幅引用.A',0,-1)>=0,1,400,450,'其它行業:'+NUMTOSTR(STKINDI('AA17','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA17','漲幅引用.A',0,-1)<0,1,400,450,'其它行業:'+NUMTOSTR(STKINDI('AA17','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA18','漲幅引用.A',0,-1)>=0,1,400,600,'汽車配件:'+NUMTOSTR(STKINDI('AA18','漲幅引用.A',0,-1)*100,2)+'%'),Colorred; //本文來至程序化交易網 cxh99.com//
DRAWTEXTEX(STKINDI('AA18','漲幅引用.A',0,-1)<0,1,400,600,'汽車配件:'+NUMTOSTR(STKINDI('AA18','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA19','漲幅引用.A',0,-1)>=0,1,400,750,'機械指數:'+NUMTOSTR(STKINDI('AA19','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA19','漲幅引用.A',0,-1)<0,1,400,750,'機械指數:'+NUMTOSTR(STKINDI('AA19','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA20','漲幅引用.A',0,-1)>=0,1,400,900,'醫藥指數:'+NUMTOSTR(STKINDI('AA20','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA20','漲幅引用.A',0,-1)<0,1,400,900,'醫藥指數:'+NUMTOSTR(STKINDI('AA20','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA21','漲幅引用.A',0,-1)>=0,1,600,0,'外貿指數:'+NUMTOSTR(STKINDI('AA21','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA21','漲幅引用.A',0,-1)<0,1,600,0,'外貿指數:'+NUMTOSTR(STKINDI('AA21','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA22','漲幅引用.A',0,-1)>=0,1,600,150,'教育傳媒:'+NUMTOSTR(STKINDI('AA22','漲幅引用.A',0,-1)*100,2)+'%'),Colorred; //本文來至程序化交易網 cxh99.com//
DRAWTEXTEX(STKINDI('AA22','漲幅引用.A',0,-1)<0,1,600,150,'教育傳媒:'+NUMTOSTR(STKINDI('AA22','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA23','漲幅引用.A',0,-1)>=0,1,600,300,'儀電儀表:'+NUMTOSTR(STKINDI('AA23','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA23','漲幅引用.A',0,-1)<0,1,600,300,'儀電儀表:'+NUMTOSTR(STKINDI('AA23','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA24','漲幅引用.A',0,-1)>=0,1,600,450,'有色金屬:'+NUMTOSTR(STKINDI('AA24','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA24','漲幅引用.A',0,-1)<0,1,600,450,'有色金屬:'+NUMTOSTR(STKINDI('AA24','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA25','漲幅引用.A',0,-1)>=0,1,600,600,'造紙印刷:'+NUMTOSTR(STKINDI('AA25','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA25','漲幅引用.A',0,-1)<0,1,600,600,'造紙印刷:'+NUMTOSTR(STKINDI('AA25','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA26','漲幅引用.A',0,-1)>=0,1,600,750,'券商指數:'+NUMTOSTR(STKINDI('AA26','漲幅引用.A',0,-1)*100,2)+'%'),Colorred; //內容來至程序化交易網 CXH99.COM//
DRAWTEXTEX(STKINDI('AA26','漲幅引用.A',0,-1)<0,1,600,750,'券商指數:'+NUMTOSTR(STKINDI('AA26','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA27','漲幅引用.A',0,-1)>=0,1,600,900,'電力設備:'+NUMTOSTR(STKINDI('AA27','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA27','漲幅引用.A',0,-1)<0,1,600,900,'電力設備:'+NUMTOSTR(STKINDI('AA27','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA28','漲幅引用.A',0,-1)>=0,1,800,0,'通信指數:'+NUMTOSTR(STKINDI('AA28','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA28','漲幅引用.A',0,-1)<0,1,800,0,'通信指數:'+NUMTOSTR(STKINDI('AA28','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA29','漲幅引用.A',0,-1)>=0,1,800,150,'運輸物流:'+NUMTOSTR(STKINDI('AA29','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA29','漲幅引用.A',0,-1)<0,1,800,150,'運輸物流:'+NUMTOSTR(STKINDI('AA29','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA30','漲幅引用.A',0,-1)>=0,1,800,300,'交通設施:'+NUMTOSTR(STKINDI('AA30','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA30','漲幅引用.A',0,-1)<0,1,800,300,'交通設施:'+NUMTOSTR(STKINDI('AA30','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA31','漲幅引用.A',0,-1)>=0,1,800,450,'旅游酒店:'+NUMTOSTR(STKINDI('AA31','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA31','漲幅引用.A',0,-1)<0,1,800,450,'旅游酒店:'+NUMTOSTR(STKINDI('AA31','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA33','漲幅引用.A',0,-1)>=0,1,800,600,'創投概念:'+NUMTOSTR(STKINDI('AA33','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA33','漲幅引用.A',0,-1)<0,1,800,600,'創投概念:'+NUMTOSTR(STKINDI('AA33','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA37','漲幅引用.A',0,-1)>=0,1,800,750,'環保產業:'+NUMTOSTR(STKINDI('AA37','漲幅引用.A',0,-1)*100,2)+'%'),Colorred;
DRAWTEXTEX(STKINDI('AA37','漲幅引用.A',0,-1)<0,1,800,750,'環保產業:'+NUMTOSTR(STKINDI('AA37','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY;
DRAWTEXTEX(STKINDI('AA38','漲幅引用.A',0,-1)>=0,1,800,900,'外資并購:'+NUMTOSTR(STKINDI('AA38','漲幅引用.A',0,-1)*100,2)+'%'),Colorred; //內容來至程序化交易網 CXH99.COM//
DRAWTEXTEX(STKINDI('AA38','漲幅引用.A',0,-1)<0,1,800,900,'外資并購:'+NUMTOSTR(STKINDI('AA38','漲幅引用.A',0,-1)*100,2)+'%'),COLORGRAY; //本文來至程序化交易網 cxh99.com//

 

 

有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流進行 有償 編寫!不貴!點擊查看價格!

 


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
  主站蜘蛛池模板: 久久免费视频一区 | 中文日韩字幕一区在线观看 | 欧美黑人巨大3dvideo | 国产成人午夜精品免费视频 | 成人免费看片视频色多多 | 六月丁香婷婷网 | 春菜花在线中文字幕hd | 天天狠天天透 | 九九热亚洲精品综合视频 | 国产野外 | 久久精品国产99久久6动漫欧 | 老司机午夜视频 | 深夜福利国产 | 午夜视频免费在线观看 | a级毛片高清免费视频 | 亚洲美色视频 | 热99在线视频 | 老湿机福利影院 | 色视频网址 | 色香蕉在线 | 天天摸天天做 | 理论片黄色 | 成人国产亚洲 | 国产精品日本一区二区不卡视频 | 日韩精品免费一区二区三区 | 日韩视频高清免费看 | 中文字幕巨乱亚洲 | 伦理午夜 | 国产黄色网 | 中国免费一级毛片 | 午夜骚| 搜索毛片 | 天天射天天操天天干 | 国产精品成人免费综合 | 国产精品第三页 | 香蕉超级碰碰碰97视频蜜芽 | 欧美人成在线 | 97久久人人爽人人爽人人 | 亚洲福利二区 | 日韩影视在线观看 | 黄色毛片在线看 |