通达信买卖交易主图指标公式源码

JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
STICKLINE(A>B,A,B,5,0),COLORYELLOW;
STICKLINE(A<B,A,B,5,0),COLORBLUE;
MM1:=EMA(CLOSE,5);
MM2:=EMA(CLOSE,8);
MM3:=EMA(MM2,13);
MM4:=EMA(MM2,55);
VVAR1:=EMA(MM3,55);
MM5:=EMA(MM4,81), COLORRED,LINETHICK2;
VVAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
VVAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);
DRAWICON(crOSS(VVAR2,VVAR3),HIGH*1.035,2);
DRAWTEXT(CROSS(VVAR2,VVAR3),HIGH*1.02,'卖出'), COLORGREEN;
VVAR4:=REF(CLOSE,1);
VVAR5:=SMA(MAX(CLOSE-VVAR4,0),7,1)/SMA(Abs(CLOSE-VVAR4),7,1)*100;
VVAR6:=CROSS(79,VVAR5);
VVAR7:=FILTER(VVAR6,4);
DRAWICON(VVAR7,HIGH*1.035,2);
DRAWTEXT(VVAR7,HIGH*1.02,'卖出'), COLORGREEN;
VAR21:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
VAR22:=8;
QQ:=CROSS(VAR21,VAR22);
DRAWTEXT(QQ,L*0.98,'买入!'),COLOR0099FF;
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA60:MA(C,60);
MA120:MA(C,120);
MA240:MA(C,240);

 




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

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

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

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