飞狐彩虹通大阳公式公式、代码源码[其他软件公式]
相关标签:
原理解析:
源码:
JJ:=(HIGH+LOW+OPEN+CLOSE+CLOSE)/5;
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,13);
VAR3:=MA(CLOSE,34);
VAR4:=MA(CLOSE,55);
H1A:=(VAR1+VAR2+VAR3+VAR4)/4;
MA(H1A,5),colorFF0000;
MA(H1A,6),colorFF00;
MA(H1A,7),colorFF00;
MA(H1A,8),colorFF00;
MA(H1A,9),colorFF00;
MA(H1A,10),colorFF00;
MA(H1A,11),colorFF00;
MA(H1A,12),colorFFFF;
MA(H1A,13),LINETHICK3,colorFF0000;
MA(H1A,14),colorFFFF;
MA(H1A,15),colorFF00;
MA(H1A,16),colorFF00;
MA(H1A,17),colorFF00;
MA(H1A,18),colorFF00;
MA(H1A,19),colorFF00;
MA(H1A,20),colorFF00;
MA(H1A,21),colorFF0000;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,13)),LINETHICK3,colorFFFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,5)),colorFFFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,6)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,7)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,8)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,9)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,10)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,11)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,12)),colorFF00;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,13)),LINETHICK2,colorFFFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,14)),colorFF00;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,15)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,16)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,17)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,18)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,19)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,20)),colorFF;
PARTLINE(CLOSE>MA(H1A,13),MA(H1A,21)),colorFFFF;
DRAWTEXTEX(CLOSE,1,10,5,'版块:'+BLKNAME+'\n'),coloryellow;
DRAWTEXTEX(CLOSE,1,10,50,'收益/股:'+NUMTOSTR(FINANCE(33),2)+' 元'),colorFFB060;
DRAWTEXTEX(CLOSE,1,200,50,'净资产/股:'+NUMTOSTR(FINANCE(34),2)+' 元'),colorFFB060;
DRAWTEXTEX(CLOSE,1,10,100,'流通股:'+NUMTOSTR(FINANCE(7)/10000,2)+' 亿'),colorFFB060;
DRAWTEXTEX(CLOSE,1,200,100,'占总股本:'+NUMTOSTR(FINANCE(7)/FINANCE(1)*100,0)+' %'),colorFFB060;
DRAWTEXTEX(CLOSE,1,10,150,'股东权益:'+NUMTOSTR(FINANCE(36),0)+' %'),colorFFB060;
DRAWTEXTEX(CLOSE,1,200,150,'主营增长:'+NUMTOSTR(FINANCE(53),0)+' %'),colorFFB060;
DRAWTEXTEX(CLOSE,1,200,200,'税后增长:'+NUMTOSTR(FINANCE(54),0)+' %'),colorFFB060;
DRAWTEXTEX(CLOSE,1,10,200,'主营收入:'+NUMTOSTR(FINANCE(20)/10000,1)+''),colorFFB060;{来源:www.cxh99.com 程序化交易}
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容