转折线通达信公式 源码 K线图

X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN<XCLOSE,XOPEN,XCLOSE);
C1:=IF(XOPEN<XCLOSE,XCLOSE,XOPEN);
{K线}{股票指标网}
STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0,0 ),COLORRED;
STICKLINE(XOPEN>=XCLOSE,C1,O1,4,0 ),COLOR000055;
STICKLINE(XOPEN>=XCLOSE,C1,O1,3,0 ),COLOR000077;
STICKLINE(XOPEN>=XCLOSE,C1,O1,2.5,0 ),COLOR000099;
STICKLINE(XOPEN>=XCLOSE,C1,O1,1.5,0 ),COLOR0000BB;
STICKLINE(XOPEN>=XCLOSE,C1,O1,0.9,0 ),COLOR0000DD;
STICKLINE(XOPEN>=XCLOSE,C1,O1,0.3,0 ),COLOR0000FF;
STICKLINE(XOPEN<XCLOSE,XHIGH,XLOW,0,0 ),COLORCYAN;
STICKLINE(XOPEN<XCLOSE,C1,O1,4,0 ),COLOR990000;
STICKLINE(XOPEN<XCLOSE,C1,O1,3,0 ),COLORCC0000;
STICKLINE(XOPEN<XCLOSE,C1,O1,2.5,0 ),COLORFF4400;
STICKLINE(XOPEN<XCLOSE,C1,O1,1.5,0 ),COLORFF8800;
STICKLINE(XOPEN<XCLOSE,C1,O1,0.9,0 ),COLORFFCC00;
STICKLINE(XOPEN<XCLOSE,C1,O1,0.3,0 ),COLORCYAN;
AC:=CLOSE;
转强:=MA(HIGH,6);
转弱:=MA(LOW,6);
B:=CLOSE*0;
转折线:IF(B=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK2,COLORFFFFFF;
 


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

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

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

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