通达信【主力痕迹】主/副图指标 用法详解 源码

{主力痕迹副图源码如下}

N1:=13;
N2:=34;
主力资金线:EMA(100*(C-LLV(LOW,30))/(HHV(H,30)-LLV(LOW,30)),3), COLORRED,LINETHICK2;
即将爆发线: 65,COLOR00FF00;
起爆线:80,COLORWHITE,LINETHICK1;
好股网:=C-REF(C,1);
金线:100*EMA(EMA(好股网,N1),N1)/EMA(EMA(ABS(好股网),N1),N1) ,COLORWHITE,LINETHICK1;
银线:MA(金线,N2),COLOR00FF00,LINETHICK1;
STICKLINE(金线>银线 , 金线,银线 ,2.5,0),COLORRED,LINETHICK2;
STICKLINE(银线>金线,金线,银线,2.5,0),COLORGREEN,LINETHICK2;
爆发线:30,COLORFF00FF,LINETHICK1;
起步线:0,COLORWHITE,LINETHICK1;
抄底线:-25,COLORWHITE,LINETHICK1;
股民指标0:=CROSS(金线,抄底线);

{主力痕迹主图源码如下}
N1:=13;
N2:=34;
MA5:MA(C,5) LINETHICK1;
MA30:MA(C,30)COLORMAGENTA DOTLINE;
主力资金线:=EMA(100*(C-LLV(LOW,30))/(HHV(H,30)-LLV(LOW,30)),3), COLORRED,LINETHICK2;
即将爆发线:=65,COLOR00FF00;
ZT:=CLOSE>REF(CLOSE,1)*1.095;
起爆线:=80,COLORWHITE,LINETHICK1;
好股网:=C-REF(C,1);
金线:=100*EMA(EMA(好股网,N1),N1)/EMA(EMA(ABS(好股网),N1),N1),COLORWHITE,LINETHICK1;
银线:=MA(金线,N2),COLOR00FF00,LINETHICK1;
爆发线:=30,COLORFF00FF,LINETHICK1;
起步线:=0,COLORWHITE,LINETHICK1;
抄底线:=-25,COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(金线,爆发线) AND ZT,L,'★爆发!'),COLORYELLOW;
DRAWTEXT(CROSS(主力资金线,即将爆发线),L,'★加2') ,COLORRED;
买入:=BARSLASTCOUNT(金线>银线)=1;
DRAWTEXT(买入,L,'★加1') ,COLORBLUE;
DRAWICON(CROSS(主力资金线,爆发线),L*1.002,1);
DRAWTEXT(CROSS(主力资金线,爆发线),L,'★买') ,COLORWHITE;
STICKLINE(CROSS(主力资金线,爆发线),OPEN,CLOSE,2,0),COLORCC00FF;
DRAWICON(买入 OR CROSS(主力资金线,即将爆发线),L*1.002,23);
STICKLINE(CROSS(主力资金线,即将爆发线),OPEN,CLOSE,2,0),COLORWHITE;
STICKLINE(买入,OPEN,CLOSE,2,0),COLORLIMAGENTA;
STICKLINE(CROSS(金线,爆发线) AND ZT,OPEN,CLOSE,2,0),COLORYELLOW;
DRAWICON(CROSS(金线,爆发线) AND ZT,L*1.002,9);



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

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

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

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