软件名称:[B]均线面积带原码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2013-05-24 03:36:00
软件简介:
{5/10均线面积(大智慧L2)}:这是主图技术指标,建公式时一定要把“主图叠加”勾选上!
MA5:MA(C,5);
MA10:MA(C,10);
均线差:=MA5-MA10;
JC:=MA10-MA5;
绿柱面积:=IF (均线差<0,SUM(均线差*0.1,BARSLAST(JC<0)),0);
红柱面积:=IF (均线差>0,SUM(均线差*0.1,BARSLAST(JC>0)),0);
均线面积:IF(均线差>0,红柱面积,绿柱面积),color0000ff,LINETHICK0;
A1:=IF(均线差>0,1,-1);
A2:=REF(A1,1);
A3:=A1*A2;
A4:=BARSLAST(A3<0);
A5:=A4+1;
趋势平均力度:(SUM(均线差,0)-REF(SUM(均线差,0),A5))/A5,colorFF00FF,LINETHICK0;
DRAWTEXT(ref(均线差,1)>0 and 均线差<=0 ,HHV(H,8),''+ref(红柱面积,1)),ALIGN2,colorred;
DRAWTEXT(ref(均线差,1)>0 and 均线差<=0 ,HHV(H,8),''+ref(趋势平均力度,1)),ALIGN1,VALIGN1,colorff00ff;
DRAWTEXT(ref(均线差,1)<0 and 均线差>=0 ,LLV(L,8),''+ref(abs(绿柱面积),1)),ALIGN2,Color00ff00;
DRAWTEXT(ref(均线差,1)<0 and 均线差>=0 ,LLV(L,8),''+ref(abs(趋势平均力度),1)),ALIGN1,VALIGN2,colorff00ff;
DRAWTEXT(BARSTATUS=2 AND 均线差<0,LLV(L,5),''+abs(绿柱面积)),align2,Color004A00;
DRAWTEXT(BARSTATUS=2 AND 均线差<0,LLV(L,5),''+abs(趋势平均力度)),align2,Colorff00ff;
DRAWTEXT(BARSTATUS=2 AND 均线差>0,HHV(H,5),''+abs(红柱面积)),align2,colorred;
DRAWTEXT(BARSTATUS=2 AND 均线差>0,HHV(H,5),''+abs(趋势平均力度)),align2,colorff00ff;
[url=http://www.70822.com/soft/sort013/sort03/down-57547.html]均线面积带原码[/url]