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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 资金趋势小波段之强势选股指标公式


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

ABC1:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,120)-LLV(LOW,120))*10;
ABC2:=SMA(ABC1,5,1);
ABC3:=ABC2>MA(ABC2,8);
ABC4:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*10;
ABC5:=SMA(ABC4,3,2);
ABC6:=SMA(ABC5,10,6);
ABC7:=MA(ABC6,3);
买入:=ABC6>=ABC7;
ABC12:=CLOSE>REF(CLOSE,4);
ABC13:=BARSLASTCOUNT(ABC12);
ABC14:=ABC13=9;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
XG:=MACD>0;
QXS:=NOT(CODELIKE('4'));
QKC:=NOT(CODELIKE('688'));
QST:=IF(NAMELIKE('S'),0,1);
QXX:=IF(NAMELIKE('*'),0,1);
QBJ:=NOT(CODELIKE('8'));
TTXD:=QXS AND QST AND QKC AND QXX AND QBJ;
ABC15:=ISLASTBAR AND BETWEEN(ABC13,5,8);
ABC16:=((ABC14>0,9) OR (ABC15>0,ABC13))*ABC13;
ABC17:=CLOSE<REF(CLOSE,4);
ABC18:=BARSLASTCOUNT(ABC17);
ABC19:=ABC18=9;
ABC20:=ISLASTBAR AND BETWEEN(ABC18,5,8);
ABC21:=((ABC19>0,9) OR (ABC20>0,ABC18))*ABC18;
ABC22:=EMA(CLOSE,2);
ABC23:=EMA(CLOSE,150);
ABC24:=ABC22-ABC23;
ABC25:=EMA(ABC24,100);
ABC26:=2*(ABC24-ABC25);
ABC27:=POW(ABC26,3)*0.1+POW(ABC26,1);
ABC28:=IF(ABC26>0.1,ABC27,0)*5;
ABC29:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
ABC30:=CLOSE>MA(CLOSE,250);
ABC31:=ABC28>REF(ABC28,1);
ABC32:=ABC29>REF(ABC29,1);
ABC33:=crOSS(ABC28,0.01)*ABC28;
ABC34:=(ABC30 AND ABC31 AND ABC32)*ABC28;
选股:BARSLASTCOUNT(ABC34>0 AND 买入)=1 AND TTXD AND XG;





回复

举报

QQ|

GMT+8, 2024-11-16 18:08

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