通达信价格情绪副图/选股源码贴图

价格情绪
VAR1:=(EMA(EMA(CLOSE,13),13)/REF(EMA(EMA(CLOSE,13),13),1)-1)*1000;
VAR2:=CROSS(VAR1,0);
VAR3:=LAST(VAR1>=0 AND VAR1<=REF(VAR1,1),2,1) AND VAR1>=0 AND VAR1>REF(VAR1,1) AND CLOSE>=OPEN;
VAR4:=LAST(VAR1<0 AND VAR1<=REF(VAR1,1),2,1) AND VAR1<0 AND VAR1>REF(VAR1,1) AND CLOSE>=OPEN;
NOTEXTC99L:LLV(CLOSE,1)-LLV(CLOSE,99),COLORRED;
NOTEXTC99H:HHV(CLOSE,1)-HHV(CLOSE,99),COLORLIRED;
NOTEXTC99LMA18:MA(NOTEXTC99L,18),COLORWHITE;
NOTEXTC99HMA18:MA(NOTEXTC99H,18),COLORLIBLUE;
VAR5:=CROSS(NOTEXTC99L,NOTEXTC99LMA18) AND CROSS(NOTEXTC99H,NOTEXTC99HMA18);
XG:VAR2 OR VAR3 OR VAR4 AND VAR5,NODRAW;
STICKLINE(XG,NOTEXTC99LMA18,NOTEXTC99HMA18,0,0),COLORYELLOW;
DRAWICON(XG,(NOTEXTC99LMA18-NOTEXTC99HMA18)/2+NOTEXTC99HMA18,5);
 

价格情绪XG
VAR1:=(EMA(EMA(CLOSE,13),13)/REF(EMA(EMA(CLOSE,13),13),1)-1)*1000;
VAR2:=LAST(VAR1<0 AND VAR1<=REF(VAR1,1),2,1) AND VAR1<0 AND VAR1>REF(VAR1,1) AND CLOSE>=OPEN;
VAR3:=LLV(CLOSE,1)-LLV(CLOSE,99);
VAR4:=HHV(CLOSE,1)-HHV(CLOSE,99);
VAR5:=MA(VAR3,18);
VAR6:=MA(VAR4,18);
VAR7:=CROSS(VAR3,VAR5) AND CROSS(VAR4,VAR6);
XG:VAR2 AND VAR7 AND IF(DATE<1201030,1,0);




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

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

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

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