股票论坛

 找回密码
 免费注册
搜索
热搜: 活动 交友 discuz
查看: 1925|回复: 0
打印 上一主题 下一主题

通达信降龙十八掌副图

[复制链接]

爵★★★

Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21Rank: 21

听众
2

爵★★★爵★★★爵★★★

跳转到指定楼层
楼主
发表于 2016-9-28 22:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
{降龙十八掌}

X_1:=SUM(EMA((CLOSE+LOW)/2,1)/3,3);
X_2:=EMA(X_1,3);
X_3:=EMA(X_2,3);
X_4:=MA(CLOSE,20);
X_5:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
X_6:=REF(X_5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_7:=REF(X_6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_8:=REF(X_7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_9:=REF(X_8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_10:=REF(X_9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_11:=REF(X_10,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_12:=REF(X_11,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_13:=REF(X_12,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_14:=REF(X_13,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_15:=REF(X_14,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_16:=REF(X_15,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_17:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
X_18:=REF(X_17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_19:=REF(X_18,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_20:=REF(X_19,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_21:=REF(X_20,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_22:=REF(X_21,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_23:=REF(X_22,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_24:=REF(X_23,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_25:=REF(X_24,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_26:=REF(X_25,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_27:=REF(X_26,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
X_28:=REF(X_27,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
X_29:=REF(X_17 OR X_18 OR X_19 OR X_20 OR X_21 OR X_22 OR X_23 OR X_24 OR X_25 OR X_26 OR X_27 OR X_28,1) AND X_5;
X_30:=REF(X_5 OR X_6 OR X_7 OR X_8 OR X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16,1) AND X_17;
X_31:=KDJ.J#WEEK;
X_32:=KDJ.D#WEEK;
X_33:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_34:=EMA(X_33,9);
X_35:=(X_33-X_34)*2;
X_36:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_37:=SMA(X_36,3,1);
X_38:=SMA(X_37,3,1);
X_39:=3*X_37-2*X_38;
X_40:=COUNT(CROSS(X_31,X_32),5)>=1;
X_41:=REF(X_39,1)=LLV(X_39,3) AND REF(X_39,1)<REF(X_38,1);
X_42:=5;
X_43:=5;
X_44:=(X_36/2+22)*1;
X_45:=EMA(VOL,13);
X_46:=EMA(AMOUNT,13);
X_47:=X_46/X_45/100;
X_48:=(CLOSE-X_47)/X_47*100;
X_49:=X_48<0 AND ZX.AV;
X_50:=IF(X_49 AND X_36<X_44-2,50,0);
X_51:=IF(X_49 AND X_36>X_44,80,120);
X_52:=40;
X_53:=MA(CLOSE,5);
X_54:=MA(MA(CLOSE,20),5);
X_55:=(X_53-REF(X_53,1))/REF(X_53,1)*100;
X_56:=(X_54-REF(X_54,1))/REF(X_54,1)*100;
X_57:=X_55>REF(X_55,1);
XG:CROSS(X_52,X_50) AND FILTER(X_29=1,5) AND X_40 AND X_41=1 AND X_57,COLORMAGENTA;
DRAWTEXT(XG,(CROSS(X_52,X_50) AND FILTER(X_29=1,5) AND X_40 AND X_41=1 AND X_57)*0.55,'降龙十八掌'),COLORMAGENTA;
您需要登录后才可以回帖 登录 | 免费注册

本版积分规则

QQ|站点首页|手机版|小黑屋|帮助中心|桂ICP备14001964号

GMT+8, 2024-12-5 03:46 , Processed in 0.137937 second(s), 20 queries .

Powered by Discuz! X3.2

© 2004-2014 早晨网股票论坛欢迎您!..

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