通达信【龙凤呈祥】主图 短线交易指标 用法详解 源码

HGW1:=(REF(OPEN,1)+REF(CLOSE,1))/2;
HGW2:=CLOSE;
HGW3:=MAX(HIGH,HGW1);
HGW4:=MIN(LOW,HGW1);
HGW5:=MA(HGW3-HGW4,5);
龙线:MA(HGW2,13)+HGW5/2;
凤线:MA(HGW2,13)-HGW5/2;
HGW6:=CROSS(HGW2,龙线);
HGW7:=CROSS(凤线,HGW2);
HGW8:=BARSLAST(HGW6);
HGW9:=BARSLAST(HGW7);
HGW10:=REF(HGW8,1)>HGW9 AND CROSS(CLOSE>龙线,0.5);
HGW11:=REF(HGW8,1)>HGW9 AND HGW8=0;
HGW12:=REF(HGW9,1)>HGW8 AND HGW9=0;
HGW18:=HGW2>HGW1 AND HGW8<HGW9;
HGW19:=HGW2<=HGW1 AND HGW8<HGW9;
DRAWICON(HGW10,HGW4*0.98,17);
DRAWTEXT(HGW11,HGW4*0.95,'买'),COLOR00FFFF;
DRAWICON(HGW12,HGW3,6);
DRAWTEXT(HGW12,HGW3*1.05,'卖'),COLORFFFF00;
STICKLINE(HGW18,HGW2,HGW1,2.7,0),COLORFF00FF;
STICKLINE(HGW18,HGW3,HGW2,0,0),COLORFF00FF;
STICKLINE(HGW18,HGW1,HGW4,0,0),COLORFF00FF;
STICKLINE(HGW19,HGW2,HGW1,2.7,0),COLORYELLOW;
STICKLINE(HGW19,HGW3,HGW1,0,0),COLORYELLOW;
STICKLINE(HGW19,HGW2,HGW4,0,0),COLORYELLOW;



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

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

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

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