最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 通达信公式 > 通达信最新指标公式 通达信NB主图公式源码

通达信最新指标公式 通达信NB主图公式源码

来源:网络 点击: 时间:2022-12-22 08:28:06

通达信最新指标公式 通达信NB主图公式源码 www.beexiaomifeng.com小编为您提供

?

?

NB主图 源码

MA5:MA(CLOSE,5),LINETHICK2,COLORWHITE;
MA10:MA(CLOSE,10),LINETHICK2,COLORRED;
MA26:MA(CLOSE,26),LINETHICK2,COLORYELLOW;
获利%:WINNER(CLOSE)*100,NODRAW,COLORWHITE;
DRAWTEXT_FIX(获利%>=95 AND ISLASTBAR,0.97,0.97,0,'高危'),COLORRED;
DRAWTEXT_FIX(获利%>=80 AND 获利%<95 AND ISLASTBAR,0.97,0.97,0,'风险'),COLORYELLOW;
DRAWTEXT_FIX(获利%>=50 AND 获利%<80 AND ISLASTBAR,0.97,0.97,0,'安全'),COLORGREEN;
DRAWTEXT_FIX(获利%<50 AND ISLASTBAR,0.97,0.97,0,'空头'),COLORBLUE;
STICKLINE((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,3,0),COLOR0055FF;
STICKLINE((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),OPEN,CLOSE,3,0),COLOR00FF00;
DP:=IF(C=INDEXC,0,1);

GJ:=AMOUNT/V/100;
【明日阻力】:L+(GJ-L)+(C-L),NODRAW;
【明日支撑】:L+(C-GJ),NODRAW;
今日阻力:REF(【明日阻力】 , 1),NODRAW;
今日支撑:REF(【明日支撑】 , 1),NODRAW;
{STICKLINE(ISLASTBAR AND DP=1 AND C>=今日阻力,今日阻力,今日阻力,30,0),COLOR0000FF;
STICKLINE(ISLASTBAR AND DP=1 AND C<今日阻力,今日阻力,今日阻力,30,0),COLOR00FF00;
STICKLINE(ISLASTBAR AND DP=1 AND C>=今日支撑,今日支撑,今日支撑,30,0),COLORFF00FF;
STICKLINE(ISLASTBAR AND DP=1 AND C<今日支撑,今日支撑,今日支撑,30,0),COLORFF0000;}
{A:=ISLASTBAR;
B:=ISLASTBAR;
D:=A-B;
E:=HHV(H,D);}
DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR,【明日支撑】,'-----------------------------------'),COLOR00FFFF;
DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR, 【明日阻力】,'-----------------------------------'),COLORFFFFFF;
DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR,今日支撑,'-----------------------------------'),COLORFF00FF;
DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR, 今日阻力,'-----------------------------------'),COLOR33FF33;
DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR AND 【明日阻力】, 【明日阻力】*1.01,'明日阻力=: '),COLORFFFFFF;
DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR AND 今日支撑, 今日支撑*0.99,'今日支撑=:'),COLORFF33FF;
DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR AND 【明日支撑】, 【明日支撑】*0.99,'明日支撑=:'),COLOR00FFFF;
DRAWTEXT(C>0 AND DP=1 AND ISLASTBAR AND 今日阻力, 今日阻力*1.01,'今日阻力=:' ),COLOR33FF33;
A1:EMA(CLOSE,3),COLORLIBLUE;
A2:EMA(CLOSE,5) ,COLORLIBLUE;
A3:EMA(CLOSE,8) ,COLORLIBLUE;
A4:EMA(CLOSE,13) ,COLORLIBLUE;
A5:EMA(CLOSE,21) ,COLORLIBLUE;
A6:EMA(CLOSE,26) ,COLORLIBLUE;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));

DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)
<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,7) ;
DRAWICON((ZIG(3,5) >=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.02,8);
流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLOR00C0C0;
DRAWTEXT_FIX(1,0.58,4,0,'~★★~'),COLORFFFFFF;

?

?

更多股票公式相关资讯请关注www.beexiaomifeng.com

?


    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top