股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信神针起爆指标公式源码


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-4-2 09:35:37

X_1:=HHV(HIGH,12)-LLV(LOW,26);
X_2:=HHV(HIGH,9)-CLOSE;
X_3:=CLOSE-LLV(LOW,9);
X_4:=X_2/X_1*100-70;
X_5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
X_6:=(2*CLOSE+HIGH+LOW)/4;
X_7:=SMA(X_3/X_1*100,3,1);
X_8:=LLV(LOW,34);
X_9:=SMA(X_7,3,1)-SMA(X_4,9,1);
X_10:=IF(X_9>100,X_9-100,0);
X_11:=HHV(HIGH,34);
X_12:=EMA((X_6-X_8)/(X_11-X_8)*100,13);
X_13:=EMA(0.667*REF(X_12,1)+0.333*X_12,2);
X_14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(Abs(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
X_15:=MA(X_14,3);
天地线:EMA(X_13,1),COLORMAGENTA;
X_16:=HHV(HIGH,9)-LLV(LOW,9);
X_17:=HHV(HIGH,9)-CLOSE;
X_18:=CLOSE-LLV(LOW,9);
X_19:=X_17/X_16*100-70;
X_20:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
X_21:=(2*CLOSE+HIGH+LOW)/4;
X_22:=SMA(X_18/X_16*100,3,1);
X_23:=LLV(LOW,34);
X_24:=SMA(X_22,3,1)-SMA(X_19,9,1);
X_25:=IF(X_24>100,X_24-100,0);
X_26:=HHV(HIGH,34);
X_27:=EMA((X_21-X_23)/(X_26-X_23)*100,8);
B2:EMA(X_27,5),COLORFF7000;
STICKLINE(X_27-B2>0,X_27,B2,2,0),COLORRED;
STICKLINE(X_27-B2<0,X_27,B2,2,0),COLORGREEN;
X_28:=MA(CLOSE,5)=HHV(MA(CLOSE,5),20);
X_29:=MA(CLOSE,5)>MA(CLOSE,10);
X_30:=MA(vol,5)>MA(VOL,40)*1.01;
X_31:=COUNT(MA(CLOSE,1)>REF(CLOSE,1),2)=2;
X_32:=X_28 AND X_29 AND X_30 AND X_31;
X_33:=EMA(CLOSE,8);
X_34:=EMA(X_33,20);
X_35:=crOSS(X_33,X_34);
X_36:=X_33<EMA(CLOSE,120);
X_37:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);
神针起爆:IF(CROSS(X_12,天地线) AND X_12>X_13 AND X_12<55 AND CLOSE>OPEN,50,0),STICK,COLORRED,LINETHICK4;





回复

举报

QQ|

GMT+8, 2024-11-17 05:52

快速回复 返回顶部 返回列表