通达信牛万能主图指标

源码

N:=250;P:=5;

AA:MA(C,N),LINETHICK2,COLOR0000FF;
BB:=REF(AA,1);
CC:=REF(AA,2);
DD:=REF(AA,3);
TJ11:=BB>CC;
TJ22:=FILTER(COUNT(CROSS(C,AA),21)>=1,21);
XG:=TJ11 AND TJ22 ;
DRAWICON(XG,LOW*0.96,23);
DRAWTEXT(XG,LOW*0.99,'金');
DRAWTEXT(XG,LOW*0.98,'牛');

TEND:EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),42),POINTDOT,COLORFF00FF,LINETHICK4;
WLT1:=EMA(C,3),COLORBLUE,LINETHICK1;
WLT2:=EMA(C,5),COLORWHITE,LINETHICK1;
WLT3:=EMA(WLT2,5),COLOR00FF00,LINETHICK1;
QQ:= C
MM:=WLT1>REF(WLT1,1) AND REF(WLT1,1)
MM0:=WLT1REF(WLT1,2) ;
WL:=CROSS(WLT1,WLT2);
WL1:=CROSS(WLT2,WLT1);
WL2:=CROSS(WLT1,TEND);
WL3:=LLV(LOW,55);
WL6:=HHV(HIGH,21);
WL8:=LLV(LOW,21);
DRAWICON(WL AND MM AND CWL6*0.6,LOW*0.97,23);
DRAWICON(WL2 AND C>TEND AND C
DRAWTEXT(WL2 AND C>TEND AND C
DRAWTEXT(WL2 AND C>TEND AND C
{DRAWICON(MM0 AND C>WL8*1.2,HIGH*1.03,15);}
SAL:=FILTER(CROSS(TEND,C) AND C
WLT1WL8*1.2,13);
{DRAWICON(CROSS(TEND,C) AND C
WLT1WL8*1.2,HIGH*1.03,15);}
DRAWICON(SAL,HIGH*1.03,15);
TJ1:=WL AND MM AND CWL6*0.8;
TJ2:=WL2 AND C>TEND;
TJ3:=TJ1 OR TJ2;
TJ4:=COUNT(TJ3,3)=2;
DRAWICON(FILTER(TJ4,3),LOW*0.95,23);
STICKLINE(WL AND MM AND CWL6*0.8,C,O,4,0),COLOR009999;
STICKLINE(WL AND MM AND CWL6*0.8,C,O,2.5,0),COLOR00BBBB;
STICKLINE(WL AND MM AND CWL6*0.8,C,O,1,0),COLOR00DDDD;
STICKLINE(WL AND MM AND CWL6*0.8,C,O,0.3,0),COLOR00FFFF;

STICKLINE(WL2 AND C>TEND,C,O,4,0),COLOR000099;
STICKLINE(WL2 AND C>TEND,C,O,2.5,0),COLOR0000BB;
STICKLINE(WL2 AND C>TEND,C,O,1,0),COLOR0000DD;
STICKLINE(WL2 AND C>TEND,C,O,0.3,0),COLOR0000FF;

STICKLINE(MM0 AND C>WL8*1.2,C,O,4,0),COLOR990000;
STICKLINE(MM0 AND C>WL8*1.2,C,O,2.5,0),COLORBB0000;
STICKLINE(MM0 AND C>WL8*1.2,C,O,1,0),COLORDD0000;
STICKLINE(MM0 AND C>WL8*1.2,C,O,0.3,0),COLORFF0000;
DRAWBAND(WLT1,RGB(255,255,0),WLT2,RGB(256,200,0));

 




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

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

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

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