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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 通达信金龙抄底指标公式源码


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

VAR1:=1286;
VAR2:=366;
VAR3:=CLOSE/MA(CLOSE,40)*100<78;
VAR4:=CLOSE/MA(CLOSE,60)*100<74;
VAR5:=HIGH>LOW*1.051;
VAR6:=VAR5 AND COUNT(VAR5,5)>1;
VAR7:=IF(VAR6 AND (VAR3 OR VAR4),2,0);
VAR8:=CLOSE/REF(CLOSE,25)<=1.1;
VAR9:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(Abs(CLOSE-REF(CLOSE,2)),7,1)*100<15;
VAR10:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
VAR11:=SMA(VAR10,2,1);
VAR12:=SMA(VAR11,2,1);
VAR13:=IF(VAR11>REF(VAR11,1) AND REF(VAR11,1)<REF(VAR11,2) AND VAR11<23,1.5,0);
VAR14:=LLV(LOW,4)=LLV(LOW,120);
VAR15:=(CLOSE-MA(CLOSE,58))/MA(CLOSE,58)<(-0.07);
VAR16:=(INDEXC-HHV(INDEXC,8))/HHV(INDEXC,8)<(-0.05) AND MA(INDEXA,125)/MA(INDEXV,125)/(MA(INDEXA,5)/MA(INDEXV,5))>1.12;
VAR17:=BARSLAST(VAR16)<10;
VAR18:=MA(CLOSE,27);
VAR19:=(CLOSE-VAR18)/VAR18*100;
VAR20:=MA(VAR19,2);
VAR21:=BARSLAST(crOSS((-10),VAR20)=1);
VAR22:=VAR20<(-10) AND VAR21>3;
VAR23:=ABS(IF(VAR22,VAR20,0));
VAR24:=VAR23>0;
VAR25:=MA(CLOSE,80)-MA(CLOSE,13)/3;
VAR26:=MA((CLOSE-VAR25)/VAR25,1);
VAR27:=EMA(VAR26,12)*0.5;
VAR28:=EMA(VAR26,3);
VAR29:=ABS(IF(LLV(VAR28-VAR27,12)>0,0,1));
VAR30:=CLOSE/(EMA(EMA((CLOSE+LOW+HIGH)/3,3),26)*0.9)<0.95;
VAR31:=MA((CLOSE-MA(CLOSE,21))/MA(CLOSE,21),3)*100;
VAR32:=VAR31<(-15);
VAR33:=(CLOSE-MA(CLOSE,28))/MA(CLOSE,28)*100<(-23);
VAR34:=VAR8 AND VAR7 AND VAR9 AND VAR13;
VAR35:=VAR32>0 AND VAR30>0 AND VAR29>0 AND VAR24>0 AND VAR15>0 AND VAR33>0 AND CLOSE>REF(CLOSE,1);
金龙:=VAR35 AND VAR34;
STICKLINE(金龙,100,0,3,0),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-27 23:33

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