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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 短线速利之选股指标公式


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

AX_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
AX_2:=EMA(AX_1,9);
AX_3:=AX_1>AX_2;
AX_4:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
AX_5:=SMA(AX_4,3,1);
AX_6:=SMA(AX_5,3,1);
AX_7:=AX_5>AX_6;
AX_8:=REF(CLOSE,1);
AX_9:=SMA(MAX(CLOSE-AX_8,0),9,1)/SMA(Abs(CLOSE-AX_8),9,1)*100;
AX_10:=SMA(MAX(CLOSE-AX_8,0),26,1)/SMA(ABS(CLOSE-AX_8),26,1)*100;
AX_11:=AX_9>AX_10;
AX_12:=SMA(AX_4,3,1);
AX_13:=SMA(AX_12,3,1);
AX_14:=AX_12>AX_13;
AX_15:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
AX_16:=CLOSE>AX_15;
AX_17:=CLOSE-REF(CLOSE,1);
AX_18:=100*EMA(EMA(AX_17,9),9)/EMA(EMA(ABS(AX_17),9),3);
AX_19:=100*EMA(EMA(AX_17,26),12)/EMA(EMA(ABS(AX_17),26),12);
AX_20:=AX_18>AX_19;
AX_21:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
AX_22:=REF(EMA(AX_21,3),1);
AX_23:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
AX_24:=IF(CLOSE>OPEN,AX_23*(HIGH-LOW),IF(CLOSE< OPEN,AX_23*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-AX_23*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-AX_23*(HIGH-LOW),0-VOL/2));
AX_25:=AX_24/20/1.15;
AX_26:=AX_25*0.55+REF(AX_25,1)*0.33+REF(AX_25,2)*0.22;
AX_27:=EMA(AX_26,8);
AX_28:=EMA(AX_26,3);
AX_29:=AX_28;
AX_30:=VOL;
AX_31:=MA(AX_30,5);
AX_32:=MA(AX_30,10);
AX_33:=AX_31>=AX_32;
AX_34:=AX_29>=0;
AX_35:=AX_34 AND AX_33;
AX_36:=MA("kdj.K"(54,9,12)#WEEK,5);
AX_37:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
AX_38:=EMA(AX_37,9/2);
AX_39:=AX_36>=REF(AX_36,1) AND AX_37>=AX_38;
AX_40:=AX_39 OR AX_35;
AX_41:=AX_3 AND AX_7 AND AX_11 AND AX_14 AND AX_16 AND AX_20;
AX_42:=COST(50)*COST(50)/COST(80);
AX_43:=COST(40)*COST(40)/COST(60);
AX_44:=AX_43-AX_42;
AX_45:=AX_44>0 AND CLOSE>AX_43;
AX_46:=AX_44< 0 AND CLOSE>AX_42;
AX_47:=AX_45 OR AX_46 OR (AX_45 AND AX_46);
选股:AX_47 OR AX_41 AND REF(AX_47 OR AX_41,1)=0 AND AX_40;





回复

举报

QQ|

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

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