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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 大智慧黄金分割主图指标公式


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

大智慧黄金分割主图指标公式

高:=hhvall(h);
低:=llvall(l);
十三日跌幅:100*(c-hhv(c,13))/hhv(c,13),PRECIS2,LINETHICK0;
x50:=(高+低)/2;
x191:=低+(高-低)*0.191;
x382:=低+(高-低)*0.382;
x618:=低+(高-低)*0.618;
x809:=低+(高-低)*0.809;
x125:=低+(高-低)*0.125;
x25:=低+(高-低)*0.25;
x333:=低+(高-低)*0.333;
x375:=低+(高-低)*0.375;
x625:=低+(高-低)*0.625;
x667:=低+(高-低)*0.667;
x75:=低+(高-低)*0.75;
x875:=低+(高-低)*0.875;
高点:高,LINETHICK1,PRECIS2;
a50:x50,LINETHICK2,PRECIS2;
低点:低,LINETHICK1,PRECIS2;
a382:x382, DOTLINE,LINETHICK1,PRECIS2;
a618:x618, DOTLINE,LINETHICK1,PRECIS2;
a809:x809, DOTLINE,LINETHICK1,PRECIS2;
a高91:x191, DOTLINE,LINETHICK1,PRECIS2;
b125:x125, DOTLINE,LINETHICK1,PRECIS2;
b25:x25,LINETHICK2,colorred,PRECIS2;
B333:X333, DOTLINE,LINETHICK1,PRECIS2;
B375:X375, DOTLINE,LINETHICK1,PRECIS2;
B625:X625, DOTLINE,LINETHICK1,PRECIS2;
B667:X667, DOTLINE,LINETHICK1,PRECIS2;
B75:X75,LINETHICK2,colorwhite,PRECIS2;
B875:X875, DOTLINE,LINETHICK1,PRECIS2;
DRAWTEXT(BARSTATUS=2,a618*0.995,'61.8%:'+NUMTOSTRN(a618,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,a809,'80.9%:'+NUMTOSTRN(a809,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,a50,'50%:'+NUMTOSTRN(a50,2)+''),ALIGN2,color00FFff,LINETHICK2,Layer0;
DRAWTEXT(BARSTATUS=2,a382*1.005,'38.2%:'+NUMTOSTRN(a382,2)+''),ALIGN2,VALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,a高91,'19.1%:'+NUMTOSTRN(a高91,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,b125,'12.5%:'+NUMTOSTRN(b125,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,b25,'25%:'+NUMTOSTRN(b25,2)+''),ALIGN2,colorred,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,b333,'33.3%:'+NUMTOSTRN(b333,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,b375,'37.5%:'+NUMTOSTRN(b375,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,b625,'62.5%:'+NUMTOSTRN(b625,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,b667,'66.6%:'+NUMTOSTRN(b667,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;
DRAWTEXT(BARSTATUS=2,b75,'75%:'+NUMTOSTRN(b75,2)+''),ALIGN2,colorwhite,LINETHICK2,Layer0;
DRAWTEXT(BARSTATUS=2,b875,'87.5%:'+NUMTOSTRN(b875,2)+''),ALIGN2,color00FFff,LINETHICK1,Layer0;






gd29254

回复

举报

QQ|

GMT+8, 2024-11-16 20:31

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