软件名称:[B]YG趋势系统[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2015-03-02 05:08:30
软件简介:
红色表示上升趋势,可重仓持有;绿色表示下跌趋势,宜空仓观望;灰色表示上升趋势可能发生反转,宜减轻仓位以防范风险;粉色表示下跌趋势可能发生反转,宜轻仓试探把握机会;
资金流出:=-ZJLC[-1];
资金流入:=ZJLR[-1];
r:=资金流出+资金流入;
avgprice:=(2*C+H+L)/4;
yg1:=IF(avgprice>REF(avgprice,1) AND VOL>REF(VOL,1) AND r>0,3,0);//
yg2:=IF(avgprice>REF(avgprice,1) AND VOL<REF(VOL,1) AND r>0,2,0);
yg3:=IF(avgprice>REF(avgprice,1) AND VOL<REF(VOL,1) AND r<0,1,0);
yg4:=IF(avgprice<REF(avgprice,1) AND VOL<REF(VOL,1) AND r>0,-1,0);
yg5:=IF(avgprice<REF(avgprice,1) AND VOL<REF(VOL,1) AND r<0,-2,0);
yg6:=IF(avgprice<REF(avgprice,1) AND VOL>REF(VOL,1) AND r<0,-3,0);
yg:=yg1+yg2+yg3+yg4+yg5+yg6;
zhpf:=SMA(0.5*SMA(yg,n1,1)+0.31*SMA(yg,n2,1)+0.19*SMA(yg,n3,1),M,1);
//yg均线
m1=0.5;
m2=0.31;
m3=0.19;
pri:=(2*C+H+L)/4;
pri1:=SMA(pri,n4,1);
pri2:=SMA(pri,n5,1);
pri3:=SMA(pri,n6,1);
avgp:=m1*pri1+m2*pri2+m3*pri3;
STICKLINE(zhpf>0 AND C>avgp,0,zhpf,8),color0000ff;//上升趋势
STICKLINE(zhpf<0 AND C<avgp,0,zhpf,8),color00ff00;//下跌趋势
STICKLINE(zhpf<0 AND C>avgp,0,zhpf,8),colorlired;//下跌趋势反转
STICKLINE(zhpf>0 AND C<avgp,0,zhpf,8),colorgray;//上升趋势反转
STICKLINE(zhpf>0 AND C>avgp AND zhpf<REF(zhpf,1) AND avgp<REF(avgp,1),0,zhpf,8),colorgray;//上升趋势反转2
STICKLINE(zhpf<0 AND C<avgp AND zhpf>REF(zhpf,1) AND avgp>REF(avgp,1),0,zhpf,8),colorlired;//下跌趋势反转2
[url=http://www.70822.com/soft/sort013/sort036/down-81869.html]YG趋势系统[/url]