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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 操盘力道之选股指标公式


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

X_1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;
买卖力道:=SMA(X_1,3,1),COLORLIGRAY;
X_2:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
X_3:=IF(CLOSE>OPEN,X_2*(HIGH-LOW),IF(CLOSE<OPEN,X_2*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-X_2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-X_2*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-X_2*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-X_2*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,X_2*(HIGH-LOW),IF(CLOSE<OPEN,X_2*(HIGH-OPEN+CLOSE-LOW),VOL/2));
X_4:=AMOUNT/(100*VOL);
X_5:=MA(X_4,40);
X_6:=100*(CLOSE-X_5)/X_5;
X_7:=IF(X_3>0 AND X_6<(-12) AND CLOSE/OPEN>1.08,300,200);
X_8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
X_9:=SMA(X_8,3,1);
X_10:=SMA(X_9,3,1);
D:=SMA(X_10,5,1)*20,COLORCYAN;
X_11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
X_12:=EMA(X_11,3);
X_13:=(X_12-REF(X_12,1))/REF(X_12,1)*100;
X_14:=X_12<=13 AND X_13>13;
X_15:=X_12>=90 AND X_13 AND FILTER(X_12>=90 AND X_13,10);
X_16:=FILTER(X_12>=90 AND X_13 AND crOSS(D,买卖力道),5);
卖出区:=X_16+1800,COLORYELLOW;
中:=(0+卖出区)/2,COLORGREEN;
XG:CROSS(D,中);





回复

举报

QQ|

GMT+8, 2024-11-16 10:21

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