找回密码
 立即注册

QQ登录

只需一步,快速开始

广告载入中...
查看: 461|回复: 2

[通达信]量化侦查兵指标---副图

[复制链接]
发表于 2023-1-27 18:57 | 显示全部楼层 |阅读模式

马上注册,享用更多功能,让你轻松玩转本论坛。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 mzdd 于 2023-1-27 19:09 编辑

X_1:=1231212;
X_2:=1;
主力持仓:Ema(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3)*X_2,COLORMAGENTA,LINETHICK2;
警戒线:80*X_2,COLORYELLOW;
X_3:=REF((LOW+OPEN+CLOSE+HIGH)/4,1)*X_2;
X_4:=SMA(Abs(LOW-X_3),13,1)/SMA(MAX(LOW-X_3,0),10,1)*X_2;
X_5:=EMA(X_4,10)*X_2;
X_6:=LLV(LOW,33)*X_2;
X_7:=EMA(IF(LOW<=X_6,X_5,0),3)*X_2;
stICKLINE(X_7>REF(X_7,1),0,X_7,3,0)*X_2,COLOR000055;
STICKLINE(X_7>REF(X_7,1),0,X_7,2.6,0)*X_2,COLOR000077;
STICKLINE(X_7>REF(X_7,1),0,X_7,2.1,0)*X_2,COLOR000099;
STICKLINE(X_7>REF(X_7,1),0,X_7,1.5,0)*X_2,COLOR0000BB;
STICKLINE(X_7>REF(X_7,1),0,X_7,0.9,0)*X_2,COLOR0000DD;
STICKLINE(X_7>REF(X_7,1),0,X_7,0.3,0)*X_2,COLORRED;
STICKLINE(X_7<REF(X_7,1),0,X_7,3,0)*X_2,COLOR005500;
STICKLINE(X_7<REF(X_7,1),0,X_7,2.6,0)*X_2,COLOR007700;
STICKLINE(X_7<REF(X_7,1),0,X_7,2.1,0)*X_2,COLOR009900;
STICKLINE(X_7<REF(X_7,1),0,X_7,1.5,0)*X_2,COLOR00BB00;
STICKLINE(X_7<REF(X_7,1),0,X_7,0.9,0)*X_2,COLOR00DD00;
STICKLINE(X_7<REF(X_7,1),0,X_7,0.3,0)*X_2,COLORGREEN;
主力出没:IF(X_7>REF(X_7,1),X_7,0)*X_2,NODRAW,COLORRED;
洗盘:IF(X_7<REF(X_7,1),X_7,0)*X_2,NODRAW,COLORGREEN;
X_8:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2))*X_2;
X_9:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2))*X_2;
X_10:=(REF(X_9,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_11:=(REF(X_10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_12:=(REF(X_11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_13:=(REF(X_12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_14:=(REF(X_13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_15:=(REF(X_14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_16:=(REF(X_15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_17:=(REF(X_16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_18:=(REF(X_17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_19:=(REF(X_18,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))*X_2;
X_20:=(REF(X_19,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))*X_2;
X_21:=REF(X_9 OR X_10 OR X_11 OR X_12 OR X_13 OR X_14 OR X_15 OR X_16 OR X_17 OR X_18 OR X_19 OR X_20,1) AND X_8;
X_22:=EMA(CLOSE,12)-EMA(CLOSE,26)*X_2;
X_23:=EMA(X_22,9)*X_2;
X_24:=(X_22-X_23)*2*X_2;
X_25:=BArslAST(REF(crOSS(X_22,X_23),1))*X_2;
X_26:=BARSLAST(REF(CROSS(X_23,X_22),1))*X_2;
X_27:=REF(CLOSE,X_25+1)>CLOSE AND X_22>REF(X_22,X_25+1) AND CROSS(X_22,X_23)*X_2;
X_28:=REF(CLOSE,X_26+1)<CLOSE AND REF(X_22,X_26+1)>X_22 AND CROSS(X_23,X_22)*X_2;
④:IF(X_27,57,0),COLORBROWN,LINETHICK3;
DRAWTEXT(X_27,15,285)*X_2,COLORWHITE;
DRAWTEXT(X_28,70,286),COLORGREEN;

发表于 2023-4-23 06:57 | 显示全部楼层
谢谢楼主分享!
回复

使用道具 举报

发表于 2023-5-16 20:23 | 显示全部楼层
感谢您的分享,好好学习,天天上涨!2023/5/16
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|股海明灯官网 ( 京ICP备18020431号 )

GMT+8, 2024-11-10 18:49 , Processed in 0.105727 second(s), Total 11, Slave 10 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

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