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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信宝典操盘副图指标


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

以下是通达信宝典操盘副图指标

通达信宝典操盘副图指标

源码

VAR1:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,5,1);
K:=SMA(VAR3,3,1);
D:=SMA(K,3,1);
STICKLINE((K <= D),100,0,8,0),COLOR2B5500;
STICKLINE((K >= D),100,0,8 ,0 ),COLOR005555;
高线:
80,COLOR0000FF,POINTDOT;
中线:
50,COLOR10CCFF,POINTDOT;
低线:
20,COLOR40FF00,POINTDOT;
DRAWTEXT(CROSS(K,D) AND (D < 18),15,'买'),COLOR00FFFF;
DRAWTEXT(CROSS(D,K) AND (D > 75),85,'卖'),COLORFFFFFF;
STICKLINE((K >= D),K,D,2,0 ),COLORYELLOW;
STICKLINE((K >= D),K,D,1.5 ,0 ),COLORYELLOW;
STICKLINE((K >= D),K,D,1,0 ),COLORYELLOW;
STICKLINE((K >= D),K,D,0,0),COLORYELLOW;
STICKLINE((K <= D),K,D,2,0),COLORGREEN;
STICKLINE((K <= D),K,D,1.5,0),COLORGREEN;
STICKLINE((K <= D),K,D,1,0),COLORGREEN;
STICKLINE((K <= D),K,D,0,0),COLORGREEN;
100,POINTDOT,COLORFFFFFF,LINETHICK5;





回复

举报

QQ|

GMT+8, 2024-11-18 18:19

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