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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信擒庄主图指标公式源码


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

MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
MAQ:=MA(C,5);
趋势线:HHV(MAQ,90),LINETHICK2,COLORE66878;
辅助线:MA(C,25)+MA(C,25)*20/100,DOTLINE,COLORGREEN;
TJ1:=REF(C,3)/REF(C,4)>1.09 AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30);
TJ3:=REF(O,1)<REF(MA(C,5),1) AND O>MA(C,20) AND C>MA(C,10);
TJ4:=EVERY(MA(C,5)>MA(C,10),3) AND H/REF(C,1)>1.041 AND REF(C,1)/REF(C,2)<1.041 AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND REF(O,1)>REF(MA(C,20),1)
AND REF(C,1)>REF(MA(C,10),1) AND C>MA(C,60) AND MA(C,5)>MA(C,60);
TJ5:=NOT(REF(C,1)>REF(MA(C,5),1) AND REF(C,2)>REF(MA(C,5),2));
TJXG1:=COUNT(TJ1,10) AND TJ3 AND TJ4 AND TJ5;
FZ2:=MA(C,25)+MA(C,25)*20/100;
FZ1:=HHV(MAQ,90);
FZX:=C>FZ1 OR H>FZ2;
WUJQ:=NOT(COUNT(REF(TJXG1,1),5)) AND TJXG1 AND FZX;
DRAWICON(WUJQ,L*0.95,9);
DRAWTEXT(WUJQ,L*0.91,'擒庄'),COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-17 06:41

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