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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 金马互动之选股指标公式


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

X_1:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);
X_2:=EMA(X_1,9/4);
X_3:=EMA(CLOSE,6)-EMA(CLOSE,80);
X_4:=EMA(X_3,40);
X_5:=macd.DIF#WEEK;
X_6:=MACD.DEA#WEEK;
X_7:=MACD.DIF#MONTH;
X_8:=MACD.DEA#MONTH;
X_9:=(CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72));
X_10:=SMA(X_9,3,1);
X_11:=SMA(X_10,3,1);
X_12:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89));
X_13:=SMA(X_12,3,1);
X_14:=SMA(X_13,3,1);
X_15:=3*X_13-2*X_14;
X_16:=kdj.K#WEEK;
X_17:=kdJ.D#WEEK;
X_18:=KDJ.K#MONTH;
X_19:=KDJ.D#MONTH;
X_20:=REF(HIGH,1)=HHV(HIGH,10);
X_21:=crOSS(X_20,0.9);
X_22:=REF(LOW,1)=LLV(LOW,10);
X_23:=CROSS(X_22,0.9);
X_24:=REF(HIGH,BARSLAST(X_21));
X_25:=REF(LOW,BARSLAST(X_23));
X_26:=(CLOSE+HIGH+LOW)/3;
X_27:=EMA(X_26,10);
X_28:=REF(X_27,1);
X_29:=MA(CLOSE,5);
X_30:=MA(CLOSE,10);
X_31:=MA(CLOSE,20);
X_32:=MA(CLOSE,60);
X_33:=MA(CLOSE,120);
X_34:=MA(CLOSE,250);
X_35:=EMA(CLOSE,500);
X_36:=X_1>=X_2 AND X_3>=X_4 AND X_5>=X_6 AND X_7>=X_8 AND X_10>=X_11 AND X_13>=X_14 AND X_16>=X_17 AND X_18>=X_19 AND CLOSE>REF(CLOSE,1)*1.05;
X_37:=SUM(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
X_38:=HIGH-REF(HIGH,1);
X_39:=REF(LOW,1)-LOW;
X_40:=SUM(IF(X_38>0 AND X_38>X_39,X_38,0),20);
X_41:=SUM(IF(X_39>0 AND X_39>X_38,X_39,0),20);
X_42:=LLV(LOW,240);
X_43:=HHV(HIGH,240);
X_44:=X_40/X_37/2*100;
DH:=(CLOSE-X_42)/X_42*100,COLORYELLOW,LINETHICK2;
X_45:=X_41/X_37/2*100;
X_46:=(X_43-CLOSE)/CLOSE*100;
X_47:=(-(0.05-WINNER(CLOSE/1.12)))*300;
XG:FILTER(X_47>DH AND X_36 AND CLOSE>X_27 AND CLOSE>X_24 AND OPEN/X_32<1.2 AND OPEN/X_33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10);





回复

举报

QQ|

GMT+8, 2024-11-17 06:20

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