通达信MACD选股必涨副图/选股 机构主力出货

VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
趋势:=VARC,COLORMAGENTA;




VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
VAR9:=EMA(VAR8,7);
底部N:IF(VAR9<-10,6,0),COLORFFFFFF,NODRAW;

{排序}
DEA66:=EMA((EMA(EMA(CLOSE,4)-EMA(CLOSE,12), 6)-EMA(EMA(CLOSE,4)-EMA(CLOSE,12), 12)),9);
DEA12:=EMA((EMA(EMA(CLOSE,4)-EMA(CLOSE,12), 12)-EMA(EMA(CLOSE,4)-EMA(CLOSE,12), 24)),9);
DEA18:=EMA((EMA(EMA(CLOSE,4)-EMA(CLOSE,12), 18)-EMA(EMA(CLOSE,4)-EMA(CLOSE,12), 36)),9);
DEA51:=EMA((EMA(EMA(CLOSE,4)-EMA(CLOSE,12), 51)-EMA(EMA(CLOSE,4)-EMA(CLOSE,12),102)),9);
DEA102:=EMA((EMA(EMA(CLOSE,4)-EMA(CLOSE,12),102)-EMA(EMA(CLOSE,4)-EMA(CLOSE,12),204)),9);
多头1:=DEA102>0 AND DEA51>0;
多头2:=DEA102>0 AND DEA66>DEA12 AND DEA12>DEA18;
多头3:=DEA18>DEA51 AND DEA18>DEA102 AND DEA18>0;
多头:=多头1=1 OR 多头2=1 OR 多头3=1;
空头1:=DEA18>DEA51 OR DEA18>DEA102;
空头2:=DEA51>DEA102;
空头:=空头1=1 OR 空头2=1;
抄底1:=DEA66>DEA12 AND DEA12>DEA18;
抄底2:=抄底1=1 OR 多头=1 OR 空头=1;
抄底:=IF(抄底2,0,12),COLORYELLOW,LINETHICK2;


MD5:=IF(PERIOD>=7,ZIG(3,1),IF(PERIOD=3,ZIG(1,2),ZIG(1,2)));
MD10:=IF(PERIOD>=7,ZIG(3,30),IF(PERIOD=3,ZIG(1,10),ZIG(1,10)));
MD20:=IF(PERIOD>=7,ZIG(1,10),IF(PERIOD=3,ZIG(1,30),ZIG(1,20)));
XD1:=MD5>REF(MD5,1) AND REF(MD5,1)<=REF(MD5,2) AND REF(MD5,2)<=REF(MD5,3);
ND1:=MD5<REF(MD5,1) AND REF(MD5,1)>=REF(MD5,2) AND REF(MD5,2)>=REF(MD5,3);
XD2:=MD10>REF(MD10,1) AND REF(MD10,1)<=REF(MD10,2) AND REF(MD10,2)<=REF(MD10,3);
ND2:=MD10<REF(MD10,1) AND REF(MD10,1)>=REF(MD10,2) AND REF(MD10,2)>=REF(MD10,3);
XD3:=MD20>REF(MD20,1) AND REF(MD20,1)<=REF(MD20,2) AND REF(MD20,2)<=REF(MD20,3);
ND3:=MD20<REF(MD20,1) AND REF(MD20,1)>=REF(MD20,2) AND REF(MD20,2)>=REF(MD20,3);
ZQ1:=BARSLAST(MD5<REF(MD5,1));
ZR1:=BARSLAST(MD5>REF(MD5,1));
ZQ2:=BARSLAST(MD10<REF(MD10,1));
ZR2:=BARSLAST(MD10>REF(MD10,1));
ZQ3:=BARSLAST(MD20<REF(MD20,1));
ZR3:=BARSLAST(MD20>REF(MD20,1));
ZTJZ5:=IF(MD10>REF(MD10,1),COUNT(XD1,ZQ2),0);
ZTJD5:=IF(MD10>REF(MD10,1),COUNT(ND1,ZQ2),0);
DTJZ5:=IF(MD10<REF(MD10,1),COUNT(XD1,ZR2),0);
DTJD5:=IF(MD10<REF(MD10,1),COUNT(ND1,ZR2),0);
ZTJZ10:=IF(MD20>REF(MD20,1),COUNT(XD2,ZQ3),0);
ZTJD10:=IF(MD20>REF(MD20,1),COUNT(ND2,ZQ3),0);
DTJZ10:=IF(MD20<REF(MD20,1),COUNT(XD2,ZR3),0);
DTJD10:=IF(MD20<REF(MD20,1),COUNT(ND2,ZR3),0);


STICKLINE(XD2 AND ZTJZ5=1 AND 底部N=0 ,0,25,0,0),COLORLIGREEN;
STICKLINE(XD2 AND ZTJZ5=1 AND 底部N=0 ,0,80,0,0),COLORYELLOW;
DRAWTEXT(XD2 AND ZTJZ5=1 AND 底部N=0 ,30,'短底'),COLORGREEN;


未来函数检测结果如下:
该公式包含未来函数:ZIG
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图