公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

明日空间买卖点

2020-1-15 01:03| 发布者: admin| 查看: 28| 评论: 0

YF_BD20:=20;
YF_BD15:=15;
YF_BD10:=10;
YF_BD05:=5;
YF_BD00:=0;
YF_BDF5:=(0-5);
YF_DMR:=0;
YF_DMC:=0;
YF_DCG:=1;
YF_DSY:=0;
YF_DCB:=0;
YF_DKS:=0;
YF_DCB1:=0;
YF_DKS1:=0;
YF_TDMR:=0;
YF_TDMC:=0;
YF_TDCG:=0;
YF_ZFD:=0;
YF_YZFZ:=0;
YF_DDI:=0;
YF_JJ:=(AMOUNT / VOL);
YF_PJJ:=((OPEN + CLOSE) / 2);
YF_DDING:=0;
YF_MMD:=EMA(CLOSE,6);
YF_XXD:=MA(YF_MMD,1);
YF_YYZ:=EMA(CLOSE,18);
YF_XXD1:=REF(YF_XXD,1);
YF_YYZ1:=REF(YF_YYZ,1);
A:=BARSCOUNT(CLOSE);
YF_ZFD:=IF((A = 1),0,(((YF_XXD - YF_XXD1) / YF_XXD1) * 100));
YF_YZFZ:=IF((A = 1),0,(((YF_YYZ - YF_YYZ1) / YF_YYZ1) * 100));
YF_DDI:=0;
YF_JJ:=(AMOUNT / VOL);
YF_PJJ:=((OPEN + CLOSE) / 2);
YF_DDING:=0;
YF_JSD1:=0;
YF_JSD2:=0;
CLOSE1:=REF(CLOSE,1);
YF_JZDF:=IF((A = 1),0,(((CLOSE - CLOSE1) / CLOSE1) * 100));
YF_DCGJ:=IF((A = 1),((CLOSE + OPEN) / 2),YF_XXD1);
YF_DCB1:=IF((A = 1),1,REF(YF_DCB,1));
YF_DKS1:=IF((A = 1),1,REF(YF_DKS,1));
JJ0:=YF_XXD;
JJ1:=YF_XXD1;
JJ2:=REF(YF_XXD,2);
JJ02:=(((JJ0 + JJ1) + JJ2) / 3);
SS:=(((ABS((JJ0 - JJ02)) + ABS((JJ1 - JJ02))) + ABS((JJ2 - JJ02))) / 3);
YF_ZFD1:=REF(YF_ZFD,1);
YF_ZFD2:=REF(YF_ZFD,2);
YF_DHPXS:=IF((A < 3),0,((SS / JJ0) * 100));
YF_DHPFH:=IF((A < 3),0,IF((((YF_ZFD < 0) AND (YF_ZFD1 < 0)) AND (YF_ZFD2 < 0)),(0 - 1),1));
YF_ZFD1:=REF(YF_ZFD,1);
YF_JSD21:=REF(YF_JSD2,1);
YF_DDI:=IF((((A > 11) AND (YF_ZFD1 < 0)) AND (YF_ZFD > 0)),1,0);
YF_JSD:=BARSLAST((YF_DDI = 1));
YF_JSD11:=REF(YF_JSD,1);
YF_JSD1:=IF((((A > 11) AND (YF_ZFD1 < 0)) AND (YF_ZFD > 0)),(YF_JSD11 + 1),YF_JSD11);
YF_DDING:=IF((((A > 11) AND (YF_ZFD1 > 0)) AND (YF_ZFD < 0)),1,0);
YF_JSD2:=IF((((A > 11) AND (YF_ZFD1 > 0)) AND (YF_ZFD < 0)),(YF_JSD21 + 1),YF_JSD21);
DMRJ:=YF_DCGJ;
DMCJ:=YF_DCGJ;
YF_DMRJ:=IF(((A > 11) AND (DMRJ < OPEN)),OPEN,YF_DCGJ);
YF_DMCJ:=IF(((A > 11) AND (DMCJ > OPEN)),OPEN,YF_DCGJ);
YF_DCG1:=0;
YF_DCB1:=REF(YF_DCB,1);
YF_DCGJ1:=REF(YF_DCGJ,1);
YF_DMR:=IF(((((YF_ZFD > 0.5) AND ((YF_DHPXS > 0.215) OR (LOW > YF_DCGJ))) AND (CLOSE >= OPEN)) AND ((CLOSE >= 200) OR ((CLOSE < 200) AND (YF_JZDF < 11)))),1,0);
YF_DMC:=IF((((YF_ZFD < (0 - 0.3)) AND ((YF_DHPXS > 0.2) OR (HIGH < YF_DCGJ))) AND ((OPEN >= CLOSE) OR (YF_JZDF < (0 - 1)))),1,0);
YF_TDMR:=BARSSINCE(YF_DMR);
YF_TDMC:=BARSSINCE(YF_DMC);
IF YF_DMC[DATACOUNT] < YF_DMR[DATACOUNT] THEN
//B:=SETLBOUND(7,1);//这句原应该加上的
YF_DMC:=(YF_DMC OR (BARPOS = 1));
YF_DMRBUY:=((COUNT(YF_DMR,BARSLAST(YF_DMC)) = 1) AND YF_DMR);
YF_DMCSELL:=((COUNT(YF_DMC,BARSLAST(YF_DMR)) = 1) AND YF_DMC);
YF_DCG10:=BARSLAST(YF_DMCSELL);
YF_DCG11:=BARSLAST(YF_DMRBUY);
YF_DCGREAL:=((SUM(YF_DMCSELL,YF_DCG11) = 0) * YF_DCG11);
YF_DMRJ11:=REF(YF_DMRJ,YF_DCGREAL);
YF_DMRJ1:=REF(YF_DMRJ11,1);
YF_DSY1:=IF((YF_DMRBUY = 1),(((CLOSE - YF_DMRJ) / YF_DMRJ) * 100),(((YF_DMCJ - YF_DMRJ1) / YF_DMRJ1) * 100));
YF_DSY:=IF((((YF_DCGREAL = 0) AND (YF_DMRBUY = 0)) AND (YF_DMCSELL = 0)),0,YF_DSY1);
YF_DKS:=IF(((YF_DCB1 > 0) AND (YF_DMR = 0)),(((CLOSE - YF_DCGJ1) / YF_DCGJ1) * 100),0);
五域股龄:=BARSCOUNT(CLOSE);
限制天数:=DAYS1970;
短买入1:=YF_DMRBUY;
短买入:IF((限制天数 > 93823),0,短买入1),LINETHICK0;
短卖出1:=YF_DMCSELL;
短卖出:IF((限制天数 > 93823),0,短卖出1),LINETHICK0;
短持股1:=YF_DCGREAL;
短持股:IF((限制天数 > 93823),0,短持股1),LINETHICK0;
短本次收益:=YF_DSY;
短买价:=IF((短买入 = 1),YF_DMRJ11,IF(((短持股 <> 0) OR (短卖出 = 1)),YF_DMRJ1,0));
短卖价:=IF((短卖出 = 1),YF_DMCJ,0);
STICKLINE((短买入 = 1),OPEN,CLOSE,8,0),colorFF99FF;
STICKLINE((短买入 = 1),OPEN,CLOSE,6,0),colorFF00FF;
STICKLINE((短买入 = 1),OPEN,CLOSE,4,0),color9900FF;
STICKLINE((短买入 = 1),OPEN,CLOSE,2,0),colorFF;
STICKLINE((短持股 > 0),OPEN,CLOSE,0,0),colorFFBBFF;
STICKLINE((短持股 > 0),OPEN,CLOSE,8,0),colorFF00FF;
STICKLINE((短持股 > 0),OPEN,CLOSE,7,0),colorFF22FF;
STICKLINE((短持股 > 0),OPEN,CLOSE,6,0),colorFF44FF;
STICKLINE((短持股 > 0),OPEN,CLOSE,5,0),colorFF66FF;
STICKLINE((短持股 > 0),OPEN,CLOSE,4,0),colorFF88FF;
STICKLINE((短持股 > 0),OPEN,CLOSE,3,0),colorFF99FF;
STICKLINE((短持股 > 0),OPEN,CLOSE,2,0),colorFFAAFF;
STICKLINE((短持股 > 0),OPEN,CLOSE,1,0),colorFFBBFF;
STICKLINE((短卖出 = 1),OPEN,CLOSE,0,0),colorFF00;
STICKLINE((短卖出 = 1),OPEN,CLOSE,8,0),color8800;
STICKLINE((短卖出 = 1),OPEN,CLOSE,7,0),color9900;
STICKLINE((短卖出 = 1),OPEN,CLOSE,6,0),colorAA00;
STICKLINE((短卖出 = 1),OPEN,CLOSE,5,0),colorBB00;
STICKLINE((短卖出 = 1),OPEN,CLOSE,4,0),colorCC00;
STICKLINE((短卖出 = 1),OPEN,CLOSE,3,0),colorDD00;
STICKLINE((短卖出 = 1),OPEN,CLOSE,2,0),colorEE00;
STICKLINE((短卖出 = 1),OPEN,CLOSE,1,0),colorFF00;
VERTLINE((短买入 = 1)),LINETHICK1,colorFF;
VERTLINE((短卖出 = 1)),LINETHICK1,colorFF0000;
DRAWICON((短买入 = 1),LOW,1),ALIGN1;
DRAWICON((短卖出 = 1),HIGH,2),ALIGN2;
YF_下限:=COST(0.0001);
YF_主流成本:=COST(10);
YF_平均成本:=COST(50);
YF_浮动成本:=COST(90);
YF_上限:=COST(99.9999);
YF_SVOL:=SMA((VOL / 1000),10,1);
YF_HYZJ:=(YF_SVOL * CLOSE);
LC:=REF(CLOSE,1);
YF_SCQR:=((SMA(MAX((CLOSE - LC),0),12,1) / SMA(ABS((CLOSE - LC)),12,1)) * 100);
A:=BARSCOUNT(CLOSE);
YF_DSYLJ:=0;
YF_DCSLJ:=0;
YF_GLDSY:=0;
YF_MAXDSY:=0;
YF_DCSLY:=COUNT(((YF_DMC = 1) AND (YF_DSY <> 0)),0);
YF_MAXDSY:=HHV(YF_DSY,0);
YF_GLDSY:=BARSSINCE(((YF_DMC = 1) AND (YF_DSY <> 0)));
YF_DSYLJ1:=IF((YF_DMC = 1),YF_DSY,0);
YF_DSYLJ:=(SUM(YF_DSYLJ1,0) - YF_DCSLY);
短总收益:=YF_DSYLJ;
短总次数:=YF_DCSLY;
D:=IF((A < 240),A,240);
短年次数:=(COUNT(((YF_DMC = 1) AND (YF_DSY <> 0)),0) - REF(COUNT(((YF_DMC = 1) AND (YF_DSY <> 0)),0),D));
短年收益:=((SUM(YF_DSYLJ1,0) - YF_DCSLY) - REF((SUM(YF_DSYLJ1,0) - YF_DCSLY),D));
DZMM:=IF((短买入 = 1),1,IF((短持股 > 0),2,IF((短卖出 = 1),9,0)));
短操盘状态1:=DZMM;
短操盘状态:IF((限制天数 > 93823),0,短操盘状态1),LINETHICK0;
明日空间买卖点1:=EMA(CLOSE,6);
明日空间买卖点:IF((限制天数 > 93823),0,明日空间买卖点1),LINETHICK0;


鲜花

握手

雷人

路过

鸡蛋
返回顶部