加减进出 止盈止损
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-08-15 08:37:00
公式简介:
追:MA((C+H+L)/3,3),COLORRED,LINETHICK4;
K1:=BACKSET(追<REF(追,1),2);
逃:IF(K1,追,DRAWNULL),COLORGREEN,LINETHICK4;
方向多:MA((C+H+L)/3,10),COLORMAGENTA,LINETHICK2;
K2:=BACKSET(方向多<REF(方向多,1),2);
方向空:IF(K2,方向多,DRAWNULL),COLORYELLOW,LINETHICK2;
追3:=REF(追,1);
方向多2:=REF(方向多,1);
MA2:=MA((C+H+L)/3,20);
MA3:=MA((C+H+L)/3,60);
ZC:=REF(C,1);
恐慌:=MA((C+H+L)/3,10)*IF(CAPITAL=0,0.9,0.80),COLORBROWN;
逃顶:=MA((C+H+L)/3,10)*IF(CAPITAL=0,1.04,1.1),POINTDOT,COLORGREEN;
超卖:=MA((C+H+L)/3,10)*IF(CAPITAL=0,0.95,0.9),POINTDOT,COLORCYAN;
疯狂:=MA((C+H+L)/3,10)*IF(CAPITAL=0,1.08,1.2),COLORRED;
持股:NOT(K1 OR K2),NODRAW;
DRAWTEXT((C>逃顶)AND(C<ZC),疯狂,'止赢'),COLORRED;
DRAWTEXT(追>逃顶,逃顶,'疯'),COLORYELLOW;
进:=NOT(K1 AND K2);
加:=NOT(K1 OR K2);
减:=K1 OR K2;
出:=K1 AND K2;
DRAWTEXT(进 AND NOT(REF(进,1)),追+C/20,'进'),COLORRED;
DRAWTEXT(加 AND NOT(REF(加,1)),方向多+C/10,'加'),COLORRED;
DRAWTEXT(减 AND REF(加,1),方向多-C/10,'减'),COLORRED;
DRAWTEXT(出 AND NOT(REF(出,1)),追-C/20,'出'),COLORRED;
[url=http://www.goodgupiao.com/gupiaogongshi/22075.html][B]加减进出 止盈止损[/B][/url]