通达信趋势线买点副图指标公式源码

{买卖点}
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
 VAR2:=SMA(VAR1,3,1);
 VAR3:=SMA(VAR2,3,1);
 VAR4:=SMA(VAR3,3,1);
趋势线: VAR3, , LINETHICK2,COLORRED;
人气线: VAR4, , LINETHICK2,COLORYELLOW;
 VAR5:=CROSS(VAR2,VAR3) AND VAR3<25;
 STICKLINE(VAR5,0,VAR3+5,1,1), , LINETHICK2,COLORRED;
 VAR6:=CROSS(VAR3,VAR4) AND VAR3<25;
 VAR7:=VAR6 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;
 STICKLINE(VAR6,0,VAR3+5,1,1), , LINETHICK2,COLORWHITE;
 DRAWTEXT(VAR6 AND COUNT(VAR6,10)=1,VAR3+15,'买点'), , LINETHICK2,COLORWHITE;
 STICKLINE(VAR7,0,VAR3+5,1,1), , LINETHICK2,COLORRED;
 DRAWTEXT(VAR7 AND COUNT(VAR7,10)=1,VAR3+5,'机构异动'), , LINETHICK2,COLORRED;
 VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
 STICKLINE(VAR8 AND COUNT(VAR8,5)=1,VAR3-5,100,1,1), , LINETHICK2,COLORGREEN;
 VAR9:=CROSS(VAR4,VAR3) AND VAR3>80;
 STICKLINE(VAR9,VAR3-5,100,1,1), , LINETHICK2,COLORYELLOW;
 DRAWTEXT(VAR9 AND COUNT(VAR9,10)=1,VAR3-15,'卖点'), , LINETHICK2,COLORYELLOW;




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

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

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

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