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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 圣灵石股海神针(源码.副图.贴图.用法!无未来函数)


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-10 20:14:42
圣灵石股海神针(源码.副图.贴图.用法!无未来函数)介绍

圣灵石股海神针(源码.副图.贴图.用法!无未来函数)

定海神针:=STICKLINE(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200) AND ((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),0,2,0),COLORYELLOW,LINETHICK3;
STICKLINE(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>0,0,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1.5,0),COLOR0000D5;
STICKLINE(定海神针,150,-40,2,0),COLORRED;
STICKLINE(定海神针,150,200,2,0),COLORYELLOW;
STICKLINE(定海神针,-100,-40,2,0),COLORYELLOW;
DRAWTEXT(定海神针,130,'如'),COLORYELLOW;
DRAWTEXT(定海神针,92.5,'意'),COLORYELLOW;
DRAWTEXT(定海神针,56.5,'金'),COLORYELLOW;
DRAWTEXT(定海神针,17,'箍'),COLORYELLOW;
DRAWTEXT(定海神针,-22,'棒'),COLORYELLOW;
STICKLINE(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))) AND ((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))<REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),0,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),2,0),COLORGREEN,LINETHICK2;
涨:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),7),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),DRAWNULL),COLORRED;
跌:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))<REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),DRAWNULL),COLORGREEN,LINETHICK2;
圣灵石:EMA(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),3),COLORRED,LINETHICK2;
DRAWBAND(圣灵石,RGB(300,100,00),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),RGB(250,00,00));
DRAWICON(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),250,2);
DRAWTEXT(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),-22,'洗盘'),COLORYELLOW;
DRAWTEXT(CROSS(200,((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))),-50,'OR强转弱'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-150,' 如意金箍棒信号出弱转强'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-170,' 红色带持股,红柱为强势区'),COLORYELLOW;
DRAWTEXT(CROSS(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),-200),-190,' 绿色带持币!!!'),COLORYELLOW;
强势:IF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11))>=REF(((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),1),((HIGH + LOW + CLOSE)/3-MA((HIGH + LOW + CLOSE)/3,11))/(0.015*AVEDEV((HIGH + LOW + CLOSE)/3,11)),DRAWNULL),COLOR0000FF,LINETHICK7;
【圣灵石指标】:0,POINTDOT,COLORYELLOW;
{下面的源码,不参与数据计算,仅为显示【圣灵石专用指标】字样!}
AAA:=REFDATE(HHV(H,60),DATE);
T5:=CONST(IF(COST(50),1,0));
T9:=CONST(IF((H+L+C)/3,1,0));
TS5:=IF(T5=1,0+0.03,0);
TS9:=IF(T9=1,0+0.03,0);
DRAWTEXT(T9=1 AND CURRBARSCOUNT=45 AND PERIOD=5,AAA-(AAA*TS9),'【圣灵石专用指标】'),COLORYELLOW;




 



gd14357

回复

举报

QQ|

GMT+8, 2024-12-26 23:57

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