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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信金指DDE公式


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

以下是通达信金指DDE公式

通达信金指DDE公式

源码

{DDE金指 主图}

持股线:=EMA(C,26);

PLOYLINE(MA(C,3)>持股线,持股线),COLORFF00FF,LINETHICK2;

PLOYLINE(MA(C,3)<持股线,持股线),COLORFFFF00,LINETHICK2;

WW1:=FILTER(O<REF(L,1) AND C>O AND VOL>REF(V,1),13);

JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;

SZ:=FILTER(CROSS(JH,35),13);

SX:=FILTER(CROSS(JH,30),7);

SQ:=FILTER(CROSS(71,JH),74);

SD:=FILTER(CROSS(80,JH),74);

AA:=IF(CAPITAL<1,SZ,SX);

BB:=IF(CAPITAL<1,SQ,SD);

CC:=REF(HHV(CLOSE,120),1);DD:=REF(LLV(CLOSE,120),1);

WW:=((100 * (CLOSE - DD)) / (CC - DD));EE:=AMOUNT;

FF:=(EMA(EE,5) / REF(EMA(EE,5),5));

霸占:=FILTER(((((((FF >= 2)) AND (WW < 35))) AND (BARSCOUNT(CLOSE) > 30)) OR (((((FF >= 2)) AND (WW < 100))) AND (BARSCOUNT(CLOSE) < 50))),90);

STICKLINE(C>REF(C,1),H,L,0,0),COLOR0099FF;

STICKLINE(C>REF(C,1),C,O,3.2,0),COLOR0000AA;

STICKLINE(C>REF(C,1),C,O,2.7,0),COLOR0000DD;

STICKLINE(C>REF(C,1),C,O,2.1,0),COLOR0022FF;

STICKLINE(C>REF(C,1),C,O,1.5,0),COLOR0066FF;

STICKLINE(C>REF(C,1),C,O,0.9,0),COLOR0099FF;

STICKLINE(C>REF(C,1),C,O,0.3,0),COLOR00DDFF;

STICKLINE(C<REF(C,1),H,L,0,1),COLORFF8800;

STICKLINE(C<REF(C,1),C,O,3.2,0),COLOR990000;

STICKLINE(C<REF(C,1),C,O,2.7,0),COLORCC0000;

STICKLINE(C<REF(C,1),C,O,2.1,0),COLORFF4400;

STICKLINE(C<REF(C,1),C,O,1.5,0),COLORFF8800;

STICKLINE(C<REF(C,1),C,O,0.9,0),COLORFFCC00;

STICKLINE(C<REF(C,1),C,O,0.3,0),COLORFFDD00;

STICKLINE(C=REF(C,1),H,L,0,1),COLORFFFFFF;

STICKLINE(C=REF(C,1),C,O,3.2,0),COLOR555555;

STICKLINE(C=REF(C,1),C,O,2.7,0),COLOR777777;

STICKLINE(C=REF(C,1),C,O,2.1,0),COLOR999999;

STICKLINE(C=REF(C,1),C,O,1.5,0),COLORBBBBBB;

STICKLINE(C=REF(C,1),C,O,0.9,0),COLORDDDDDD;

STICKLINE(C=REF(C,1),C,O,0.3,0),COLORFFFFFF;

{STICKLINE(霸占,HIGH,LOW,0,1),COLOR0000FF;}

STICKLINE(霸占,C,O,3,2),COLOR000055;

STICKLINE(霸占,C,O,2.7,0),COLOR000077;

STICKLINE(霸占,C,O,2.1,0),COLOR000099;

STICKLINE(霸占,C,O,1.5,0),COLOR0000BB;

STICKLINE(霸占,C,O,0.9,0),COLOR0000DD;

STICKLINE(霸占,C,O,0.3,0),COLOR0000FF;

{STICKLINE(WW1,HIGH,LOW,0,1),COLORFF55FF;}

STICKLINE(WW1,CLOSE,OPEN,3.2,0),COLORBB00FF;

STICKLINE(WW1,CLOSE,OPEN,2.7,0),COLORFF33FF;

STICKLINE(WW1,CLOSE,OPEN,2.1,0), COLORFF66FF;

STICKLINE(WW1,CLOSE,OPEN,1.5,0),COLORFF99FF;

STICKLINE(WW1,CLOSE,OPEN,0.9,0),COLORFFBBFF;

STICKLINE(WW1,CLOSE,OPEN,0.3,0),COLORFFDDFF;

{STICKLINE(AA,HIGH,LOW,0,1),COLORYELLOW;}

STICKLINE(AA,CLOSE,OPEN,3.2,0),COLOR0088FF;

STICKLINE(AA,CLOSE,OPEN,2.7,0),COLOR00AAFF;

STICKLINE(AA,CLOSE,OPEN,2.1,0),COLOR00CCFF;

STICKLINE(AA,CLOSE,OPEN,1.5,0),COLOR22FFFF;

STICKLINE(AA,CLOSE,OPEN,0.9,0),COLOR66FFFF;

STICKLINE(AA,CLOSE,OPEN,0.3,0),COLOR99FFFF;

{STICKLINE(BB,HIGH,LOW,0,1),COLOR00FF00;}

STICKLINE(BB,CLOSE,OPEN,3.2,0),COLOR005500;

STICKLINE(BB,CLOSE,OPEN,2.7,0),COLOR007700;

STICKLINE(BB,CLOSE,OPEN,2.1,0),COLOR009900;

STICKLINE(BB,CLOSE,OPEN,1.5,0),COLOR00BB00;

STICKLINE(BB,CLOSE,OPEN,0.9,0),COLOR00DD00;

STICKLINE(BB,CLOSE,OPEN,0.3,0),COLOR00FF00;





回复

举报

QQ|

GMT+8, 2024-11-19 10:30

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