股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 3055|回复: 2
打印 上一主题 下一主题

如何将此主图指标改为预警

[复制链接]

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2
跳转到指定楼层
楼主
发表于 2017-1-11 11:21 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
10爱心果
如何将此主图指标改为预警
低1:=REF(LLV(L,150),3);
标底:=REFDATE(低1,DATE)*0.9;
突破:=REF(EMA(C,14),1),DOTLINE;
A1X:=(EMA(C,10)-突破)/突破*100;
多方:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),DRAWNULL),DOTLINE,COLORRED,LINETHICK1;
空方:=IF(A1X<0,REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1),DRAWNULL),DOTLINE,COLORGREEN,LINETHICK1;
DRAWRECTREL(0,0,999,990,RGB(18,18,18));
DRAWRECTREL(0,0,999,100,RGB(90,0,0));
DRAWBAND(空方,RGB(8,118,8),突破,RGB(0,0,255));
DRAWBAND(突破,RGB(118,8,8),多方,RGB(0,0,255));
五五线:EMA(C,55),COLORGRAY;
STICKLINE(C>0,五五线,标底,0.1,0),COLORGRAY;
DRAWKLINE(H,O,L,C);
丹田能量:EMA(C,55)COLORMAGENTA,CIRCLEDOT,NODRAW;
少商剑:EMA(C,13),COLORRED,LINETHICK2;
商阳剑:EMA(EMA(C,13),2);
中冲剑:EMA(EMA(EMA(C,13),2),2);
关冲剑:EMA(EMA(EMA(EMA(C,13),2),2),2);
少冲剑:EMA(EMA(EMA(EMA(EMA(C,13),2),2),2),2);
少泽剑:EMA(EMA(EMA(EMA(EMA(EMA(C,13),2),2),2),2),2);
IF(少商剑<REF(少商剑,1),少商剑,DRAWNULL),COLORYELLOW,LINETHICK2;
IF(商阳剑<REF(商阳剑,1),商阳剑,DRAWNULL),COLORYELLOW;
IF(中冲剑<REF(中冲剑,1),中冲剑,DRAWNULL),COLORYELLOW;
IF(关冲剑<REF(关冲剑,1),关冲剑,DRAWNULL),COLORYELLOW;
IF(少冲剑<REF(少冲剑,1),少冲剑,DRAWNULL),COLORYELLOW;
IF(少泽剑<REF(少泽剑,1),少泽剑,DRAWNULL),COLORYELLOW;
TJ1:=少商剑>=REF(少商剑,1);
TJ2:=商阳剑>=REF(商阳剑,1);
TJ3:=中冲剑>=REF(中冲剑,1);
TJ4:=关冲剑>=REF(关冲剑,1);
TJ5:=少冲剑>=REF(少冲剑,1);
TJ6:=少泽剑>=REF(少泽剑,1);
ZTJ:=(TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND TJ6)=1
AND REF((TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND TJ6),1)=0;
DRAWICON(ZTJ,少泽剑*0.96,9);
STICKLINE(C>0,标底,标底*0.95,2,-1),COLORGREEN;
STICKLINE(TJ6,标底,标底*0.95,2,0),COLORLIRED;
STICKLINE(C>0,标底*0.92,标底*0.87,2,-1),COLORGREEN;
STICKLINE(TJ5,标底*0.92,标底*0.87,2,0),COLORLIRED;
STICKLINE(C>0,标底*0.84,标底*0.79,2,-1),COLORGREEN;
STICKLINE(TJ4,标底*0.84,标底*0.79,2,0),COLORLIRED;
STICKLINE(C>0,标底*0.76,标底*0.71,2,-1),COLORGREEN;
STICKLINE(TJ3,标底*0.76,标底*0.71,2,0),COLORLIRED;
STICKLINE(C>0,标底*0.68,标底*0.63,2,-1),COLORGREEN;
STICKLINE(TJ2,标底*0.68,标底*0.63,2,0),COLORLIRED;
STICKLINE(C>0,标底*0.6,标底*0.55,2,-1),COLORGREEN;
STICKLINE(TJ1,标底*0.6,标底*0.55,2,0),COLORLIRED;
DRAWTEXT_FIX(1,0.01,0.01,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.15,0.01,0,DYBLOCK),COLORWHITE;

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2
沙发
发表于 2017-1-16 12:44 | 只看该作者
老师的教学视频课程第十八课有教的.
这个主图你是要出钱袋图标的选股吗?
{钱袋选股}
少商剑:=EMA(C,13);
商阳剑:=EMA(EMA(C,13),2);
中冲剑:=EMA(EMA(EMA(C,13),2),2);
关冲剑:=EMA(EMA(EMA(EMA(C,13),2),2),2);
少冲剑:=EMA(EMA(EMA(EMA(EMA(C,13),2),2),2),2);
少泽剑:=EMA(EMA(EMA(EMA(EMA(EMA(C,13),2),2),2),2),2);
TJ1:=少商剑>=REF(少商剑,1);
TJ2:=商阳剑>=REF(商阳剑,1);
TJ3:=中冲剑>=REF(中冲剑,1);
TJ4:=关冲剑>=REF(关冲剑,1);
TJ5:=少冲剑>=REF(少冲剑,1);
TJ6:=少泽剑>=REF(少泽剑,1);
ZTJ:=(TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND TJ6)=1 AND REF((TJ1 AND TJ2 AND TJ3 AND TJ4 AND TJ5 AND TJ6),1)=0;
去停牌:=DYNAINFO(4)>0;
XG:ZTJ AND 去停牌;

不知道这个是不是你想要的条件选股.
回复

使用道具 举报

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2
板凳
 楼主| 发表于 2017-1-16 23:50 | 只看该作者
谢谢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-11-24 00:39 , Processed in 0.150935 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表