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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信量价齐升、五山荒野版主图幅图选股源码


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

以下是通达信量价齐升、五山荒野版主图幅图选股源码

{主图}


ZT:=C>REF(C,1)*1.095 AND C=H;
M5:MA(C,5);
M10:MA(C,10);
YT:=BARSLAST(C>O);
LY:=REF(L,YT);
TJ1:=REF(EVERY(L>M5,2),1) AND REF(EXIST(ZT,5),1);
TJ2:=BETWEEN(L/M5,0.995,1.005) AND C>REF(C,5) AND V>REF(V,5) AND C>M5 AND H<REF(LY,1);
TJ3:=REF(EVERY(L>M5,2),1) AND REF(EXIST(ZT,10),1);
TJ4:=BETWEEN(L/M10,0.99,1.01) AND C>REF(C,10) AND V>REF(V,10) AND C>M10 AND H<REF(LY,1);
XG:=TJ1 AND TJ2;
XG1:=TJ3 AND TJ4;
DRAWICON(CROSS(XG OR XG1,0.5),L*0.95,1);
STICKLINE(CROSS(XG OR XG1,0.5),C,O,2,0),COLORYELLOW;
STICKLINE(CROSS(XG OR XG1,0.5),L,H,0,0),COLORYELLOW;


{幅图}

ZT:=C>REF(C,1)*1.095 AND C=H;
M5:=MA(C,5);
M10:=MA(C,10);
YT:=BARSLAST(C>O);
LY:=REF(L,YT);
TJ1:=REF(EVERY(L>M5,2),1) AND REF(EXIST(ZT,5),1);
TJ2:=BETWEEN(L/M5,0.995,1.005) AND C>REF(C,5) AND V>REF(V,5) AND C>M5 AND H<REF(LY,1);
TJ3:=REF(EVERY(L>M5,2),1) AND REF(EXIST(ZT,10),1);
TJ4:=BETWEEN(L/M10,0.99,1.01) AND C>REF(C,10) AND V>REF(V,10) AND C>M10 AND H<REF(LY,1);
XG2:=TJ1 AND TJ2;
XG1:=TJ3 AND TJ4;
XG:=XG1 OR XG2;
STICKLINE(CROSS(XG,0.5),0,6,1.2,0),COLORYELLOW;

{选股}

ZT:=C>REF(C,1)*1.095 AND C=H;
M5:=MA(C,5);
M10:=MA(C,10);
YT:=BARSLAST(C>O);
LY:=REF(L,YT);
TJ1:=REF(EVERY(L>M5,2),1) AND REF(EXIST(ZT,5),1);
TJ2:=BETWEEN(L/M5,0.995,1.005) AND C>REF(C,5) AND V>REF(V,5) AND C>M5 AND H<REF(LY,1);
TJ3:=REF(EVERY(L>M5,2),1) AND REF(EXIST(ZT,10),1);
TJ4:=BETWEEN(L/M10,0.99,1.01) AND C>REF(C,10) AND V>REF(V,10) AND C>M10 AND H<REF(LY,1);
XG2:=TJ1 AND TJ2;
XG1:=TJ3 AND TJ4;
XG:CROSS(XG1 OR XG2,0.5);








回复

举报

QQ|

GMT+8, 2024-11-17 22:27

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