开红花买大涨 测试代码不包含未来函数
-
相关简介:C/C++ Code 复制内容到剪贴板 [localimg=375,300]1[/localimg] {开红花买大涨测试代码不包含未来函数!} N:=21; VAR1:=(CLOSE+LOW+HIGH)/3; VAR2:=SUM(((VAR1-REF(LOW,3))-(HIGH-VAR1))*VOL/10000/(HIGH-LOW),1); VAR3:=EMA(VAR2,3),COLORFFEE3C; JCS0:VAR3,CIRCLEDOT,LINETHICK1,CO
-
文章来源:择股网作者:股海网发布时间:2009-09-06浏览次数:
C/C++ Code复制内容到剪贴板
- [localimg=375,300]1[/localimg]
- {开红花买大涨 测试代码不包含未来函数!}
- N:=21;
- VAR1:=(CLOSE+LOW+HIGH)/3;
- VAR2:=SUM(((VAR1-REF(LOW,3))-(HIGH-VAR1))*VOL/10000/(HIGH-LOW),1);
- VAR3:=EMA(VAR2,3),COLORFFEE3C;
- JCS0:VAR3,CIRCLEDOT,LINETHICK1,COLORFFEE3C;
- 波段买入或持股:IF(JCS0>REF(JCS0,1),JCS0,DRAWNULL),LINETHICK4;
- 波段卖出或观望:IF(JCS0<REF(JCS0,1),JCS0,DRAWNULL),LINETHICK3,COLORFFEE3C;
- IF(VAR1>REF(VAR1,1),VAR3,10),CIRCLEDOT,COLORRED,LINETHICK2;
- IF(VAR1<REF(VAR1,1),VAR3,10),CIRCLEDOT,COLOR00FF00,LINETHICK2;
- VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
- VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
- VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
- VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
- VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
- JCS:=VAR3;
- JCS1:VAR3,COLORRED,CIRCLEDOT,LINETHICK1;
- JCS2:VAR3,COLORRED,,LINETHICK1;
- JCM:=MA(VAR3,12)COLORYELLOW;
- JCL:=MA(VAR3,26)COLORMAGENTA;
- JCM1:IF(JCM<VAR3,JCM,DRAWNULL),,COLORYELLOW,LINETHICK2;
- JCM2:IF(JCM>VAR3,JCM,DRAWNULL),,COLORBLUE,LINETHICK2;
- JCL1:IF(JCL<VAR3,JCL,DRAWNULL),,COLORMAGENTA,LINETHICK2;
- JCL2:IF(JCL>VAR3,JCL,DRAWNULL),,COLORCYAN,LINETHICK2;
- 开红花大涨:=FILTER(CLOSE/REF(CLOSE,3)>=1.1,3);
- 买入:=IF((开红花大涨 AND COUNT(开红花大涨,3)=1),30,0),COLORYELLOW,LINETHICK3;
- OP:=STICKLINE(买入,O,C,4,0)COLORYELLOW;
- B:IF(买入>0 ,JCL,DRAWNULL),CROSSDOT,LINETHICK6,COLORRED;
- B2:IF(买入>0 ,JCL,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
- 开蓝花跌:=VAR1A;
- 卖出:=IF((开蓝花跌 AND COUNT(开蓝花跌,3)=1),30,0),COLORYELLOW,LINETHICK3;
- OP1:=STICKLINE(开蓝花跌,O,C,4,0)COLORYELLOW;
- IF(卖出>0 ,JCL,DRAWNULL),CROSSDOT,LINETHICK6,COLORCYAN;
- IF(卖出>0 ,JCL,DRAWNULL),POINTDOT,LINETHICK4,COLOR00CCFF;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:综合精华指标主图(没有未来函数)
下一篇:JIP_BOLL ;精密布林