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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信涨停淘金A源码附图


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

以下是通达信涨停淘金A源码附图

通达信公式名称: 涨停淘金A

VAR1:=MA(CLOSE,1);

VAR2:=SMA(SMA(SMA(VAR1,2,1),2,1),2,1);

VAR3:=MA(VAR2,3);

VAR4:=(3*CLOSE+LOW+OPEN+HIGH)/6;

VAR5:=(20*VAR4+19*REF(VAR4,1)+18*REF(VAR4,2)+17*REF(VAR4,3)+16*REF(VAR4,4)+15*REF(VAR4,5)+14*REF(VAR4,6)+13*REF(VAR4,7)+12*REF(VAR4,8)+11*REF(VAR4,9)+10*REF(VAR4,10)+9*REF(VAR4,11)+8*REF(VAR4,12)+7*REF(VAR4,13)+6*REF(VAR4,14)+5*REF(VAR4,15)+4*REF(VAR4,16)+3*REF(VAR4,17)+2*REF(VAR4,18)+REF(VAR4,20))/210;

VAR6:=MA(VAR5,5);

VAR7:=ATAN((MA(CLOSE,3)/REF(MA(CLOSE,3),1)-1)*100)*180/3.141159;

VAR8:=MA(VAR7,3);

VAR9:=PLOYLINE(CROSS(VAR7,VAR8),VAR8);

VAR10:=PLOYLINE(CROSS(VAR8,VAR7),VAR7);

涨停淘金:COUNT(CROSS(VAR7,VAR8),VAR9<REF(VAR9,3) AND VAR10>REF(VAR10,3)) AND COUNT(CLOSE>REF(CLOSE,1)*1.096,55)>0 AND (CROSS(CLOSE,VAR2) AND CROSS(CLOSE,VAR3) AND CROSS(CLOSE,VAR5) AND CROSS(CLOSE,VAR6) OR (CROSS(CLOSE,VAR2) AND CROSS(CLOSE,VAR3) AND VAR5>REF(VAR5,1) AND VAR3>VAR6) OR (CROSS(CLOSE,VAR5) AND CROSS(CLOSE,VAR6) AND VAR5>REF(VAR5,1))),COLORRED;

STICKLINE(涨停淘金,0,0.75,3,0),COLORRED;

DRAWTEXT(涨停淘金,涨停淘金*0.6,19),COLORWHITE;

DRAWTEXT(涨停淘金,涨停淘金*0.45,20),COLORWHITE;

DRAWTEXT(涨停淘金,涨停淘金*0.3,21),COLORWHITE;

DRAWTEXT(涨停淘金,涨停淘金*0.15,22),COLORWHITE;

DRAWTEXT_FIX(1,0.001,0.05,0,23),COLORRED;





回复

举报

QQ|

GMT+8, 2024-11-17 00:17

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