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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通信达付费指标牛熊时段指标公式


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

以下是通信达付费指标牛熊时段指标公式

{大盘牛熊时段}
N:=MA(C,120);
M:=MA(C,250);
{浅蓝注意}
STICKLINE(CLOSE>=0,H,L,0,0),COLORFFFF00;
STICKLINE((CLOSE>=0 AND (C>=O)),O,C,3,1),COLORFFFF00;
STICKLINE((CLOSE>=0 AND (C<=O)),O,C,3,0),COLORFFFF00;
{红色上升}
STICKLINE(CLOSE>N AND N>REF(N,1),H,L,0,0),COLOR0000A8;
STICKLINE((CLOSE>N AND N>REF(N,1) AND (C>=O)),O,C,3,1),COLOR0000A8;
STICKLINE((CLOSE>N AND N>REF(N,1) AND (C<=O)),O,C,3,0),COLOR0000A8;
{绿色调整}
STICKLINE(CLOSE<N AND CLOSE>M,H,L,0,0),COLOR00A800;
STICKLINE((CLOSE<N AND CLOSE>M AND (C>=O)),O,C,3,1),COLOR00A800;
STICKLINE((CLOSE<N AND CLOSE>M AND (C<=O)),O,C,3,0),COLOR00A800;
{蓝色下跌}
STICKLINE(CLOSE<M,H,L,0,0),COLORA80000;
STICKLINE((CLOSE<M AND (C>=O)),O,C,3,1),COLORA80000;
STICKLINE((CLOSE<M AND (C<=O)),O,C,3,0),COLORA80000;
{黄色震荡}
STICKLINE(CLOSE>N AND N<M,H,L,0,0),COLOR54FCFC;
STICKLINE((CLOSE>N AND N<M AND (C>=O)),O,C,3,1),COLOR54FCFC;
STICKLINE((CLOSE>N AND N<M AND (C<=O)),O,C,3,0),COLOR54FCFC;





回复

举报

QQ|

GMT+8, 2024-11-19 00:20

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