通达信短线无敌主图源码

MA5:MA(CLOSE,5),colorwhite,linethick1,layer0;
 MA10:MA(CLOSE,10),coloryellow,layer0;
 MA20:MA(CLOSE,20),colormagenta,layer0;
 MA40:MA(CLOSE,40),colorblue,layer0;
 MA60:MA(CLOSE,60),colorgreen,layer0;
 MA120:MA(CLOSE,120),COLORRED,layer0;

TY:=C;
 A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
 A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
压力:REF(C,BARSLAST(HD)),coloryellow,POINTDOT;
支撑:REF(C,BARSLAST(LD)),COLOR00Ff00,POINTDOT;
 {DRAWtext(cross(MA60,MA120),ma60*0.98,'牛'),coloryellow;
 DRAWtext(cross(MA120,MA60),ma60*0.98,'熊'),coloryellow;}
 {stickline(h>ref(h,1) and l<ref(l,1) and c<ref(c,1),o,c,3.8,0),colorblue;}{穿头破脚大笨熊}
流通:=FINANCE2(37)/10000;总股本:=FINANCE2(35)/10000;
 DRAWTEXTABS(0,25,'流通:'+流通+'亿 '),LINETHICK1,coloryellow,layer0;
 {DRAWTEXTABS(0,28,'总股本:'+总股本+'亿 '),LINETHICK1,Color00FF00,layer0;}
 drAWTEXTABS(0,40,'看一浪,等二浪,做三浪,避四浪,驾五浪。 破线回弹跑的快'),LINETHICK1,colorwhite,layer0;
 drAWTEXTABS(0,60,'三阳+分时三浪出 三阴+分时三浪进'),LINETHICK1,coloryellow,layer0;
 DRAWTEXTABS(5,10,STKLABEL+BKNAME),LINETHICK1,Color0000FF,layer0;


 AA:=CLOSE/REF(C,1)>=1.096;
 STICKLINE(AA,O,C,8,1),COLORYELLOW ;
 {上下时空--------理想论坛一品茶缘编写,大智慧L2版本主图指标}
A:=BARSLAST(DISPSTATUS=1)+1;
 HH:=HHV(H,A);
 LL:=LLV(L,A);
上涨:BARSSINCE(BACKSET(DISPSTATUS=2,BARSLAST(L=LL)+1)),COLOR0000FF,linethick0;
 ↑空间%:(C/REF(L,上涨)-1)*100,COLOR00FFFF,linethick0;
最高%:(HHVALL(HH)/REF(L,上涨)-1)*100,COLORFF00FF,linethick0;
下跌:BARSSINCE(BACKSET(DISPSTATUS=2,BARSLAST(H=HH)+1)),COLOR00FF00,linethick0;
 ↓空间%:(C/REF(H,下跌)-1)*100,COLOR998888,linethick0;
最低%:(LLVALL(LL)/REF(H,下跌)-1)*100,COLORFF0000,linethick0;
 {高:REF(H,下跌),COLOR0000FF,DOTLINE;
低:REF(L,上涨),COLOR00FF00,DOTLINE;
 VERTLINE(上涨=0,4),COLOR0000FF;
 VERTLINE(下跌=0,3),COLOR00FF00;}
 DRAWTEXT(上涨=2,L,'3'),COLOR00FFFF;
 DRAWTEXT(上涨=4,L,'5'),COLOR00FFFF;
 DRAWTEXT(上涨=7,L,'8'),COLOR00FFFF;
 DRAWTEXT(上涨=12,L,'13'),COLOR00FFFF;
 DRAWTEXT(上涨=20,L,'21'),COLOR00FFFF;
 DRAWTEXT(上涨=33,L,'34'),COLOR00FFFF;
 DRAWTEXT(上涨=54,L,'55'),COLOR00FFFF;
 DRAWTEXT(上涨=88,L,'89'),COLOR00FFFF;
 DRAWTEXT(上涨=143,L,'144'),COLOR00FFFF;
 DRAWTEXT(上涨=179,L,'180'),COLOR00FFFF;
 DRAWTEXT(上涨=249,L,'250'),COLOR00FFFF;
 DRAWTEXT(下跌=2,L,'-3'),COLOR00FF00;
 DRAWTEXT(下跌=4,L,'-5'),COLOR00FF00;
 DRAWTEXT(下跌=7,L,'-8'),COLOR00FF00;
 DRAWTEXT(下跌=12,L,'-13'),COLOR00FF00;
 DRAWTEXT(下跌=20,L,'-21'),COLOR00FF00;
 DRAWTEXT(下跌=33,L,'-34'),COLOR00FF00;
 DRAWTEXT(下跌=54,L,'-55'),COLOR00FF00;
 DRAWTEXT(下跌=88,L,'-89'),COLOR00FF00;
 DRAWTEXT(下跌=143,L,'-144'),COLOR00FF00;
 DRAWTEXT(下跌=179,L,'-180'),COLOR00FF00;
 DRAWTEXT(下跌=249,L,'-250'),COLOR00FF00;




未来函数检测结果如下:
该公式包含未来函数:BACKSET
该公式包含未来函数:FINANCE
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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