通达信漂亮K线主图源码详说指标公式

MA3:MA(CLOSE,3),COLORWHITE;

MA5:MA(CLOSE,5),COLORYELLOW;

MA10:MA(CLOSE,10),COLORRED;

MA20:MA(CLOSE,20),COLORBLUE;

MA30:MA(CLOSE,30),COLORGREEN;

MA60:MA(CLOSE,60),COLORMAGENTA,DOTLINE,LINETHICK1;

VAR1:=EMA(CLOSE,3);

VAR2:=EMA(CLOSE,5);

VAR3:=EMA(CLOSE,10);

VAR4:=EMA(CLOSE,20);

VAR5:=EMA(CLOSE,30);

VAR6:=(VAR2+VAR3+VAR4+VAR5)/4;

VAR7:=(VAR6-REF(VAR6,15))/REF(VAR6,15)*100;

VAR8:=(VAR6-REF(VAR6,15))/REF(VAR6, 15)*100;

VAR9:=EMA(VAR7,8);

STICKLINE(VAR7<1*REF(VAR7,1),HIGH,LOW,0,0),COLORGREEN;

STICKLINE(VAR7<1*REF(VAR7,1),OPEN,CLOSE,2.5, 0),COLOR006000;

STICKLINE(VAR7<1*REF(VAR7,1),OPEN,CLOSE,1.9, 0),COLOR007500;

STICKLINE(VAR7<1*REF(VAR7,1),OPEN,CLOSE,1.4, 0),COLOR009100;

STICKLINE(VAR7<1*REF(VAR7,1),OPEN,CLOSE,1, 0),COLOR00A600;

STICKLINE(VAR7<1*REF(VAR7,1),OPEN,CLOSE,0.7, 0),COLOR00BB00;

STICKLINE(VAR7<1*REF(VAR7,1),OPEN,CLOSE,0.4, 0),COLOR00CC00;

STICKLINE(VAR7<1*REF(VAR7,1),OPEN,CLOSE,0.1, 0),COLORGREEN;

STICKLINE(VAR7>1*REF(VAR7,1),HIGH,LOW,0,0),COLORRED;

STICKLINE(VAR7>1*REF(VAR7,1),OPEN,CLOSE,2.5, 0),COLOR000055;

STICKLINE(VAR7>1*REF(VAR7,1),OPEN,CLOSE,1.9, 0),COLOR000077;

STICKLINE(VAR7>1*REF(VAR7,1),OPEN,CLOSE,1.3, 0),COLOR000099;

STICKLINE(VAR7>1*REF(VAR7,1),OPEN,CLOSE,0.7, 0),COLOR0000DD;

STICKLINE(VAR7>1*REF(VAR7,1),OPEN,CLOSE,0.2, 0),COLOR0000FF;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),HIGH,LOW,0,0),COLORBLUE;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),OPEN,CLOSE,2.5, 0),COLORA12100;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),OPEN,CLOSE,1.9, 0),COLORB72100;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),OPEN,CLOSE,1.4, 0),COLORC32100;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),OPEN,CLOSE,1, 0),COLORCF2100;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),OPEN,CLOSE,0.6, 0),COLORDB2100;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),OPEN,CLOSE,0.3, 0),COLORFF5E00;

STICKLINE(VAR7<1*REF(VAR7,1) AND VAR9>1*REF(VAR9,1),OPEN,CLOSE,0.1, 0),COLORFF6E00;

买进价:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;

买进条件:=CROSS(CLOSE,买进价) AND 买进价>REF(买进价,1);
 




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

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

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

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