中线趋势指标 (源码)
飞狐中线趋势指标公式股票软件源码如下:
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;
{www.gpxiazai.com 股票软件下载网_飞狐股票指标公式}
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;
- 上一篇公式:买卖临界指标 (源码)
- 下一篇公式:疯牛狂奔指标 (源码)