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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 试金石指标源码


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

试金石指标源码

试金石指标源码

DRAWGBK(C>0,STRIP(RGB(0,200,210),RGB(100,20,20),0));
WH01:=MA(CLOSE,27)+MA(CLOSE,27)-REF(MA(CLOSE,27),1);
WH02:=IF(MA(CLOSE,27)<WH01,WH01,MA(CLOSE,27));
试金石:WH02-(EMA(CLOSE,3)-WH02),LINETHICK0,COLOR00beff;
等均线:=(MA(C,3)+MA(C,7)+MA(C,17)+MA(C,27))/4;
均线均:=MA(等均线,3);
均线差:=均线均-2*STD(等均线,3);
日均:=MA(C,3);
YC一线:DMA(EMA(等均线,3),C/均线差),LINETHICK0,COLOR00beff;
PARTLINE(YC一线<日均,YC一线),LINETHICK0,Colorred;
FILLRGN(试金石,YC一线,试金石<YC一线,RGB(218,165,32),试金石>YC一线,RGB(50,205,50));
VAR4:=(LOW+HIGH+CLOSE)/3;
操作:MA(VAR4,5),LINETHICK2,colorFFFFFF;
拉升:HHV(操作,13),LINETHICK2,colorFF8899;
压力:HHV(操作,60),LINETHICK2,color8916FF;

这个指标改自飞狐试金石指标,飞狐试金石指标源码如下
DRAWGBK(C,COLORRGB(0,200,210),COLORRGB(100,20,20),1);
WH01:=MA(CLOSE,27)+MA(CLOSE,27)-REF(MA(CLOSE,27),1),;
WH02:=IF(MA(CLOSE,27)<WH01,WH01,MA(CLOSE,27)),;
试金石:WH02-(EMA(CLOSE,3)-WH02),LINETHICK0,COLOR00beff;
等均线:=(MA(C,3)+MA(C,7)+MA(C,17)+MA(C,27))/4,;
均线均:=MA(等均线,3);
均线差:=均线均-2*STD(等均线,3);
日均:=MA(C,3);
YC一线:DMA(EMA(等均线,3),C/均线差),LINETHICK0,COLOR00beff;
PARTLINE(YC一线<日均,YC一线),LINETHICK0,Colorbeff;
FILLRGN(试金石<YC一线,试金石,YC一线),Color00beff;
FILLRGN(试金石>YC一线,试金石,YC一线),Color009e39;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,9,0),colorFFFF00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorCCCC33;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2.4,0),colorFFFF00;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.1,0),colorFFFFFF;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,9,0),color33CC;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,6,0),colorCC;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,2.4,0),colorFF;
STICKLINE((CLOSE > OPEN),CLOSE,OPEN,1.1,0),colorFF00FF;
STICKLINE((CLOSE > OPEN),OPEN,LOW,0.5,0),colorCC;
STICKLINE((CLOSE > OPEN),CLOSE,HIGH,0.5,0),colorCC;
STICKLINE((OPEN >= CLOSE),CLOSE,LOW,0.5,0),colorFFFF00;
STICKLINE((OPEN >= CLOSE),OPEN,HIGH,0.5,0),colorFFFF00;
VAR4:=(LOW+HIGH+CLOSE)/3;
操作:MA(VAR4,5),LINETHICK2,colorFFFFFF;
拉升:HHV(操作,13),LINETHICK2,colorFF8899;
压力:HHV(操作,60),LINETHICK2,color8916FF;




 


 



gd18262

回复

举报

QQ|

GMT+8, 2024-11-17 15:29

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