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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信主力资金入场指标公式源码


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

X_1:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
X_2:=DMA(CLOSE,X_1);
X_4:=(1-9/100)*X_2;
X_5:=CLOSE/REF(CLOSE,1)>1.092 AND CLOSE/REF(CLOSE,1)<1.1035 AND CLOSE=HIGH;
X_6:=REF(COUNT(X_5,6)=1,1);
X_7:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-10),1);
X_8:=AMOUNT/vol/7;
X_9:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
X_10:=SUM(AMOUNT,10)/X_8/7;
X_11:=DMA(X_9,VOL/X_10);
X_12:=(CLOSE-X_11)/X_11*100;
X_13:=crOSS(X_12,(-5)) OR CROSS(X_12,(-10));
X_14:=CLOSE/REF(CLOSE,20)<1.3 OR REF(CLOSE,3)/REF(CLOSE,20)<1.3;
X_15:=X_6 AND X_7 AND CLOSE>X_4 AND CLOSE<X_2 AND CLOSE/REF(CLOSE,1)>1.01 AND X_13 AND X_14;
X_16:=FILTER(X_15,2);
STICKLINE(X_16,0.5,1,2.5,0),COLORWHITE;
STICKLINE(X_16,0,0.5,2.5,0),COLORMAGENTA;
DRAWICON(X_16,1,1);





回复

举报

QQ|

GMT+8, 2024-11-16 16:47

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