通达信主图公式源码

DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68));
DRAWKLINE(H,O,L,C);
MA5:MA(CLOSE,5),COLORWHITE;
MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLORMAGENTA;
MA30:MA(CLOSE,30),COLORGREEN,LINETHICK1;
 

VAR1:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);
买入:=LLV(VAR1,2)=LLV(VAR1,7) AND COUNT(VAR1<0,2) AND CROSS(VAR1,MA(VAR1,2));
DRAWICON(买入,L,1);
 

A:=EMA((EMA(CLOSE,6)+EMA(CLOSE,7)+EMA(CLOSE,8))/3,3),COLORYELLOW;
轴线:=EMA(A,4),COLORLIMAGENTA;

A2:=EMA((EMA(CLOSE,23)+EMA(CLOSE,24)+EMA(CLOSE,25))/3,3),COLORYELLOW;

AA:=EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLORYELLOW;
AAA:=EMA(EMA(EMA(AA,1),2),3);
BB:=EMA((EMA(C,13)+EMA(C,14)+EMA(C,15))/3,3);
CC:=BB-(AA-BB);
CCC:=EMA(EMA(EMA(CC,1),2),3);
开口值1:=HHV(AA,1)/LLV(CC,1)*100-100,NODRAW;
起:EMA(开口值1,5),NODRAW;
 

 

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
AA1:=EMA((EMA(C,1)+EMA(C,3)+EMA(C,5))/3,3),COLORYELLOW;
AAA1:=EMA(EMA(EMA(AA1,1),2),3);
BBB1:=EMA((EMA(C,23)+EMA(C,24)+EMA(C,25))/3,3);
CC1:=BBB1-(AAA1-BBB1);
CCC1:=EMA(EMA(EMA(CC1,1),2),3);

IF( AAA>轴线 AND AAA>REF(AAA,1),AAA,DRAWNULL),COLORYELLOW,LINETHICK4;
 


STICKLINE(C/REF(C,1)>1.091,C,O,2,0),COLORFF1CAE;
 

BDGD:=C=HHV(C,150);
GDSJ:=BARSLAST(FILTER(CROSS(0.8,BDGD),2))+1;
高点:REF(C,GDSJ),COLOR00FF00,POINTDOT,LINETHICK1;
突破:=CROSS(C,REF(高点,1)),COLOR00FFFF,POINTDOT,LINETHICK0;
STICKLINE(GDSJ<=6,高点,高点,8,0),COLORFF00FF;
BDDD:=C=LLV(C,150);
DDSJ:=BARSLAST(FILTER(CROSS(0.8,BDDD),2))+1;
低点:REF(C,DDSJ),COLOR00FFFF,POINTDOT,LINETHICK1;
STICKLINE(DDSJ<=6,低点,低点,8,0),COLORWHITE;
 

BDGD1:=C=HHV(C,30);
GDSJ1:=BARSLAST(FILTER(CROSS(0.8,BDGD1),2))+1;
高点1:REF(C,GDSJ1),COLORRED,POINTDOT,LINETHICK1;
突破1:=CROSS(C,REF(高点1,1)),COLORBLUE,POINTDOT,LINETHICK0;
STICKLINE(GDSJ1<=6,高点1,高点1,8,0),COLORBROWN;
BDDD1:=C=LLV(C,30);
DDSJ1:=BARSLAST(FILTER(CROSS(0.8,BDDD1),2))+1;
低点1:REF(C,DDSJ1),COLORRED,POINTDOT,LINETHICK1;
STICKLINE(DDSJ1<=6,低点1,低点1,8,0),COLORWHITE;

STICKLINE(C/REF(C,1)>1.091,C,O,2,0),COLORFF1CAE;




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

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

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

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