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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 操盘力度之加仓搏选股指标公式


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

CPLD1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;
CPLD2:=SMA(CPLD1,3,1),COLORLIGRAY;
CPLD3:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
CPLD4:=IF(CLOSE>OPEN,CPLD3*(HIGH-LOW),IF(CLOSE< OPEN,CPLD3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-CPLD3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-CPLD3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-CPLD3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-CPLD3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,CPLD3*(HIGH-LOW),IF(CLOSE< OPEN,CPLD3*(HIGH-OPEN+CLOSE-LOW),VOL/2));
CPLD5:=AMOUNT/(100*VOL);
CPLD6:=MA(CPLD5,40);
CPLD7:=100*(CLOSE-CPLD6)/CPLD6;
CPLD8:=IF(CPLD4>0 AND CPLD7< (-12) AND C/O>1.08,300,200);
CPLD9:=(C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100;
CPLD10:=SMA(CPLD9,3,1);
CPLD11:=SMA(CPLD10,3,1);
买卖力道:=SMA(CPLD11,5,1)*20;
CPLD12:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,5,1),3,1);
CPLD13:=EMA(CPLD12,3);
CPLD14:=(CPLD13-REF(CPLD13,1))/REF(CPLD13,1)*100;
CPLD15:=CPLD13<=13 AND CPLD14>13 AND FILTER(CPLD13<=13 AND CPLD14>13,10);
CPLD16:=CPLD13<=13 AND CPLD14>13;
CPLD17:=CPLD13>=90 AND CPLD14 AND FILTER(CPLD13>=90 AND CPLD14,10);
CPLD18:=FILTER(CPLD13>=90 AND CPLD14 AND crOSS(买卖力道,CPLD2),5);
CPLD19:=EMA(CLOSE,13)-EMA(CLOSE,24);
CPLD20:=EMA(CPLD19,6);
CPLD21:=(CPLD19-CPLD20)*3;
顶部力度:=CPLD18+1800,COLOR00FFFF;
中部力度:=(0+顶部力度)/2,COLORFFFF00;
CPLD31:=CROSS(买卖力道,中部力度);
加仓搏:CPLD31;





回复

举报

QQ|

GMT+8, 2024-11-16 13:07

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