通达信冠军底部副图指标 源码分享 附图

VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
趋势:=VARC,COLORMAGENTA;
底背:STICKLINE(VARC<10,27,37,8,0),COLORFF6600;
{---------底部信号-----------------------------};
VAR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);
VAR9:=EMA(VAR8,7);
底部N:IF(VAR9<-18,6,0),COLORFFFFFF,NODRAW;
STICKLINE(底部N>0,0,25,6,0),COLOR333333;{底部蓝色块}
{冠军排序}
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;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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