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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信判大势的“牛熊时段”指标公式


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

以下是通达信判大势的“牛熊时段”指标公式

MA120:=MA(C,120);
MA250:=MA(C,250);
STICKLINE(C>=O,H,L,0,1),COLORCYAN;
STICKLINE(C>=O,C,O,3,1),COLORCYAN;
STICKLINE(C<O,H,L,0,0 ),COLORCYAN;
STICKLINE(C<O,C,O,3,0 ),COLORCYAN;
STICKLINE(C>MA120 AND C>O,H,C,0,0 ),COLORRED;
STICKLINE(C>MA120 AND C>O,L,O,0,0 ),COLORRED;
STICKLINE(C>MA120 AND C>O,O,C,3,1),COLORRED;
STICKLINE(C>MA120 AND C<=O,H,L,0,0 ),COLORRED;
STICKLINE(C>MA120 AND C<=O,O,C,3,0),COLORRED;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,H,C,0,0),COLORRED;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,L,0,0),COLORRED;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C>O,O,C,3,1),COLORRED;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,H,L,0,0),COLORRED;
STICKLINE(C>MA120 AND MA120>REF(MA120,1) AND C<=O,O,C,3,0),COLORRED;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
STICKLINE(C<MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
STICKLINE(C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND C>O,H,C,0,0),COLORRED;
STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,L,0,0),COLORRED;
STICKLINE(MA120>MA250 AND C>MA120 AND C>O,O,C,3,1),COLORRED;
STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,H,L,0,0),COLORRED;
STICKLINE(MA120>MA250 AND C>MA120 AND C<=O,O,C,3,0),COLORRED;
STICKLINE(MA120>MA250 AND C<MA120 AND C>O,H,C,0,0),COLORGREEN;
STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,L,0,0),COLORGREEN;
STICKLINE(MA120>MA250 AND C<MA120 AND C>O,O,C,3,1),COLORGREEN;
STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,H,L,0,0),COLORGREEN;
STICKLINE(MA120>MA250 AND C<MA120 AND C<=O,O,C,3,0),COLORGREEN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,H,C,0,0),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,O,L,0,0),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C>O,O,C,3,1),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C<=O,H,L,0,0),COLORCYAN;
STICKLINE(MA120>MA250 AND C>MA120 AND MA120<REF(MA120,1) AND C<=O,O,C,3,0),COLORCYAN;
STICKLINE(C<MA250 AND C>O,H,C,0,0),COLORBLUE;
STICKLINE(C<MA250 AND C>O,O,L,0,0),COLORBLUE;
STICKLINE(C<MA250 AND C>O,O,C,3,1),COLORBLUE;

STICKLINE(C<MA250 AND C<=O,H,L,0,0),COLORBLUE;
STICKLINE(C<MA250 AND C<=O,O,C,3,0),COLORBLUE;
STICKLINE(C>MA120 AND MA120<MA250 AND C>O,H,C,0,0),COLORYELLOW;
STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,L,0,0),COLORYELLOW;
STICKLINE(C>MA120 AND MA120<MA250 AND C>O,O,C,3,1),COLORYELLOW;
STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,H,L,0,0),COLORYELLOW;
STICKLINE(C>MA120 AND MA120<MA250 AND C<=O,O,C,3,0),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-20 04:22

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