注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

逍遥快活林的博客

借鉴经典 汇聚精彩 博闻博记 常读常新 自斟自饮 自娱自乐 开阔视野 丰富生活

 
 
 

日志

 
 
关于我

一个老翁,两耳生风。三龄泳史,四年骑行,五旬轮滑,六载摄影。七成财力,八方驰骋。九九归真,十分高兴。

网易考拉推荐

止赢止损位ZT  

2017-09-17 17:14:57|  分类: 股軟指标 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
{止赢止损位ZT}
LC:=REF(CLOSE,1);
RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);
TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);
HA:=(HIGH - REF(HIGH,1));
LA:=(REF(LOW,1) - LOW);
DMP:=SUM(IF(((HA > 0) AND (HA > LA)),HA,0),10);
DMM:=SUM(IF(((LA > 0) AND (LA > HA)),LA,0),10);
PDI:=((DMP * 100) / TR1);
MDI:=((DMM * 100) / TR1);
ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);
AV:=(RSI5 + ADX);
DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);
WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10)));
NEWVOL:=(RSI5 - WR10);
M:=(AV + NEWVOL);
卖:=(AV - NEWVOL);
MA1:=MA(CLOSE,3);
MA2:=MA(CLOSE,5);
X:=BARSLAST(CROSS(MA1,MA2));
止损:REF(C,X+1)*(1-0.05),COLORGREEN;
止赢:REF(IF(C>O,C,O),X)*(1+0.1),COLORLIRED;
多:C>止赢,COLOR9900FF,NODRAW;
买:CROSS(C,止赢),COLORYELLOW,NODRAW;
放突:DYNAINFO(4)>0
AND HHV(HIGH,10)/LLV(LOW,10)<1.25
AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)
AND CLOSE>OPEN
AND CLOSE>=HHV(HIGH,10),NODRAW;

{按部就班}
 N:=5; 
顶部:=COST(19*N) ,COLORFFFF33; 
AA:=C>顶部,NODRAW;
筹价高:=COST(99.999),COLORFF0099,LINETHICK3;
BB:=筹价高>REF(筹价高,1),COLORFFFFFF,NODRAW;
VAR1:=MA(C,3),COLORGREEN; 
 VAR1A:=IF(VAR1>REF(VAR1,1),VAR1,DRAWNULL){ AND XG},COLORCYAN;
CC:=VAR1>REF(VAR1,1),COLORCYAN,NODRAW;
乾坤:=HHV(HIGH,60)*0.98{ AND XG},COLORFF7F00;
DD:=乾坤>REF(乾坤,1),COLORFF7F00,NODRAW;
九十:=COST(90){ AND XG},COLOR00FFFF;
EE:=九十>REF(九十,1),COLORCYAN,NODRAW;
ABCDE:AA AND BB AND CC AND DD AND EE,NODRAW;
QQ:CROSS(ABCDE,0.9),NODRAW; 

A0:=(L+H+C*2)/4;
工作:=EMA(A0,14)COLORYELLOW,LINETHICK3;
A1X:=(工作-REF(工作,1))/REF(工作,1)*100;
逼空线:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNULL),COLORYELLOW,CIRCLEDOT;
 波段顶:(XMA(XMA(H,120),120)-XMA(XMA(L,120),120))*4+XMA(XMA(H,120),120),LINETHICK1,COLORCYAN;
 波段底:=XMA(XMA(L,120),120)-(XMA(XMA(H,120),120)-XMA(XMA(L,120),120))*4,LINETHICK1,COLORYELLOW;
 DX:=DRAWLINE(HIGH>=HHV(HIGH,12),HIGH,LOW<=LLV(LOW,12),HHV(HIGH,4),1),LINETHICK2,COLORMAGENTA;
 KX:DRAWLINE(LOW<=LLV(LOW,12),LOW,HIGH>=HHV(HIGH,12),LLV(LOW,4),1),LINETHICK1,COLORWHITE;
F:C<KX AND C>波段顶,COLORGREEN,NODRAW;

日穿百:"日周网日周散.日穿百",COLORFF00FF,NODRAW;
周散归0:"日周网日周散.周散归0",COLORFFFFFF,NODRAW;
日网语:"日周网日周散.网语",COLORFF00FF,NODRAW;
穿百买:日穿百 AND 买,COLORCYAN,NODRAW;
穿百ZS0:日穿百 AND 周散归0,NODRAW;
FF:ABCDE=1 AND 日网语>100 AND (C-REF(C,1))/REF(C,1)<0.09 AND H>L,NODRAW;

DRAWICON(F,L,27);
 DRAWTEXT(ISLASTBAR,波段底,'底'),COLORYELLOW;
 DRAWTEXT(ISLASTBAR,波段顶,'顶'),COLORYELLOW;
{极品绝底:=C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),COLORBLUE,NODRAW;
回调止赢:HHV(H,X+1)*(1-0.03),COLORFF0099,POINTDOT,LINETHICK4;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED};

DRAWTEXT(买,止损-1,'买'),COLORYELLOW;
DRAWICON(QQ,止损-2,22);
DRAWICON(FF,止损-3,23);

DRAWTEXT(CROSS(卖,买),H*1.02,'卖'),COLORGREEN;
 

 
 

  评论这张
 
阅读(4)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017