设为首页收藏本站

步步汇盈服务平台

 找回密码
 手机注册
搜索
查看: 1304|回复: 0
打印 上一主题 下一主题

进场 离场

[复制链接]
跳转到指定楼层
楼主
发表于 2017-11-21 09:10:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 cxd198355 于 2017-11-21 09:59 编辑

JRH:=HHV(C,2);
JRL:=LLV(C,2);

R1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
R2:=(REF(R1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R3:=(REF(R2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
R4:=(REF(R3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R5:=(REF(R4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
R6:=(REF(R5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R7:=(REF(R6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
R8:=(REF(R7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R9:=(REF(R8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
RA:=(REF(R9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
RB:=(REF(RA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
RC:=(REF(RB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
RD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
RE:=(REF(RD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
RF:=(REF(RE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R10:=(REF(RF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
R11:=(REF(R10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R12:=(REF(R11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
R13:=(REF(R12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R14:=(REF(R13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
R15:=(REF(R14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R16:=(REF(R15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
R17:=(REF(R16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
R18:=(REF(R17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
R19:=REF(RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,1) AND R1;
R1A:=((REF(R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,1)) AND RD);

春买:=R19,COLOR00DD00;
秋离场:=R1A,COLOR2288EE;
红持股:=R1 OR R2 OR R3 OR R4 OR R5 OR R6 OR R7 OR R8 OR R9 OR RA OR RB OR RC,COLOR0000FF;
阴观望:=RD OR RE OR RF OR R10 OR R11 OR R12 OR R13 OR R14 OR R15 OR R16 OR R17 OR R18,COLOR999999;

离场:=IF(红持股,JRL,0);
明离场价:离场,COLORFF99FF,LINETHICK0;
今离场价:REF(离场,1),COLOR0000FF,LINETHICK0;
进:=IF(阴观望,JRH,0);
明进场价:进,COLOR33AACC,LINETHICK0;
今进场价:REF(明进场价,1),COLOR00FF00,LINETHICK0;

DRAWTEXTex(BARSTATUS=2 ,1,500,100,'-----------------------------------'),Coloryellow,align4,align2,;
DRAWTEXTex(c,1,600,130,'  今进场价=:'+NUMTOSTR(今进场价 ,2 )+' '),ColorFF00FF,align4,align2,LineThick25;
DRAWTEXTex(进,1,600,200,'  明进场价=:'+NUMTOSTR(明进场价 ,2 )+' '),,Colorff00FF,align4,align2,LineThick25;
DRAWTEXTex(离场,1,450,200,'明离场价=:'+NUMTOSTR(明离场价 ,2 )+' '),align4,Colorgreen,align2,LineThick25;
DRAWTEXTex(c,1,450,130,'  今离场价=:'+NUMTOSTR(今离场价 ,2 )+' '),Color00FF00,align4,align2,LineThick25;
DRAWTEXTex(c ,1,500,260,'----------------------------------'),Coloryellow,align4,align2,;


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 手机注册

本版积分规则

QQ|小黑屋|手机版|Archiver|步步汇盈 ( 冀ICP备13000772   

GMT+8, 2024-12-24 03:27 , Processed in 0.131858 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc. 技术支持 by 巅峰设计.

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