通达信牛股出现源码副图

EMA5:EMA(C,5),colorwhite;

EMA13:EMA(C,13),coloryellow;

EMA34:EMA(C,34),COLORF00FF0;

EMA55:EMA(C,55),colorgreen;

AA05:=EMA5;

角度1:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;

AA051:=EMA13;

角度2:=ATAN((AA051/REF(AA051,1)-1)*100)*180/3.1416;

AA052:=EMA34;

角度3:=ATAN((AA052/REF(AA052,1)-1)*100)*180/3.1416;

IF(角度1>60,EMA5,DRAWNULL),colorred,LINETHICK1;

IF(角度2>45,EMA13,DRAWNULL),colorred,LINETHICK1;

IF(角度3>30,EMA34,DRAWNULL),colorred,LINETHICK1;

涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);

STICKLINE(涨停,OPEN,CLOSE,2.5,0),coloryellow;

S1:="DMI.PDI";

S2:=S1>EMA(EMA(EMA(S1,2),2),2);

S3:= C/REF(C,1)>1.05;

DRAWTEXT(BETWEEN("DMI.PDI",37,45)AND  S3 AND S2,L*0.98,'↖亮剑'),coloryellow;

DRAWTEXT(BETWEEN("DMI.PDI",45,50)AND  S3  AND S2,L*0.98,'↖小牛'),coloryellow;

DRAWTEXT(BETWEEN("DMI.PDI",50,53)AND  S3  AND S2,L*0.98,'↖大牛'),coloryellow;

DRAWTEXT("DMI.PDI">53 AND  S3 AND  S2, L*0.98,'↖疯牛'),coloryellow;

DRAWTEXT(REF(DMI.ADX,1)>50 AND CROSS(REF(DMI.ADX,1),DMI.ADX),H*1.01,'↙变盘'),colormagenta;

DRAWTEXT(REF("DMI.PDI",1)>53 AND CROSS(REF("DMI.PDI",1),"DMI.PDI"),H*0.98,'←大顶'),colorgreen;

DRAWTEXT(REF("DMI.PDI",1)<7 AND CROSS("DMI.PDI",REF("DMI.PDI",1)),L*1.02,'←大底'),colorred;
 




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

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

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

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