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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[指标编写] 绝杀大牛主图之牛浮面选股指标公式


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

长期趋势:=EMA(EMA(C,34),13),COLORRED,LINETHICK3;
VAR5:=REF(MA(C,5),1)<REF(MA(C,10),1)AND MA(C,10)>REF(MA(C,10),1);
VAR6:=C>MA(C,10) OR H>=MA(C,10);
VAR7:=C>O AND REF(C,1)<MA(C,10) AND VAR6 AND VAR5 AND MA(C,21)<MA(C,10);
VAR8:=VAR7 AND (crOSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势));
VAR9:=((C>REF(C,1)) AND (C>REF(C,2)));
VAR10:=((REF(VAR9,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR11:=((REF(VAR10,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR12:=((REF(VAR11,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR13:=((REF(VAR12,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR14:=((REF(VAR13,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR15:=((REF(VAR14,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR16:=((REF(VAR15,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR17:=((REF(VAR16,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR18:=((REF(VAR17,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR19:=((REF(VAR18,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR20:=((REF(VAR19,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR21:=((((VAR9 OR VAR10) OR VAR11) OR VAR12) OR VAR13);
VAR22:=((((VAR21 OR VAR14) OR VAR15) OR VAR16) OR VAR17);
VAR23:=((C<REF(C,1)) AND (C<REF(C,2)));
VAR24:=((REF(VAR23,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR25:=((REF(VAR24,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR26:=((REF(VAR25,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR27:=((REF(VAR26,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR28:=((REF(VAR27,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR29:=((REF(VAR28,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR30:=((REF(VAR29,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR31:=((REF(VAR30,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR32:=((REF(VAR31,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR33:=((REF(VAR32,1) AND (C<=REF(C,1))) AND (C>=REF(C,2)));
VAR34:=((REF(VAR33,1) AND (C>=REF(C,1))) AND (C<=REF(C,2)));
VAR35:=((((VAR23 OR VAR24) OR VAR25) OR VAR26) OR VAR27);
VAR36:=((((VAR35 OR VAR28) OR VAR29) OR VAR30) OR VAR31);
VAR37:=(REF((((VAR36 OR VAR32) OR VAR33) OR VAR34),1) AND VAR9);
VAR38:=(REF((((VAR22 OR VAR18) OR VAR19) OR VAR20),1) AND VAR23);
VAR39:=CROSS(EMA(C,5),EMA(C,30))AND CROSS(EMA(C,10),EMA(C,20));
VAR40:=HHV((EMA(((((O+L)+H)+C)/4),5)),60);
VAR41:=(((C-LLV(L,13))/(HHV(H,13)-LLV(L,13)))*100);
VAR42:=EMA((((((3*C)+H)+L)+O)/6),10);
VAR43:=((3*SMA(VAR41,3,1))-(2*SMA(SMA(VAR41,3,1),3,1)));
VAR44:=(((C-LLV(L,55))/(HHV(H,55)-LLV(L,55)))*100);
VAR45:=((3*SMA(VAR44,3,1))-(2*SMA(SMA(VAR44,3,1),3,1)));
VAR46:=IF(CROSS(VAR45,VAR43),H,REF(H,BARSLAST(CROSS(VAR45,VAR43))));
VAR47:=CROSS(C,MA(C,20)) AND H<VAR46 AND O<MA(C,20) AND H<VAR40;
VAR48:=VAR47 AND (SMA(H,21,2)*1.05)-REF((SMA(H,21,2)*1.05),1)>0;
VAR49:=VAR48 AND VAR42-REF(VAR42,1)>0 AND VAR43<63 AND MA(C,20)-REF(MA(C,20),1)>0;
牛浮面:VAR49;





回复

举报

QQ|

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

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