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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] boll选股公式(通用源码)


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

boll选股公式
MIZ:=MA(CLOSE,45),Color0080FF,LINEDOT;
UPZ:=MIZ+2*STD(CLOSE,45),Color0080FF;
LOZ:=MIZ-2*STD(CLOSE,45),,Color0080FF;
STICKLINE((UPZ>LOZ),UPZ,LOZ,1,0),Color38564A;
MI5:=MA(CLOSE,26),Color0080FF,LINEDOT;
UP5:=MI5+2*STD(CLOSE,26),Color0080FF;
LO5:=MI5-2*STD(CLOSE,26),,Color0080FF;
STICKLINE((UP5>LO5),UP5,LO5,1,0),Color191855;
BBI:=MA(CLOSE,9),COLORGRAY;
UPR:BBI+2*STD(CLOSE,9),Color30B937,LINETHICK2;
DWN:BBI-2*STD(CLOSE,9),Color30B937,LINETHICK2;
FILLRGN(UPR>DWN,UPR,DWN),Color002F00,LINETHICK2;
工作:=EMA(CLOSE,17),COLORMAGENTA,LINETHICK2;
MI2:MA(CLOSE,26),Color0050FF,LINEDOT,LINETHICK1;
UP2:MI2+2*STD(CLOSE,26),Color0060FF;
LO2:MI2-2*STD(CLOSE,26),,Color0060FF;
MI4:MA(CLOSE,45),COLORYELLOW,LINEDOT;
UP4:MI4+2*STD(CLOSE,45),COLORYELLOW;
LO4:MI4-2*STD(CLOSE,45),COLORYELLOW;
MI9:MA(CLOSE,99),COLORBLUE,LINEDOT;
UP9:MI9+2.1*STD(CLOSE,99),COLORBLUE;
LO9:=MI9-2.1*STD(CLOSE,99),COLORBLUE;
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K24:=SMA(RSV24,3,1);
D24:=SMA(K24,3,1);
J24:=3*K24-2*D24;
支撑价:LLV(LOW,34),COLORWHITE,LINETHICK1;
MA18:=eMA(C,17),PRECISION2,COLOREEEEEE,LINEDOT;
tj:=close>openorclose=openandclose>ref(close,1);
stickline(tjandC>MA18,high,low,0.1,0),colorred;
stickline(tjandC>MA18,close,open,7,0),colorred;
stickline(not(tj)andC>MA18,high,low,0.1,0),COLOREC7B00;
stickline(not(tj)andC>MA18,close,open,7,0),COLOREC7B00;
stickline(tjandC<MA18,high,low,0.1,0),colorred;
stickline(tjandC<MA18,close,open,7,1),colorred;
stickline(not(tj)andC<MA18,high,low,0.1,0),COLOREC7B00;
stickline(not(tj)andC<MA18,close,open,7,1),COLOREC7B00;
EMA(C,14),COLORWHITE,LINETHICK1;
v2:=ma(HIGH,3)*1.04;
v3:=ma(LOW,3)*0.96;
u:fft(v2,30),ColorA800A8;
d:fft(v3,30),ColorA800A8;





回复

举报

QQ|

GMT+8, 2024-11-17 07:43

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