通达信主力拉升源码副图

主力拉升源码:

YANHUA_12388:MA(CLOSE,20),COLOR4B4B4B,LINETHICK0;
 X_1:=EMA(SLOPE(CLOSE,11)*20+CLOSE,42);
 X_2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
 X_3:=SMA(X_2,3,1);
 X_4:=SMA(X_3,3,1);
 X_5:=3*X_3-2*X_4;
 X_6:=100*((EMA((HIGH+LOW)/2,3)-LLV(EMA((HIGH+LOW)/2,5),30)-(EMA(HIGH,20)-EMA(LOW,20)))/(LLV(EMA((HIGH+LOW)/2,5),30)-(EMA(HIGH,20)-EMA(LOW,20))));
 X_7:=IF(EMA(CLOSE,2)>X_1 AND X_6>0,EMA(CLOSE,3),LLV(EMA((HIGH+LOW)/2,5),30));
 X_8:=IF(EMA(CLOSE,2)>X_1 AND X_6>0,LLV(EMA((HIGH+LOW)/2,5),30),EMA(CLOSE,5));
 MAHL4:DRAWBAND(X_7,RGB(105,32,32),X_8,RGB(0,154,154));
 MAHL5:DRAWBAND(EMA(CLOSE,2),RGB(135,32,32),EMA(CLOSE,5),RGB(0,154,154));
 MAHL6:DRAWBAND(EMA(CLOSE,2),RGB(135,32,32),EMA(CLOSE,9),RGB(0,154,154));
回归斜率带:DRAWBAND(X_1,RGB(235,0,230),REF(X_1,2),RGB(0,104,154));
 STICKLINE(CLOSE>REF(CLOSE,1),HIGH,LOW,0,0),COLORRED;
 STICKLINE(CLOSE<OPEN AND CLOSE>REF(CLOSE,1),CLOSE,OPEN,3,0),COLORFFCC00;
 STICKLINE(CLOSE>REF(CLOSE,1) AND CLOSE>OPEN,OPEN,CLOSE,3,0),COLOR000055;
 STICKLINE(CLOSE>REF(CLOSE,1) AND CLOSE>OPEN,OPEN,CLOSE,2.7,0),COLOR000077;
 STICKLINE(CLOSE>REF(CLOSE,1) AND CLOSE>OPEN,OPEN,CLOSE,2.1,0),COLOR000099;
 STICKLINE(CLOSE>REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLOR0000BB;
 STICKLINE(CLOSE>REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLOR0000DD;
 STICKLINE(CLOSE>REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORRED;
 STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,3,1),COLOR999999;
 STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,0),COLORWHITE;
 STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR555555;
 STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLOR777777;
 STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLOR999999;
 STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORBBBBBB;
 STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORDDDDDD;
 STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORWHITE;
 STICKLINE(CLOSE<REF(CLOSE,1),HIGH,LOW,0,1),COLORCYAN;
 STICKLINE(CLOSE<REF(CLOSE,1) AND CLOSE>OPEN,CLOSE,OPEN,3,0),COLORFFCC00;
 STICKLINE(CLOSE<REF(CLOSE,1) AND CLOSE<OPEN,OPEN,CLOSE,3,0),COLOR990000;
 STICKLINE(CLOSE<REF(CLOSE,1) AND CLOSE<OPEN,OPEN,CLOSE,2.7,0),COLORCC0000;
 STICKLINE(CLOSE<REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLORFF4400;
 STICKLINE(CLOSE<REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORFF8800;
 STICKLINE(CLOSE<REF(CLOSE,1),OPEN,CLOSE,0.9,0),COLORFFCC00;
经典KDJ买:IF(CROSS(X_3,X_4),LOW-(HIGH-LOW)/2,DRAWNULL),POINTDOT,COLORRED,LINETHICK6;
回归斜率买:IF(CROSS(EMA(CLOSE,3),X_1),LOW-(HIGH-LOW)/3,DRAWNULL),POINTDOT,COLORRED;
回归斜率买_:DRAWICON(CROSS(EMA(CLOSE,3),X_1),LOW-(HIGH-LOW)/3,5);
回归斜率卖:IF(CROSS(X_1,EMA(CLOSE,2)),HIGH+(HIGH-LOW)/3,DRAWNULL),POINTDOT,COLOR00CF00;
 X_9:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
 X_10:=SMA(SMA(X_9,3,1),3,1);
 X_11:=SMA(X_10,3,1);
 X_12:=CROSS(CLOSE,MA(CLOSE,20));
 X_13:=EMA(EMA(CLOSE,9),9);
 X_14:=(X_13-REF(X_13,1))/REF(X_13,1)*100;
 X_15:=CROSS(X_14,0);
 X_16:=IF(X_15,0.5,0);
 X_17:=X_12 AND X_16;
 




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

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

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

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