通达信主力拉升源码副图

[复制链接]
查看131 | 回复0 | 2021-8-20 06:52:57 | 显示全部楼层 |阅读模式

以下是通达信主力拉升源码副图(无源码的请下载附件导入)

主力拉升源码:

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;
 

712155489.png

712155489.png

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则