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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信海底捞月主图指标公式源码


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

DRAWTEXT_FIX(ISLASTBAR ,0.01,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.05,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.01,0.1,0,GNBLOCK),COLORYELLOW;
MA5:MA(CLOSE,10),COLORRED DOTLINE;
MA20:MA(CLOSE,120),COLORYELLOW;
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT>1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2>0,REF(C,W2),REF(C,W2));
W4:=crOSS(C,REF(W3,1));
KAAA:=饱和度>=97 AND CQ>90;
KBBB:=W4 AND COUNT(W4,5)=1;
AA:=CLOSE/REF(CLOSE,1)>=1.09;
STICKLINE(AA,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(KBBB,OPEN,CLOSE,2,0),COLORFF00FF;
X_1:=(REF(MA(CLOSE,3),1)+ZTPRICE(REF(CLOSE,1),0.1))/2;
X_2:=X_1*0.9;
XG:=MAX(CLOSE,OPEN)<X_2 AND CLOSE>OPEN AND OPEN/REF(CLOSE,1)<0.95 AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,1)<REF(OPEN,1),COLORYELLOW,LINETHICK2;
STICKLINE(XG,O,C,3,0),COLORFF00FF;
STICKLINE(XG,L,H,0,0),COLORFF00FF;
DRAWTEXT(XG,L*0.99,'海底捞月'), COLORYELLOW;





回复

举报

QQ|

GMT+8, 2024-11-17 01:34

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