[通达信] 适合上班族的通达信寻找主力副图指标 源码 贴图

[复制链接]
查看62 | 回复0 | 2024-11-1 09:03:02 | 显示全部楼层 |阅读模式
寻找主力,
有彩柱就有主力进入,
适合上班族的副图
N参数:日,双日,周,一般为5;小时及以下为8,月K及周期以上为4。
洗盘拉升参数=1时,洗盘可能告一段落,后市可能上涨。
持股参数=0.5时可以持股。
持股参数=0时考虑减仓。
wp1.png

wp2.png

X_1:=26;
X_2:=(CLOSE*2+HIGH+LOW)/4*10;
X_3:=EMA(X_2,13)-EMA(X_2,34);
X_4:=EMA(X_3,5);
X_5:=2*(X_3-X_4)*5.5;
主力撤:IF(X_5<=0,X_5,0),COLORGREEN;
主力进:IF(X_5>=0,X_5,0),COLORRED;
X_6:=MA(CLOSE,250)<=REF(MA(CLOSE,250),1);
X_7:=CLOSE<MA(CLOSE,250) AND CLOSE>MA(CLOSE,250)*0.9;
X_8:=MA(CLOSE,5)<MA(CLOSE,250) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
X_9:=CAPITAL/VOL/100>0.03;
X_10:=(HIGH+LOW+CLOSE)/3;
X_11:=SUM(MAX(0,HIGH-REF(X_10,1)),X_1)/SUM(MAX(0,REF(X_10,1)-LOW),X_1)*100>175;
X_12:=X_6 AND X_7 AND X_8 AND X_9 AND X_11;
X_13:=VOL>MA(VOL,5)*3.33 AND VOL>REF(VOL,1)*2.5;
X_14:=VOL>MA(VOL,5)*2.5 AND MA(VOL,5)>MA(VOL,10) AND MA(VOL,10)>MA(VOL,30);
X_15:=X_13 OR X_14 OR VOL>REF(MA(VOL,3),1)*4 OR 100*VOL/CAPITAL>10;
X_16:=X_15 AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND 100*VOL/CAPITAL>1;
X_17:=X_12 OR X_16;
X_18:=X_17;{www.gszb.top}
STICKLINE(IF(X_18,(-120),0),12,0,3,0),COLOR000088;
STICKLINE(IF(X_18,(-120),0),12,0,3,0),COLOR0000AA;
STICKLINE(IF(X_18,(-120),0),12,0,3,0),COLOR0000CC;
STICKLINE(IF(X_18,(-120),0),12,0,3,0),COLOR0000EE;
STICKLINE(IF(X_18,(-120),0),12,0,3,0),COLOR0000EE;
STICKLINE(IF(X_18,(-120),0),12,0,3,0),COLORLIMAGENTA;
STICKLINE(IF(X_18,(-120),0),9,0,3,0),COLOR770077;
STICKLINE(IF(X_18,(-120),0),9,0,3,0),COLOR990099;
STICKLINE(IF(X_18,(-120),0),9,0,3,0),COLORBB00BB;
STICKLINE(IF(X_18,(-120),0),9,0,3,0),COLORDD00DD;
STICKLINE(IF(X_18,(-120),0),9,0,3,0),COLORMAGENTA;
STICKLINE(IF(X_18,(-120),0),9,0,3,0),COLORDD00DD;
STICKLINE(IF(X_18,(-120),0),6,0,3,0),COLOR003300;
STICKLINE(IF(X_18,(-120),0),6,0,3,0),COLOR005500;
STICKLINE(IF(X_18,(-120),0),6,0,3,0),COLOR007700;
STICKLINE(IF(X_18,(-120),0),6,0,3,0),COLOR009900;
STICKLINE(IF(X_18,(-120),0),6,0,3,0),COLOR00CC00;
STICKLINE(X_18,0,3,3,0),COLOR008888;
STICKLINE(X_18,0,3,3,0),COLOR00AAAA;
STICKLINE(X_18,0,3,3,0),COLOR00CCCC;
STICKLINE(X_18,0,3,3,0),COLORYELLOW;
DRAWICON(X_18,(-5),25),COLORRED;

 

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

本版积分规则

64

主题

0

回帖

484

积分

小散

积分
484