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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 预祝春节金钻金牌公式二:亮剑选股(逆市亮剑1)


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

以下是预祝春节金钻金牌公式二:亮剑选股(逆市亮剑1)

逆市亮剑1

VAR1:=MA(LOW,24)*1.09;

VAR2:=CROSS(VAR1,OPEN);

VAR3:=MA((LOW+HIGH+CLOSE+OPEN)/4,25)*1.23;

VAR4:=CROSS(VAR3,OPEN);

VAR5:=EMA(LOW,25);

VAR6:=CROSS(CLOSE,VAR5);

VAR7:=REF(COUNT(REF(EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)<1,1) AND EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)>1,11)>=1,3) AND REF(EMA(CLOSE,5)/REF(EMA(CLOSE,5),1)>0.987,1) AND COUNT(OPEN<CLOSE,7)/7>5/10 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.08 OR CLOSE/REF(CLOSE,2)>1.08 AND CLOSE/OPEN>1.038,25)>=1,3) AND COUNT(CLOSE>OPEN,2)=2 AND CLOSE>REF(CLOSE,1) AND (LOW<MA(CLOSE,5) OR REF(LOW<MA(CLOSE,5) AND CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,1) OR (COUNT(LOW>MA(CLOSE,5),3)=3 AND OPEN/MA(CLOSE,5)<1.015)) AND COUNT(REF(CLOSE<REF(CLOSE,1),1) AND CLOSE>OPEN,9)>=2 AND REF(COUNT(CLOSE>OPEN AND HIGH>MA(CLOSE,5) AND CLOSE/REF(CLOSE,1)<1.095,5)>=1,1) AND CLOSE>MA(CLOSE,5);

VAR8:=REF(COUNT(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,5)>=1 AND OPEN>MA(CLOSE,5),3) AND REF(COUNT(HIGH/LOW>1.095 AND CLOSE<HIGH,2)>=1,2) AND REF(CLOSE/REF(CLOSE,1)<0.907 AND LOW/CLOSE>0.996 AND COUNT(HIGH>OPEN,2)>=1 AND COUNT(VOL>REF(VOL,1),3)>=1,1) AND REF(CLOSE,1)/LOW>1.04 AND CLOSE/LOW>1.02;

VAR9:=VAR8 AND OPEN/LOW<1.033 AND VOL<HHV(VOL,3) OR (REF(COUNT(VAR8,2)>=1,3) AND REF(CLOSE/REF(CLOSE,1)<0.911,1) AND OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033) OR (REF(VAR8,4) AND REF(COUNT(CLOSE/REF(CLOSE,1)<0.907,2)>=1,1) AND (REF(CLOSE,1)/LOW>1.086 AND CLOSE/LOW>1.02 OR (OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033)));

VAR10:=VAR9 AND OPEN/LOW<1.033 AND OPEN/CLOSE<1.033 OR (REF(COUNT(VAR9,2)>=1,3) AND REF(CLOSE/REF(CLOSE,1)<0.911 OR (OPEN<REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)<0.95),1) AND OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033 AND OPEN/CLOSE<1.033) OR (REF(VAR8,4) AND REF(COUNT(CLOSE/REF(CLOSE,1)<0.907,2)>=1,1) AND OPEN/CLOSE<1.033 AND (REF(CLOSE,1)/LOW>1.086 AND CLOSE/LOW>1.02 OR (OPEN/REF(CLOSE,1)>0.998 AND OPEN/REF(CLOSE,1)<1.033)));

VAR11:=1000*CLOSE/INDEXC;

VAR12:=1000*OPEN/INDEXO;

VAR13:=1000*LOW/INDEXL;

VAR14:=100*EMA(EMA(CLOSE-REF(CLOSE,1),6),6)/EMA(EMA(ABS(CLOSE-REF(CLOSE,1)),6),6);

VAR15:=LLV(VAR14,2)=LLV(VAR14,7) AND COUNT(VAR14<0,2) AND CROSS(VAR14,MA(VAR14,2));

VAR16:=CLOSE/REF(CLOSE,1)>=1.08 OR CLOSE/OPEN>1.06 AND (VAR15 AND NOT(VAR2) AND NOT(REF(VAR2,4)) AND (NOT(REF(VAR6 AND VAR15,3)) AND NOT(REF(VAR15 AND REF(CLOSE>OPEN,1),3))) OR (REF(VAR15,4) AND CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE AND REF(COUNT(VAR11<VAR12,5)>=1,1) AND REF(VAR11>VAR12,3)) OR (REF(VAR10 OR REF(VAR10,4),1) AND CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE)) AND LOW>REF(LOW,1) AND LOW/MA(CLOSE,5)<1.025;

VAR17:=REF(COUNT(VAR16,3)>=1,2) AND REF(CLOSE>=OPEN AND REF(CLOSE/REF(CLOSE,1)>=1.08 OR CLOSE/OPEN>1.067 AND CLOSE/REF(CLOSE,1)>=1.078,1) AND HIGH/CLOSE>1.025 AND HIGH/CLOSE>OPEN/LOW,1) AND CLOSE>=REF(OPEN,1) AND OPEN/REF(CLOSE,1)<1.03 AND COUNT(LOW/MA(CLOSE,5)<1.027,2)>=1 AND (VAR12/VAR13>REF(VAR12/VAR13,2) OR REF(VAR15,5) AND REF(REF(REF(COUNT(VAR11>VAR12,4)>=1,1) AND VAR11<VAR12,1) OR VAR11>VAR12,7) AND REF(HIGH/1.03<REF(HHV(HIGH,3),1),2) OR (REF(COUNT(VAR11>VAR12,2)=2,7) AND REF(COUNT(VAR11<VAR12,3)>=1,6) AND REF(VAR11<VAR12,4) AND REF(HIGH,2)>REF(HIGH,3)) OR REF(COUNT(VAR11>VAR12,2)=2 AND (REF(VAR11<VAR12,7) OR REF(VAR11>VAR12,2)),3) OR REF(COUNT(VAR11>VAR12,3)=3 AND REF(VAR11>VAR12,6),4) OR (REF(COUNT(VAR11>VAR12,2)=2,1) AND VAR7 AND REF(VAR11>VAR12,6) AND REF(COUNT(VAR11<VAR12,3)>=1,7) AND REF(COUNT(VAR11<VAR12,3)>=2,3))) AND VAR11/VAR12>REF(VAR11/VAR12,1) AND CLOSE/OPEN>REF(CLOSE/OPEN,1) AND (COUNT(VAR11>VAR12,3)=3 OR (COUNT(VAR11>VAR12,3)>=2 AND REF(VAR10,3) AND REF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,2)));

VAR18:=CLOSE/REF(CLOSE,1)>=1.095 AND HIGH=CLOSE AND REF(CLOSE/OPEN<1.05,1) AND (COUNT(VAR7,3)>=1 OR REF(VAR4,1)) AND COUNT(LOW<REF(LOW,1),2)>=1 AND LOW<MA(CLOSE,5) AND NOT(REF(COUNT(CLOSE/REF(CLOSE,1)<0.923,3)>=1,1));

VAR19:=REF(VAR18,2) AND REF(CLOSE<=OPEN AND (HIGH/OPEN>1.043 AND REF(CLOSE>OPEN,4) OR (HIGH/CLOSE>1.089 AND OPEN/CLOSE>1.039 AND HIGH>OPEN AND REF(CLOSE/REF(CLOSE,1)>1.095 AND HIGH=CLOSE,1))),1) AND OPEN/LOW<1.029 AND OPEN/REF(LOW,3)>0.977 AND OPEN/REF(OPEN,2)<1.077 AND CLOSE/REF(CLOSE,1)>0.989 AND OPEN/REF(CLOSE,1)<1 AND COUNT(LOW<MA(CLOSE,5),2)>=1 AND REF(VAR11<VAR12,1) AND COUNT(VAR11>VAR12,3)>=2;

亮剑1:VAR17 OR VAR19,COLORRED;



回复

举报

QQ|

GMT+8, 2024-11-19 00:46

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