软件名称:[B]周期的统计涨幅指标公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2014-04-13 04:03:14
软件简介:
nt:=barslast(month<>ref(month,1));
总涨幅:SUM(IF(C>=ref(c,1),(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 ),COLORred,LINETHICK1;
总跌幅:SUM(IF(ref(c,1)>C,(C-ref(c,1))/ref(c,1)*-100,0) ,nt+1 ),COLORgreen;
五点以上总涨:SUM(IF(C>=ref(c,1)*1.05,(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 ),COLORyellow
,LINETHICK2;
中涨:SUM(IF(C>=ref(c,1)*1.03 and ref(c,1)*1.05>C ,(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 ),COLORMAGENTA
,LINETHICK2;
小涨:SUM(IF(C>=ref(c,1) and ref(c,1)*1.03>C ,(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 ),COLORMAGENTA
,LINETHICK1;
总涨比例:SUM(IF(C>=ref(c,1),(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 )*100/(SUM(IF(C>=ref(c,1),(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 )-SUM(IF(ref(c,1)>C,(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 )),COLORred,LINETHICK0;
总跌比例:SUM(IF(ref(c,1)>C,(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 )*100/(SUM(IF(C>=ref(c,1),(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 )-SUM(IF(ref(c,1)>C,(C-ref(c,1))/ref(c,1)*100,0) ,nt+1 )),COLORgreen,LINETHICK0;
大涨比例:五点以上总涨/总涨幅*100,COLORred,LINETHICK0;
五点:SUM(IF(-5>=(C-ref(c,1))/ref(c,1)*100,(C-ref(c,1))/ref(c,1)*-100,0) ,nT+1 ),COLORgreen
,LINETHICK3;
中:SUM(IF(-3>(C-ref(c,1))/ref(c,1)*100 and (C-ref(c,1))/ref(c,1)*100>-5,(C-ref(c,1))/ref(c,1)*-100,0) ,nT+1 ),COLORgreen
,LINETHICK2;
小:SUM(IF((C-ref(c,1))/ref(c,1)*100>-3 and 0>(C-ref(c,1))/ref(c,1)*100,(C-ref(c,1))/ref(c,1)*-100,0) ,nT+1 ),COLORgreen
,LINETHICK1;
0,LINETHICK2;
VERTLINE(nt=0,2),COLORFFEEBB;
DRAWTEXT(BARSTATUS=2,总涨幅,'总涨'),VALIGN2,COLORred;
DRAWTEXT(BARSTATUS=2,五点以上总涨,'大涨'),VALIGN2,COLORyellow;
DRAWTEXT(BARSTATUS=2,中涨,'中涨'),VALIGN2,COLORMAGENTA;
DRAWTEXT(BARSTATUS=2,小涨,'小涨'),VALIGN2,COLORMAGENTA;
DRAWTEXT(BARSTATUS=2,总跌幅,'总跌'),VALIGN2,COLORgreen;
DRAWTEXT(BARSTATUS=2,五点,'大跌'),VALIGN2,COLORgreen;
DRAWTEXT(BARSTATUS=2,中,'中跌'),VALIGN2,COLORgreen;
DRAWTEXT(BARSTATUS=2,小,'小跌'),VALIGN2,COLORgreen;
DRAWTEXTABS(0,15,'左右逢源之四季如春'),COLORgreen;
DRAWTEXTABS(0,0,'月度涨幅统计'),COLORYELLOW;
DRAWTEXTABS(150,0,'《左右逢源qq交流-445733181》'),COLOR0000FF;
[url=http://www.70822.com/soft/sort013/sort03/down-71504.html]周期的统计涨幅指标公式[/url]