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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信明日低买源码附图(无未来)


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

以下是通达信明日低买源码附图(无未来)

副图指标源码:

VAR1:=MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20)AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
VAR2:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
SSXG:=VAR1 AND VAR2;
VAR3:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.04);
VAR4:=C/REF(C,1)>1.041 AND C>REF(O,1) ;
XGH1:=VAR3 AND VAR4;
VAR5:=REF(O,1)/REF(C,1)>1.05;
VAR6:=C/REF(C,1)>1.041 AND C>REF(O,1) AND L<REF(C,1);
XGH2:=VAR5 AND VAR6;
XGY:=XGH1 OR XGH2;
ZHXG:=SSXG AND XGY;{www.goodgupiao.com}
明日低买:REF(ZHXG,4),COLORYELLOW;
DRAWTEXT(REF(ZHXG,4),0.8,'明日低买'),COLORWHITE;


选股源码:

VAR1:=MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20)AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
VAR2:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
SSXG:=VAR1 AND VAR2;
VAR3:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.04);
VAR4:=C/REF(C,1)>1.041 AND C>REF(O,1) ;
XGH1:=VAR3 AND VAR4;
VAR5:=REF(O,1)/REF(C,1)>1.05;
VAR6:=C/REF(C,1)>1.041 AND C>REF(O,1) AND L<REF(C,1);
XGH2:=VAR5 AND VAR6;
XGY:=XGH1 OR XGH2;
ZHXG:=SSXG AND XGY;
明日低买:REF(ZHXG,4);





回复

举报

QQ|

GMT+8, 2024-11-20 13:32

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