您现在的位置:好股网 >> 股票公式 >> 通达信公式 >> 一键转帖:买卖决策(源码 副图 贴图)

买卖决策(源码 副图 贴图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2010-12-06 11:16:00
公式简介:

买卖决策
A1:=EMA(C,12)-EMA(C,25);
A2:=EMA(A1,6);
获利回吐:(A2>=0)*A2,COLORWHITE,LINETHICK0;
空头回补:(A2<0)*A2,COLORYELLOW,LINETHICK0;
坚绝做空:(A1<0)*A1,COLORGREEN,LINETHICK0;
买入持股:(A1>=0)*A1,COLORRED,LINETHICK0;
STICKLINE(A2>=0,A2,0,3.2,0),COLOR555555;
STICKLINE(A2>=0,A2,0,2.9,0),COLOR777777;
STICKLINE(A2>=0,A2,0,2.4,0),COLOR999999;
STICKLINE(A2>=0,A2,0,1.8,0),COLORBBBBBB;
STICKLINE(A2>=0,A2,0,1.1,0),COLORDDDDDD;
STICKLINE(A2>=0,A2,0,0.3,0),COLORFFFFFF;
STICKLINE(A2<0,A2,0,3.2,0),COLORFF5500;
STICKLINE(A2<0,A2,0,2.9,0),COLORFF7700;
STICKLINE(A2<0,A2,0,2.4,0),COLORFF9900;
STICKLINE(A2<0,A2,0,1.8,0),COLORFFBB00;
STICKLINE(A2<0,A2,0,1.1,0),COLORFFDD00;
STICKLINE(A2<0,A2,0,0.3,0),COLORFFFF00;
STICKLINE(A1<0,A1,0,3.2,0),COLORCC0066;
STICKLINE(A1<0,A1,0,2.9,0),COLOREE0066;
STICKLINE(A1<0,A1,0,2.4,0),COLORFF0066;
STICKLINE(A1<0,A1,0,1.8,0),COLORFF2266;
STICKLINE(A1<0,A1,0,1.1,0),COLORFF4466;
STICKLINE(A1<0,A1,0,0.3,0),COLORFF6666;
STICKLINE(A1>=0,A1,0,3.2,0),COLOR000055;
STICKLINE(A1>=0,A1,0,2.9,0),COLOR000077;
STICKLINE(A1>=0,A1,0,2.4,0),COLOR000099;
STICKLINE(A1>=0,A1,0,1.8,0),COLOR0000BB;
STICKLINE(A1>=0,A1,0,1.1,0),COLOR0000DD;
STICKLINE(A1>=0,A1,0,0.3,0),COLOR0000FF;
SAR持币:IF(SAR(10,2,20)>=H,0,DRAWNULL),CIRCLEDOT,COLORGREEN;
SAR持股:IF(SAR(10,2,20)<=L,0,DRAWNULL),CIRCLEDOT,COLOR000099;


 


[url=http://www.goodgupiao.com/gupiaogongshi/11157.html][B]买卖决策(源码 副图 贴图)[/B][/url]