• 18976542384

    工作时间

    周一至周五:9:00-21:00

    周末及节日:9:00-18:00

  • 手机版二维码

    手机快速找资源

  • 扫描二维码

    加入官方qq群

[源码] 通达信指标公式源码金品指标

3
回复
928
查看
[复制链接]

120

主题

12

回帖

653

积分

高级会员

Rank: 4

积分
653
发表于 2023-8-1 21:44:55 | 显示全部楼层 |阅读模式
做价值的传播者,一路同行,一起成长

问题:怎样才能每天都收到这类文章!

答案:只需点击上方《通达信公式指标》

彩虹桥-投资充电站

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1),LINETHICK2,COLORWHITE;

D:=SMA(K,3,1),LINETHICK2,COLOR00DDDD;

J:=3*K-2*D,LINETHICK2,COLOR800080;

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),LINETHICK0,COLOR0099FF;

DEA :EMA(DIFF,9),LINETHICK0,COLORD89837;

MACD:2*(DIFF-DEA),COLORFF9999,LINETHICK0;

YLZC:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(VOL+0.01)/100);

阻价:=IF(CLOSE=INDEXC,YLZC+INDEXC-INDEXL,YLZC+(CLOSE-LOW));

支价:=IF(CLOSE=INDEXC,INDEXL+INDEXC-YLZC,LOW+(CLOSE-YLZC));

今压:REF(阻价,1),LINETHICK0,COLORAA11BB;

今撑:REF(支价,1),LINETHICK0,COLOR009900;

明压:阻价,LINETHICK0;

明撑:支价,LINETHICK0;

RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101;

KK:=SMA(RSV1,3,1);

DD:=SMA(KK,3,1);

JJ:=3*KK-2*DD;

买卖:=IF(JJ>=100,100,IF(JJ<=0,0,JJ));

明天买:IF(买卖=100,0-10,0),COLOR00CCCC;

明天卖:IF(买卖=0,90,100),COLOR00FF00;

KX:=250;

KH:=HHV(K,KX);

DH:=HHV(D,KX);

JH:=HHV(J,KX);

KL:=LLV(K,KX);

DL:=LLV(D,KX);

JL:=LLV(J,KX);

HKMAX:=MAX(KH,MAX(DH,JH));

LKMIN:=MIN(KL,MIN(DL,JL));

KHLB:=(HKMAX+LKMIN)/2;

KHLC:=HKMAX-LKMIN;

MHF:=HHV(DIFF,KX);

MHD:=HHV(DEA,KX);

MHM:=HHV(MACD,KX);

MLF:=LLV(DIFF,KX);

MLD:=LLV(DEA,KX);

MLM:=LLV(MACD,KX);

HMAX:=MAX(MHF,MAX(MHD,MHM));

LMIN:=MIN(MLF,MIN(MLD,MLM));

FHLB:=(HMAX-LMIN)/100;

FHLC:=HMAX-LMIN;

SH:=(0-FHLB)*(KHLC/FHLC)+KHLB;

DIFFA:=(DIFF-FHLB)*(KHLC/FHLC)+KHLB;

DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB;

MACDA:=(MACD-FHLB)*(KHLC/FHLC)+KHLB;

CDA:=MACD<REF(MACD,1) AND MACD>0;

CDB:=MACD>=REF(MACD,1) AND MACD>0;

CDC:=MACD>REF(MACD,1) AND MACD<0;

CDD:=MACD<=REF(MACD,1) AND MACD<0;

STICKLINE(CDA,SH,MACDA,6,0),COLOR00AAFF;{黄色段}

STICKLINE(CDA,SH,MACDA,5,0),COLOR00BBFF;

STICKLINE(CDA,SH,MACDA,4,0),COLOR00CCFF;

STICKLINE(CDA,SH,MACDA,3,0),COLOR00DDFF;

STICKLINE(CDA,SH,MACDA,2,0),COLOR00EEFF;

STICKLINE(CDA,SH,MACDA,1,0),COLOR00FFFF;

STICKLINE(CDB,SH,MACDA,6,0),COLOR0000AA; {红色段}

STICKLINE(CDB,SH,MACDA,5,0),COLOR0011BB;

STICKLINE(CDB,SH,MACDA,4,0),COLOR0022CC;

STICKLINE(CDB,SH,MACDA,3,0),COLOR0033DD;

STICKLINE(CDB,SH,MACDA,2,0),COLOR0044EE;

STICKLINE(CDB,SH,MACDA,1,0),COLOR0055FF;

STICKLINE(CDC,SH,MACDA,6,0),COLORAA00BB;{向上粉红}

STICKLINE(CDC,SH,MACDA,5,0),COLORBB11BB;

STICKLINE(CDC,SH,MACDA,4,0),COLORCC22BB;

STICKLINE(CDC,SH,MACDA,3,0),COLORDD33BB;

STICKLINE(CDC,SH,MACDA,2,0),COLOREE44BB;

STICKLINE(CDC,SH,MACDA,1,0),COLORFF55BB;

STICKLINE(CDD,SH,MACDA,6,0),COLORFF7700;

STICKLINE(CDD,SH,MACDA,5,0),COLORFF8811;

STICKLINE(CDD,SH,MACDA,4,0),COLORFFAA22;

STICKLINE(CDD,SH,MACDA,3,0),COLORFFBB33;

STICKLINE(CDD,SH,MACDA,2,0),COLORFFDD44;

STICKLINE(CDD,SH,MACDA,1,0),COLORFFDD55;

TYP:=(HIGH+LOW+CLOSE)/3;

STICKLINE(DIFF>REF(DIFF,1),20,22,2,0),COLORRED;

STICKLINE(DIFF<REF(DIFF,1),20,22,2,0),COLORGREEN;

STICKLINE(K>=REF(K,1) OR K>D AND DIFF>REF(DIFF,1),80,82,2,1),COLORRED;

STICKLINE(K<REF(K,1),80,82,2,1),COLORGREEN;

MACD金叉:=CROSS(MACD,DIFF) AND MACD>=(0-0.05) AND MACD<=0.02;

DRAWTEXT(MACD金叉,MACDA*0.82,'MACD金叉'),COLOR00FFFF;

XX:=EMA(MA(LOW,3)*0.96,30);

DIFF金叉:=IF(CROSS(DIFF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIFF<=0,1,0);

DRAWTEXT(DIFF金叉=1,DIFFA*1.68,'DIFF金叉'),COLORCDFFBB;

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;

DRAWTEXT(低位金叉,DEAA*0.99,' 低位金叉'),COLOR0099DD;

DIFDEA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(DIFDEA=2,21)=1;

DRAWTEXT(二次金叉,DEAA*0.99-8,' 二次金叉'),COLORFF00FF;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

DRAWTEXT(底背离,DEAA*0.99-16,' 底背离'),COLOR0099FF;

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);

DRAWTEXT(FILTER(顶背离,5),DEAA*1.02,'顶背离'),COLORDDAAAA;

KDB:=BARSLAST(REF(CROSS(K,D),1));

KDDB:=REF(CLOSE,KDB+1)>CLOSE AND REF(K,KDB+1)<K AND CROSS(K,D);

K底背:=IF(FILTER(KDDB>0,5),1,0);

DRAWTEXT(K底背=1,D*0.98,'底背离'),COLORDDDDDD;

KDD:=BARSLAST(REF(CROSS(D,K),1));

K顶背:=REF(CLOSE,KDD+1)<CLOSE AND REF(K,KDD+1)>K AND CROSS(D,K);

DRAWTEXT(FILTER(K顶背>0,5),D+8,'顶背离'),COLORFFAA22;

MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;

MD2:=MA((CLOSE-MD1)/MD1,3);

买点1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)<1.012 AND J<75 AND J>REF(J,1);

MA12:=MA(CLOSE,12);

佳点:=IF(FILTER(MACD>=REF(MACD,5) AND OPEN<=REF(CLOSE,1) AND XX-REF(XX,1)>0 AND MACD<=0 AND MA12-REF(MA12,1)>=0,3) AND J<80 AND J>REF(J,1) AND D>REF(D,1) AND (DIFF>=REF(DIFF,1) OR DEA>=REF(DEA,1)),1,0);

DRAWTEXT(佳点=1,MACDA*0.98,'佳点'),COLOR0099FF;

DX0:=EMA(CLOSE,2)-EMA(OPEN,5);

DX1:=IF(CROSS(DX0,MACD) AND LOW<=XX AND MACD<=(0-0.11) AND (J<20 OR K<20),1,0);

DRAWTEXT(FILTER(DX1,3),0,'短10%'),COLOR00CC00;{短线};

KKK:SMA(RSV,3,1),LINETHICK2,COLORWHITE;

DDD:SMA(KKK,3,1),LINETHICK2,COLOR00DDDD;

JJJ:3*KKK-2*DDD,LINETHICK2,COLOR800080;

风险提示:本指标公式仅作为知识分享,不构成任何投资建议,不作投资依据。

=====================

提供服务如下:

1、转换 --- 根据客户提供的电脑板或者手机版技术指标源码,转换成自己的手机软件使用

2、编写 --- 按照客户定制指标时“提供的编写要求”,制作技术指标

3、修改 --- 按照客户“提供的修改要求”,修改技术指标

点击【阅读原文】查阅更多经典指标
回复

使用道具 举报

0

主题

9

回帖

32

积分

新手上路

Rank: 1

积分
32
发表于 2023-8-10 13:46:40 | 显示全部楼层
多多点赞好好学习
回复

使用道具 举报

0

主题

9

回帖

30

积分

新手上路

Rank: 1

积分
30
发表于 2023-11-2 07:53:54 | 显示全部楼层
尝试一下
回复

使用道具 举报

0

主题

11

回帖

31

积分

新手上路

Rank: 1

积分
31
发表于 2023-12-4 21:56:28 | 显示全部楼层
为你点赞
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

全国统一客服电话
18976542384

24x7小时免费咨询

  • 官方在线客服

    QQ客服:股海浪子

    点击交谈

    QQ客服:beyond

    点击交谈

    QQ客服:明月

    点击交谈
  • 广东省深圳市福田区深南大道2012号

  • 添加客服微信

    可领取网站任一指标一个

  • 加入指标qq分享群

    免费领取资源

Powered by Discuz!X3.4 ©2001-2013 Comsenz Inc.彩虹桥投资充电站( 粤ICP备19084539号 )|网站地图