您现在的位置:程序化交易>> 股票公式>> 通达信>> 通达信公式>>正文内容

通达信图标 指标 公式 源码[通达信公式]

指标公式代码分析:

根据提供的指标源码分析,可以看出这是一个绘制柱状图的指标。下面是简要的编程思路和指标使用说明:

编程思路:
1. 使用DRAWICON函数绘制柱状图的柱子。
2. 使用DRAWTEXT函数在每个柱子上方添加相应的标签。

指标使用说明:
1. 柱状图的高度代表了某个值的大小,通过设置CURRBARSCOUNT参数来控制柱子的高度。
2. 每个柱子下方的数字表示该柱子对应的数据,通过DRAWTEXT函数的CURRBARSCOUNT参数来确定标签位置。
3. 指标总共绘制了40个柱子,从115开始依次递减5。
4. 每个柱子上方的数字表示该柱子的序号。

需要注意的是,该指标的具体使用场景和意义无法从提供的代码中得知,因此更详细的用途和解释可能需要参考其他文档或程序说明。

 

 

源码:

 

0;8;DRAWICON(CURRBARSCOUNT=115,5,1);DRAWTEXT(CURRBARSCOUNT=115,6,'1');DRAWICON(CURRBARSCOUNT=110,5,2);DRAWTEXT(CURRBARSCOUNT=110,6,'2');DRAWICON(CURRBARSCOUNT=105,5,3);DRAWTEXT(CURRBARSCOUNT=105,6,'3');DRAWICON(CURRBARSCOUNT=100,5,4);DRAWTEXT(CURRBARSCOUNT=100,6,'4');DRAWICON(CURRBARSCOUNT=95,5,5);DRAWTEXT(CURRBARSCOUNT=95,6,'5');DRAWICON(CURRBARSCOUNT=90,5,6);DRAWTEXT(CURRBARSCOUNT=90,6,'6');DRAWICON(CURRBARSCOUNT=85,5,7);DRAWTEXT(CURRBARSCOUNT=85,6,'7');DRAWICON(CURRBARSCOUNT=80,5,8);DRAWTEXT(CURRBARSCOUNT=80,6,'8');DRAWICON(CURRBARSCOUNT=75,5,9);DRAWTEXT(CURRBARSCOUNT=75,6,'9');DRAWICON(CURRBARSCOUNT=70,5,10);DRAWTEXT(CURRBARSCOUNT=70,6,'10');DRAWICON(CURRBARSCOUNT=65,5,11);DRAWTEXT(CURRBARSCOUNT=65,6,'11');DRAWICON(CURRBARSCOUNT=60,5,12);DRAWTEXT(CURRBARSCOUNT=60,6,'12');DRAWICON(CURRBARSCOUNT=55,5,13);DRAWTEXT(CURRBARSCOUNT=55,6,'13');DRAWICON(CURRBARSCOUNT=50,5,14);DRAWTEXT(CURRBARSCOUNT=50,6,'14');DRAWICON(CURRBARSCOUNT=45,5,15);DRAWTEXT(CURRBARSCOUNT=45,6,'15');DRAWICON(CURRBARSCOUNT=40,5,16);DRAWTEXT(CURRBARSCOUNT=40,6,'16');DRAWICON(CURRBARSCOUNT=35,5,17);DRAWTEXT(CURRBARSCOUNT=35,6,'17');DRAWICON(CURRBARSCOUNT=30,5,18);DRAWTEXT(CURRBARSCOUNT=30,6,'18');DRAWICON(CURRBARSCOUNT=25,5,19);DRAWTEXT(CURRBARSCOUNT=25,6,'19');DRAWICON(CURRBARSCOUNT=20,5,20);DRAWTEXT(CURRBARSCOUNT=20,6,'20');DRAWICON(CURRBARSCOUNT=115,2,21);DRAWTEXT(CURRBARSCOUNT=115,3,'21');DRAWICON(CURRBARSCOUNT=110,2,22);DRAWTEXT(CURRBARSCOUNT=110,3,'22');DRAWICON(CURRBARSCOUNT=105,2,23);DRAWTEXT(CURRBARSCOUNT=105,3,'23');DRAWICON(CURRBARSCOUNT=100,2,24);DRAWTEXT(CURRBARSCOUNT=100,3,'24');DRAWICON(CURRBARSCOUNT=95,2,25);DRAWTEXT(CURRBARSCOUNT=95,3,'25');DRAWICON(CURRBARSCOUNT=90,2,26);DRAWTEXT(CURRBARSCOUNT=90,3,'26');DRAWICON(CURRBARSCOUNT=85,2,27);DRAWTEXT(CURRBARSCOUNT=85,3,'27');DRAWICON(CURRBARSCOUNT=80,2,28);DRAWTEXT(CURRBARSCOUNT=80,3,'28');DRAWICON(CURRBARSCOUNT=75,2,29);DRAWTEXT(CURRBARSCOUNT=75,3,'29');DRAWICON(CURRBARSCOUNT=70,2,30);DRAWTEXT(CURRBARSCOUNT=70,3,'30');DRAWICON(CURRBARSCOUNT=65,2,31);DRAWTEXT(CURRBARSCOUNT=65,3,'31');DRAWICON(CURRBARSCOUNT=60,2,32);DRAWTEXT(CURRBARSCOUNT=60,3,'32');DRAWICON(CURRBARSCOUNT=55,2,33);DRAWTEXT(CURRBARSCOUNT=55,3,'33');DRAWICON(CURRBARSCOUNT=50,2,34);DRAWTEXT(CURRBARSCOUNT=50,3,'34');DRAWICON(CURRBARSCOUNT=45,2,35);DRAWTEXT(CURRBARSCOUNT=45,3,'35');DRAWICON(CURRBARSCOUNT=40,2,36);DRAWTEXT(CURRBARSCOUNT=40,3,'36');DRAWICON(CURRBARSCOUNT=35,2,37);DRAWTEXT(CURRBARSCOUNT=35,3,'37');DRAWICON(CURRBARSCOUNT=30,2,38);DRAWTEXT(CURRBARSCOUNT=30,3,'38');DRAWICON(CURRBARSCOUNT=25,2,39);DRAWTEXT(CURRBARSCOUNT=25,3,'39');DRAWICON(CURRBARSCOUNT=20,2,40);DRAWTEXT(CURRBARSCOUNT=20,3,'40');{程序化交易 www.cxh99.com }

 

公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程

 

 

有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友

可联系技术人员 QQ: 262069696  点击在线交流或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

怎么收费,代编流程等详情请点击查阅!

(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容