首页 > 正版K线密码

机构最新版通达信最神奇的主图买卖指标

作者:K线密码创建日期:2023-05-16
LH_DDI:=(AMOUNT / VOL);
LH_JJ:=((OPEN + CLOSE) / 2);
LH_DDING:=EMA(CLOSE,6);
LH_MMD:=MA(LH_DDING,1);
LH_XXD:=EMA(CLOSE,18);
LH_YYZ:=REF(LH_MMD,1);
LH_XXD1:=REF(LH_XXD,1);
LH_YYZ1:=BARSCOUNT(CLOSE);
LH_TDCG:=IF((LH_YYZ1 = 1),0,(((LH_MMD - LH_YYZ) / LH_YYZ) * 100));
LH_ZFD:=IF((LH_YYZ1 = 1),0,(((LH_XXD - LH_XXD1) / LH_XXD1) * 100));
LH_JSD2:=REF(CLOSE,1);
CLOSE1:=IF((LH_YYZ1 = 1),0,(((CLOSE - LH_JSD2) / LH_JSD2) * 100));
LH_JZDF:=IF((LH_YYZ1 = 1),((CLOSE + OPEN) / 2),LH_YYZ);
LH_DCGJ:=LH_MMD;
JJ0:=LH_YYZ;
JJ1:=REF(LH_MMD,2);
JJ2:=(((LH_DCGJ + JJ0) + JJ1) / 3);
JJ02:=(((ABS((LH_DCGJ - JJ2)) + ABS((JJ0 - JJ2))) + ABS((JJ1 - JJ2))) / 3);
SS:=REF(LH_TDCG,1);
LH_ZFD1:=REF(LH_TDCG,2);
LH_ZFD2:=IF((LH_YYZ1 < 3),0,((JJ02 / LH_DCGJ) * 100));
LH_DHPXS:=IF((LH_YYZ1 < 3),0,IF((((LH_TDCG < 0) AND (SS < 0)) AND (LH_ZFD1 < 0)),(0 - 1),1));
SS1:=REF(LH_TDCG,1);
LH_YZFZ:=IF((((LH_YYZ1 > 11) AND (SS1 < 0)) AND (LH_TDCG > 0)),1,0);
LH_JSD21:=BARSLAST((LH_YZFZ = 1));
LH_JSD:=REF(LH_JSD21,1);
AA:=IF((((LH_YYZ1 > 11) AND (SS < 0)) AND (LH_TDCG > 0)),(LH_JSD + 1),LH_JSD);
LH_PJJ:=IF((((LH_YYZ1 > 11) AND (SS > 0)) AND (LH_TDCG < 0)),1,0);
LH_JSD11:=LH_JZDF;
DMRJ:=LH_JZDF;
DMCJ:=IF(((LH_YYZ1 > 11) AND (LH_JSD11 < OPEN)),OPEN,LH_JZDF);
LH_DMRJ:=IF(((LH_YYZ1 > 11) AND (DMRJ > OPEN)),OPEN,LH_JZDF);
LH_DMCJ:=0;
LH_DCG1:=REF(LH_JZDF,1);
LH_BDF5:=IF(((((LH_TDCG > 0.5) AND ((LH_ZFD2 > 0.215) OR (LOW > LH_JZDF))) AND (CLOSE >= OPEN)) AND ((CLOSE >= 200) OR ((CLOSE < 200) AND (CLOSE1 < 11)))),1,0);
LH_DMR1:=IF((((LH_TDCG < (0 - 0.3)) AND ((LH_ZFD2 > 0.2) OR (HIGH < LH_JZDF))) AND ((OPEN >= CLOSE) OR (CLOSE1 < (0 - 1)))),1,0);
LH_DKS1:=BARSSINCE(LH_BDF5);
LH_TDMR:=BARSSINCE(LH_DMR1);
LH_DMR:=(LH_DMR1 );
LH_DCGJ1:=((COUNT(LH_BDF5,BARSLAST(LH_DMR)) = 1) AND LH_BDF5);
LH_DMRBUY:=((COUNT(LH_DMR,BARSLAST(LH_BDF5)) = 1) AND LH_DMR);
LH_DMCSELL:=BARSLAST(LH_DMRBUY);
LH_DCG10:=BARSLAST(LH_DCGJ1);
LH_DCG11:=((SUM(LH_DMRBUY,LH_DCG10) = 0) * LH_DCG10);
LH_DCGREAL:=REF(DMCJ,LH_DCG11);
LH_DMRJ11:=REF(LH_DCGREAL,1);
LH_DMRJ1:=IF((LH_DCGJ1 = 1),(((CLOSE - DMCJ) / DMCJ) * 100),(((LH_DMRJ - LH_DMRJ11) / LH_DMRJ11) * 100));
LH_DCG:=IF((((LH_DCG11 = 0) AND (LH_DCGJ1 = 0)) AND (LH_DMRBUY = 0)),0,LH_DMRJ1);
短买入:=LH_DCGJ1;
短买入C:IF(短买入,C,0),NODRAW;
短卖出:=LH_DMRBUY;
短卖出C:IF(短卖出,C,0),NODRAW;
短持股:LH_DCG11,NODRAW;
短持股1:=LH_DCG;
短本次收益:=IF((短买入 = 1),LH_DCGREAL,IF(((短持股 != 0) OR (短卖出 = 1)),LH_DMRJ11,0));
短买价:=IF((短卖出 = 1),LH_DMRJ,0);
STICKLINE((短买入=1),O,C,2,0),LINETHICK1,COLORFFFFFF;
STICKLINE((短卖出=1),O,C,2,0),LINETHICK1,COLORFF0000;
DRAWICON((短买入=1),LOW,1);
DRAWICON((短卖出=1),HIGH,2);
短操盘状态:IF((短买入 = 1),1,IF((短持股 > 0),2,IF((短卖出 = 1),9,0))),NODRAW;
明日空间买卖点:EMA(CLOSE,6),NODRAW;
五域股龄:BARSCOUNT(CLOSE),NODRAW;
短买入2:LH_DCGJ1,NODRAW;
短卖出2:LH_DMRBUY,NODRAW;
短持股2:LH_DCG11,NODRAW;
本次收益2:LH_DCG,NODRAW;
短买价2:IF((短买入2 = 1),LH_DCGREAL,IF(((短持股2 != 0) OR (短卖出2 = 1)),LH_DMRJ11,0)),NODRAW;
短卖价2:IF((短卖出2 = 1),LH_DMRJ,0),NODRAW;
LH_MAXDSY2:=COUNT(((LH_DMR = 1) AND (LH_DCG != 0)),0);
LH_DCSLY2:=IF((LH_DMR = 1),LH_DCG,0);
总收益:(SUM(LH_DCSLY2,0) - LH_MAXDSY2),NODRAW;
总次数:LH_MAXDSY2,NODRAW;
总次数1:=IF((LH_YYZ1 < 240),LH_YYZ1,240);
年收益:((SUM(LH_DCSLY2,0) - LH_MAXDSY2) - REF((SUM(LH_DCSLY2,0) - LH_MAXDSY2),总次数1)),NODRAW;
年次数:(COUNT(((LH_DMR = 1) AND (LH_DCG != 0)),0) - REF(COUNT(((LH_DMR = 1) AND (LH_DCG != 0)),0),总次数1)),NODRAW;
短操盘状态1:IF((短买入2>=1),1,IF((短持股2>0),2,IF((短卖出2>=1),9,0))),NODRAW;
明日买卖点1:EMA(CLOSE,6),NODRAW;

上一篇:带趋势买点指标:{神秘曲线}

下一篇:超变态准确率的通达信选股公式

猜你喜欢