xinting_6ym 发表于 2024-5-8 17:00:16

无花果制作的公式《日食不亏》代码……捕捉主升浪的利器……最新的公式代码

<p data-first-child></p><p >以下链接能一键复制最新公式代码</p><p ><a href="https://link.zhihu.com/?target=https%3A//m.weibo.cn/1436408413/4822702592885359" class=" external" target="_blank" rel="nofollow noreferrer"><span class="invisible">https://</span><span class="visible">m.weibo.cn/1436408413/4</span><span class="invisible">822702592885359</span><span class="ellipsis"></span></a></p><p >{日食不亏。副图。修改日期:2022年10月9日。按技术指标安装。无花果陈隽的精品力作。不亏是什么意思?出现过突破性巨量阴线(包括假阴线)的日食形态标记为“食2”,出现过食2信号延时55个交易日的标记为“不亏”。不亏,顾名思义,就是在不亏信号下逢低介入,大概率不会亏损。日食系列专为捕捉主升浪而做,含有涨停大阳线的某种形态就是牛股密码。强势股是日食系列公式研究的方向。指标公式不是万能的,但好的指标公式和条件选股,它给我们的投资提供的参考价值也是不可小视的,大到基本面,小到分笔统计,指标公式是提高效率最有效的工具。现在的量化交易,自动化交易也离不开公式。交易的战法和指标有很多种,弱水三千,只取一瓢,学会一种形态然后去不断的实践,总结再实践,等到你打开任何一副K线图,列出能赚钱的入点,然后从中选择一种比较常见的形态就行了,此时你会明白,交易是如此的简单而又重复}</p><p class="ztext-empty-paragraph"><br/></p><p >换手:=VOL/CAPITAL*100;涨停:=((C>=REF(C,1)*1.0915 AND H=C) OR C>=REF(C,1)*1.155) AND C>=O;</p><p >十字线:=(HIGH<>LOW AND ABS(1000*(C-O)/REF(C,1))<=23 AND H<>C AND L<>C AND H<>O AND L<>O AND H/C>=1.028 AND C/L>=1.028) OR (ABS(1000*((C/O)-1))<=15 AND 1000*((H/L)-1)>=25) OR (ABS(1000*((C/O)-1))<=3 AND 1000*((H/L)-1)>=13) OR (ABS(100*((C/O)-1))<=2 AND 100*((H/L)-1)>=6);</p><p >十字星:=CLOSE=OPEN AND HIGH<>LOW AND H<>C AND H<>O AND L<>C AND L<>O;</p><p >标准十字星:=HIGH<>LOW AND (HIGH-LOW)<(MA((H-L),89)) AND ABS(CLOSE-OPEN)<=0.05 AND H<>C AND L<>C AND H<>O AND L<>O;</p><p >下影线:=MIN(C,O)-L;实体:=ABS(O-C);长下影:=(O<C AND (O-L)>=实体*1.7) OR (O>C AND (C-L)>=实体*1.7) OR (H-MAX(O,C)<(H-L)/5 AND (MIN(C,O)-L)>2*ABS(O-C));</p><p >DTJ:=标准十字星 OR 十字星 OR 十字线;十字:=(长下影 OR DTJ) AND 涨停=0;</p><p >DDN:=(REF(涨停,1) AND 十字 AND O>REF(C,1) AND V>REF(V,1) AND C>REF(C,1)) OR (REF(涨停,1) AND (十字 OR (C>O AND H/C>1.055) OR (O>C AND H/O>1.055)) AND O>REF(C,1) AND V>REF(V,1)*1.13 AND C>REF(C,1)) OR (REF(涨停,1) AND (十字 OR (C>O AND H/C>1.055) OR (O>C AND H/O>1.055)) AND O>REF(C,1)*0.98 AND V>REF(V,1)*1.13 AND C>REF(C,1));</p><p >阴Y线:=(O>C AND C<REF(C,1) AND O/C>=1.02) OR C*1.03<REF(C,1);</p><p >QQ2:=C>1.048*REF(C,1);</p><p >低位十字星:=DTJ AND (REF(阴Y线,1) OR REF(阴Y线,2)) AND (L<MA(C,5) OR C<MA(C,13));</p><p >阳吞阴:=REF(阴Y线,1) AND C>=REF(O,1) AND O*0.99<=REF(C,1) AND C>REF(C,1) AND C>O AND (((REF(C,2)=LLV(C,12) OR REF(L,2)=LLV(L,12) OR REF(L,1)=LLV(L,12) OR L=LLV(L,12) OR REF(C,1)=LLV(C,12))) OR C>=O*1.03) AND REF(MA(C,10),1)<REF(MA(C,10),2);</p><p >RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;</p><p >K1:=SMA(RSV,3,1);</p><p >D1:=SMA(K1,3,1);</p><p >J1:=3*K1-2*D1;</p><p >P:=(HIGH + LOW + CLOSE)/3;</p><p >CCI:=(P-MA(P,13))*100/(1.5*AVEDEV(P,13)),COLORWHITE;</p><p >CCI89:=(P-MA(P,89))*100/(1.5*AVEDEV(P,89));</p><p >均线:=MA(CCI,5);</p><p >早晨之星:=REF(CLOSE,2)<REF(OPEN,2) AND (REF(OPEN,2)-REF(CLOSE,2))>SUM(ABS(CLOSE-OPEN),90)/90 AND ABS(REF(OPEN,1)-REF(CLOSE,1))<(1/4)*SUM(ABS(CLOSE-OPEN),90)/90 AND MIN(REF(OPEN,1),REF(CLOSE,1))<REF(CLOSE,2) AND CLOSE>OPEN AND CLOSE*2>(REF(CLOSE,2)+REF(OPEN,2));</p><p >阴线:=C<REF(C,1);</p><p >SS:=C<REF(C,2)*0.95 AND 阴线 AND REF(阴线,1) ;</p><p >SS8:=C<REF(C,2)*0.92 AND 阴线 AND REF(阴线,1) ;</p><p >DFF:=(REF(SS8,1) OR REF(SS8,2)) AND REF(L,1)<REF(L,2) AND REF(C,1)<REF(C,2)*1.028 AND C>REF(C,1); </p><p >SSS:=C<REF(C,3)*0.92 AND 阴线 AND REF(阴线,1) AND REF(阴线,2);</p><p >TJ2:=J1>REF(J1,1) AND CCI>REF(CCI,1);TJ22:=TJ2 AND REF(CCI,1)<=-100 AND REF(J1,1)<=3;TJ3:=TJ2;TJ4:=CROSS(CCI,-100) AND J1>REF(J1,1);</p><p >DDCD:=REF(L,1)=LLV(L,8) OR L=LLV(L,8) OR REF(C,1)=LLV(C,8) OR C=LLV(C,8);</p><p >CJ:=(CROSS(CCI,-100) OR (CROSS(CCI,均线) AND 均线<=-88)) AND DDCD;</p><p >CJ1:=CROSS(TJ2,0.8) AND COUNT(CCI<=-150,15)/15=1/15 AND DDCD AND REF(CCI,1)<-85 AND REF(J1,1)<15;</p><p >CJ2:=CROSS(TJ2,0.8) AND DDCD AND REF(CCI,1)<-85 AND REF(J1,1)<15;</p><p >CJ3:=CROSS(TJ4,0.8) AND DDCD AND REF(J1,1)<11 AND J1<33;</p><p >CJ4:=CROSS(TJ3,0.8) AND DDCD AND REF(CCI,1)<-83 AND REF(J1,1)<23 AND EMA(C,60)>=REF(EMA(C,60),1) AND REF(EMA(C,60),1)>=REF(EMA(C,60),2) AND REF(EMA(C,60),2)>=REF(EMA(C,60),3) AND REF(C,1)>=REF(EMA(C,60),1) AND REF(C,2)>=REF(EMA(C,60),2) AND C>=EMA(C,60) AND EMA(C,10)>=EMA(C,60) AND EMA(C,30)>=EMA(C,60);</p><p >多9:=(CCI>=均线 AND CCI>=-100) OR CCI>=100;</p><p >CJ5:=CROSS(多9,0.8) AND 均线<=100 AND MA(C,5)>MA(C,20) AND MA(C,10)>MA(C,20) AND MA(C,20)>REF(MA(C,20),1) AND REF(MA(C,20),1)>REF(MA(C,20),2) AND REF(MA(C,20),2)>REF(MA(C,20),3) AND REF(C,1)>=REF(MA(C,20),1) AND REF(C,2)>=REF(MA(C,20),2) AND C>=MA(C,20) AND J1>REF(J1,1) AND DDCD;</p><p >CDDC:=CJ OR CJ1 OR CJ2 OR CJ3 OR CJ4 OR CJ5;</p><p >BYTJ1:=涨停 AND H=HHV(H,21);</p><p >BYTJ2:=V=HHV(V,21);</p><p >BYTJ3:=O>C AND V>=2*REF(V,1) AND O>REF(C,1) AND 换手>=5;</p><p >BYTJ4:=O=L AND C>=REF(C,1);</p><p >食S1:=REF(BYTJ1,1) AND REF(BYTJ2,1)=0 AND BYTJ3,COLORC0C0C0;</p><p >食S2:=(REF(涨停,1) AND O>C AND V=HHV(V,22) AND O>REF(C,1) AND 换手>=5) OR (换手>=5 AND V=HHV(V,22) AND REF(涨停,1) AND C/O<=1.05 AND C>=REF(C,1)),COLORWHITE;</p><p >PFTJ:=C=HHV(C,22) AND C>REF(C,1);</p><p >浮漂:=(COUNT(食S2,22)/22>=1/22 AND ((COUNT(涨停,22)/22>=2/22 AND 涨停) OR CROSS(PFTJ,0.8))) AND REF(涨停,1)=0;</p><p >食S3:=((C>REF(C,1) AND REF(涨停,1) AND O>C AND V=HHV(V,11) AND O>REF(C,1)*1.01) OR (C>REF(C,1) AND REF(C>=REF(C,1)*1.01,1) AND O>C AND V=HHV(V,11) AND O>REF(C,1)*1.01 AND 换手>=5) OR (REF(C>=REF(C,1)*1.055,1) AND O>C AND V=HHV(V,11) AND O>REF(C,1) AND 换手>=5) OR DDN) AND REF(L,2)<REF(MA(C,60),2)*1.066;</p><p >多头排列:=(MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)) OR (MA(C,30)>MA(C,60) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30));</p><p >黑太阳:=((H=HHV(H,55) AND V=HHV(V,55) AND REF(涨停,1) AND 换手>=8.33) OR (V>=HHV(V,11) AND 涨停=0 AND O>REF(C,1)*1.033 AND C>REF(C,1) AND O>C AND 多头排列) OR (涨停=0 AND REF(涨停,1) AND V=HHV(V,22) AND V>REF(V,1) AND C>0.983*REF(C,1) AND O>REF(C,1) AND 多头排列)) AND 换手>=3.33;</p><p >天量阳顶天:=(H=HHV(H,60) AND V=HHV(V,60) AND 涨停=0 AND C>REF(C,1) AND 多头排列) OR (REF(C,1)=REF(HHV(C,23),1) AND REF(V,1)=REF(HHV(V,23),1) AND REF(涨停,1) AND C>0.96*REF(C,1) AND MA(C,5)>MA(C,10) AND O>REF(C,1) AND 换手>=3.33);</p><p >仙人指路:=H=HHV(H,30) AND V=HHV(V,30) AND 涨停=0 AND C>REF(C,1)*0.97 AND REF(涨停,1) AND 十字 AND 多头排列; </p><p >倍量假阴:=REF(换手,2)>3 AND REF(V,2)>2*REF(V,3) AND REF(涨停,2) AND REF(涨停,1) AND O>C AND C>REF(C,1) AND V>REF(V,1);</p><p >日食不亏:=(V=HHV(V,25) AND O>=C AND REF(C,1)>=REF(C,2)*1.045 AND C>=REF(C,1) AND O=HHV(O,25)) OR (V=HHV(V,20) AND O>=C AND REF(涨停,1) AND H=HHV(H,20) AND C>=REF(C,1)*0.932) OR (V=HHV(V,15) AND O>=C AND REF(涨停,1) AND H=HHV(H,15) AND C>=REF(C,1)*0.918) OR (REF(涨停,1) AND 换手>11.33 AND O>C AND V=HHV(V,33));</p><p >BKBK:=COUNT(日食不亏,55)/55>=1/55 AND COUNT(换手>=5.55,55)/55>=1/55;</p><p class="ztext-empty-paragraph"><br/></p><p >日食1:(食S3 OR 食S2 OR 食S1 OR 倍量假阴 OR 仙人指路 OR 黑太阳 OR 天量阳顶天)AND (QQ2 OR REF(QQ2,1)) AND (换手>5 OR REF(换手,1)>5),COLORRED;</p><p class="ztext-empty-paragraph"><br/></p><p >日食2:日食不亏,COLORWHITE;</p><p class="ztext-empty-paragraph"><br/></p><p >QQ11:=(CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND ((换手>3 AND H=HHV(H,23) AND V=HHV(V,23)) OR (日食1 OR 日食2)) AND MA(C,120)>MA(C,60) AND (QQ2 OR REF(QQ2,1));</p><p >QQ111:=(CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND H=HHV(H,68) AND V=HHV(V,68) AND MA(C,120)>MA(C,60) AND 换手>0.98;</p><p >QQ1111:=((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND COUNT(涨停,15)/15>=1/15 AND MA(C,120)>=MA(C,60)) OR ((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H*1.01,MA(C,120))) AND COUNT(涨停,3)/3>=1/3 AND MA(C,120)>=MA(C,60)) OR ((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND COUNT(C>REF(C,1)*1.04,4)/4>=1/4 AND MA(C,120)>=MA(C,60) AND COUNT(V=HHV(V,11),4)/4>=1/4 AND C>O AND C>REF(C,1)*1.011 AND 换手>2);</p><p >虎虎:=(CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND MA(C,120)>MA(C,60)*1.06 AND C>REF(C,1)*1.006 AND 换手>0.6;</p><p >突1:=CROSS(C,MA(C,30));</p><p >突2:=CROSS(C,MA(C,60));</p><p >突3:=CROSS(C,MA(C,250));</p><p >突突突:=突1 OR REF(突1,1) OR 突2 OR REF(突2,1) OR 突3 OR REF(突3,1);</p><p >QQ1:=((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND ((H=HHV(H,11) AND V=HHV(V,11)) OR (C=HHV(C,11) AND V=HHV(V,11))) AND MA(C,120)>MA(C,60) AND 换手>3) OR QQ11 OR QQ111 OR QQ1111 OR 虎虎 OR 突突突;</p><p >敲山震虎:=V=HHV(V,5) AND CROSS(C,MA(C,120)) AND MA(C,120)>MA(C,60) AND COUNT(QQ1,60)/60>=2/60;</p><p >日食3:QQ1 AND REF(涨停,1) AND (日食2 OR 日食1),COLORYELLOW;</p><p class="ztext-empty-paragraph"><br/></p><p >RSS:=(日食1 OR 日食3) AND (QQ2 OR REF(QQ2,1)) AND (换手>5 OR REF(换手,1)>5);</p><p >GZ:=COUNT(RSS,55)/55>=1/55;</p><p >SSH:=GZ AND COUNT(涨停,11)/11>=1/11 AND COUNT(换手>=11,11)/11>=1/11;</p><p >SHH:=GZ AND COUNT(涨停,9)/9>=1/9 AND COUNT(换手>=9,9)/9>=1/9;</p><p >突破:=(COUNT(RSS,22)/22>=1/22 AND ((COUNT(涨停,22)/22>=2/22 AND 涨停) OR CROSS(PFTJ,0.8))) AND REF(涨停,1)=0;</p><p >DTJJ:=REF(J1,1)<3 AND REF(CCI,1)<-98 AND CCI>REF(CCI,1) AND J1>REF(J1,1);</p><p >C13:=(P-MA(P,13))*100/(1.5*AVEDEV(P,13));LC:=REF(C,1);</p><p >R5:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*100;</p><p >FF:=COUNT(C13<-270,7)/7>=1/7 AND C13>-170;</p><p >PX1:=(R5<68 AND C13<83 AND R5<=REF(R5,1) AND C13>REF(C13,1)) OR (R5<58 AND C13<63 AND R5>REF(R5,1) AND C13<REF(C13,1));</p><p >PX2:=C13<-33 AND R5<0.88*REF(R5,3) AND R5<REF(R5,1) AND R5<25 AND (FF OR C13>1.088*REF(C13,3));</p><p >PX3:=(R5/REF(R5,1)-1)*100>(C13/REF(C13,1)-1)*100 AND REF(R5,1)<=17 AND CROSS(R5,REF(R5,1)) AND CROSS(C13,REF(C13,1)) AND H>MA(C,250);</p><p >新背:=PX1 OR PX2 OR PX3;</p><p >R6:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;</p><p >XG18:=C13<31 AND 新背 AND (MA(C,5)>MA(C,10) OR MA(C,10)>MA(C,20));</p><p >XG28:=C13<13 AND 新背 AND REF(R5,1)<REF(R5,2) AND (C13>1.088*REF(C13,3) OR CROSS(C13,REF(C13,1)) OR REF(C13,1)>REF(C13,2));</p><p >抄底:=C<=1.006*REF(C,1) AND ((新背 AND ((R5<=25 AND ((R5<REF(R5,1) AND C13>REF(C13,1) AND C<REF(C,1)) OR CROSS(C13,REF(C13,1)) OR C13>1.088*REF(C13,3) OR FF)) OR (CDDC AND R6<28.88 AND REF(C13,1)<-88.88))) OR (R5<=16 AND R6<=18 AND C13<=-181));</p><p >变轨:=新背 AND R6<=20 AND (CROSS(C13,REF(C13,1)) OR C13>1.088*REF(C13,3) OR FF);</p><p >TTT:=(((SSH OR SHH OR BKBK) AND (阳吞阴 OR CDDC OR 抄底 OR 低位十字星 OR 变轨)) OR (BYTJ4 AND REF(日食1,1)) OR (CROSS(C,MA(C,120)) AND REF(敲山震虎,1))) AND (REF(新背,1) OR 新背);</p><p >DCD:=((BKBK OR SSH OR SHH) AND (CROSS(DTJJ,0.8) OR (CDDC AND R5<35) OR 抄底 OR 低位十字星 OR 变轨)) AND C<1.005*REF(C,1) AND (REF(新背,1) OR 新背) AND R5<=55;</p><p >JCC:=突破 OR 浮漂;</p><p >MDD:=((BKBK AND (CDDC OR 新背 OR 早晨之星 OR 阳吞阴)) OR JCC) AND TTT=0 AND DCD=0;</p><p class="ztext-empty-paragraph"><br/></p><p >低:DCD*0.5,COLOR00FF00;{相对低点}</p><p >优:TTT*0.4,COLORFF00FF;{优质买点}</p><p >买:MDD*0.3,COLOR0080FF;{普通买点}</p><p class="ztext-empty-paragraph"><br/></p><p >日食:GZ,COLORRED,POINTDOT,LINETHICK1;</p><p >不亏:BKBK,COLORWHITE,POINTDOT,LINETHICK1;</p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p >{日食不亏。副图。版本:6.0。修改日期:20221001。按技术指标安装。无花果陈隽的精品力作。不亏是什么意思?出现过突破性巨量阴线(包括假阴线)的日食形态标记为“食2”,出现过食2信号延时55个交易日的标记为“不亏”。不亏,顾名思义,就是在不亏信号下逢低介入,大概率不会亏损。此公式中易于操作的是“日食+敲山震虎”,标记为“食3”。敲山震虎形态:放量拉升至半年线遇阻,120日均线大于60日均线。回调不破60日均线,调整小于60个交易,再次放量突破半年线,出现主升浪。用日食不亏~虎虎生威信号可以把23个交易日内的符合要求的股票选出来,配合低位筹码密集,效果更好}</p><p >换手:=VOL/CAPITAL*100;涨停:=((C>=REF(C,1)*1.0915 AND H=C) OR C>=REF(C,1)*1.155) AND C>=O;</p><p >十字线:=(HIGH<>LOW AND ABS(1000*(C-O)/REF(C,1))<=23 AND H<>C AND L<>C AND H<>O AND L<>O AND H/C>=1.028 AND C/L>=1.028) OR (ABS(1000*((C/O)-1))<=15 AND 1000*((H/L)-1)>=25) OR (ABS(1000*((C/O)-1))<=3 AND 1000*((H/L)-1)>=13) OR (ABS(100*((C/O)-1))<=2 AND 100*((H/L)-1)>=6);</p><p >十字星:=CLOSE=OPEN AND HIGH<>LOW AND H<>C AND H<>O AND L<>C AND L<>O;</p><p >标准十字星:=HIGH<>LOW AND (HIGH-LOW)<(MA((H-L),89)) AND ABS(CLOSE-OPEN)<=0.05 AND H<>C AND L<>C AND H<>O AND L<>O;</p><p >下影线:=MIN(C,O)-L;实体:=ABS(O-C);长下影:=(O<C AND (O-L)>=实体*1.7) OR (O>C AND (C-L)>=实体*1.7) OR (H-MAX(O,C)<(H-L)/5 AND (MIN(C,O)-L)>2*ABS(O-C));</p><p >DTJ:=标准十字星 OR 十字星 OR 十字线;十字:=(长下影 OR DTJ) AND 涨停=0;</p><p >DDN:=(REF(涨停,1) AND 十字 AND O>REF(C,1) AND V>REF(V,1) AND C>REF(C,1)) OR (REF(涨停,1) AND (十字 OR (C>O AND H/C>1.055) OR (O>C AND H/O>1.055)) AND O>REF(C,1) AND V>REF(V,1)*1.13 AND C>REF(C,1)) OR (REF(涨停,1) AND (十字 OR (C>O AND H/C>1.055) OR (O>C AND H/O>1.055)) AND O>REF(C,1)*0.98 AND V>REF(V,1)*1.13 AND C>REF(C,1));</p><p >阴Y线:=(O>C AND C<REF(C,1) AND O/C>=1.02) OR C*1.03<REF(C,1);</p><p >QQ2:=C>1.048*REF(C,1);</p><p >低位十字星:=DTJ AND (REF(阴Y线,1) OR REF(阴Y线,2)) AND (L<MA(C,5) OR C<MA(C,13));</p><p >阳吞阴:=REF(阴Y线,1) AND C>=REF(O,1) AND O*0.99<=REF(C,1) AND C>REF(C,1) AND C>O AND (((REF(C,2)=LLV(C,12) OR REF(L,2)=LLV(L,12) OR REF(L,1)=LLV(L,12) OR L=LLV(L,12) OR REF(C,1)=LLV(C,12))) OR C>=O*1.03) AND REF(MA(C,10),1)<REF(MA(C,10),2);</p><p >RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;</p><p >K1:=SMA(RSV,3,1);</p><p >D1:=SMA(K1,3,1);</p><p >J1:=3*K1-2*D1;</p><p >P:=(HIGH + LOW + CLOSE)/3;</p><p >CCI:=(P-MA(P,13))*100/(1.5*AVEDEV(P,13)),COLORWHITE;</p><p >CCI89:=(P-MA(P,89))*100/(1.5*AVEDEV(P,89));</p><p >均线:=MA(CCI,5);</p><p >早晨之星:=REF(CLOSE,2)<REF(OPEN,2) AND (REF(OPEN,2)-REF(CLOSE,2))>SUM(ABS(CLOSE-OPEN),90)/90 AND ABS(REF(OPEN,1)-REF(CLOSE,1))<(1/4)*SUM(ABS(CLOSE-OPEN),90)/90 AND MIN(REF(OPEN,1),REF(CLOSE,1))<REF(CLOSE,2) AND CLOSE>OPEN AND CLOSE*2>(REF(CLOSE,2)+REF(OPEN,2));</p><p >阴线:=C<REF(C,1);</p><p >SS:=C<REF(C,2)*0.95 AND 阴线 AND REF(阴线,1) ;</p><p >SS8:=C<REF(C,2)*0.92 AND 阴线 AND REF(阴线,1) ;</p><p >DFF:=(REF(SS8,1) OR REF(SS8,2)) AND REF(L,1)<REF(L,2) AND REF(C,1)<REF(C,2)*1.028 AND C>REF(C,1); </p><p >SSS:=C<REF(C,3)*0.92 AND 阴线 AND REF(阴线,1) AND REF(阴线,2);</p><p >TJ2:=J1>REF(J1,1) AND CCI>REF(CCI,1);TJ22:=TJ2 AND REF(CCI,1)<=-100 AND REF(J1,1)<=3;TJ3:=TJ2;TJ4:=CROSS(CCI,-100) AND J1>REF(J1,1);</p><p >DDCD:=REF(L,1)=LLV(L,8) OR L=LLV(L,8) OR REF(C,1)=LLV(C,8) OR C=LLV(C,8);</p><p >CJ:=(CROSS(CCI,-100) OR (CROSS(CCI,均线) AND 均线<=-88)) AND DDCD;</p><p >CJ1:=CROSS(TJ2,0.8) AND COUNT(CCI<=-150,15)/15=1/15 AND DDCD AND REF(CCI,1)<-85 AND REF(J1,1)<15;</p><p >CJ2:=CROSS(TJ2,0.8) AND DDCD AND REF(CCI,1)<-85 AND REF(J1,1)<15;</p><p >CJ3:=CROSS(TJ4,0.8) AND DDCD AND REF(J1,1)<11 AND J1<33;</p><p >CJ4:=CROSS(TJ3,0.8) AND DDCD AND REF(CCI,1)<-83 AND REF(J1,1)<23 AND EMA(C,60)>=REF(EMA(C,60),1) AND REF(EMA(C,60),1)>=REF(EMA(C,60),2) AND REF(EMA(C,60),2)>=REF(EMA(C,60),3) AND REF(C,1)>=REF(EMA(C,60),1) AND REF(C,2)>=REF(EMA(C,60),2) AND C>=EMA(C,60) AND EMA(C,10)>=EMA(C,60) AND EMA(C,30)>=EMA(C,60);</p><p >多9:=(CCI>=均线 AND CCI>=-100) OR CCI>=100;</p><p >CJ5:=CROSS(多9,0.8) AND 均线<=100 AND MA(C,5)>MA(C,20) AND MA(C,10)>MA(C,20) AND MA(C,20)>REF(MA(C,20),1) AND REF(MA(C,20),1)>REF(MA(C,20),2) AND REF(MA(C,20),2)>REF(MA(C,20),3) AND REF(C,1)>=REF(MA(C,20),1) AND REF(C,2)>=REF(MA(C,20),2) AND C>=MA(C,20) AND J1>REF(J1,1) AND DDCD;</p><p >CDDC:=CJ OR CJ1 OR CJ2 OR CJ3 OR CJ4 OR CJ5;</p><p >BYTJ1:=涨停 AND H=HHV(H,21);</p><p >BYTJ2:=V=HHV(V,21);</p><p >BYTJ3:=O>C AND V>=2*REF(V,1) AND O>REF(C,1) AND 换手>=5;</p><p >BYTJ4:=O=L AND C>=REF(C,1);</p><p >食S1:=REF(BYTJ1,1) AND REF(BYTJ2,1)=0 AND BYTJ3,COLORC0C0C0;</p><p >食S2:=(REF(涨停,1) AND O>C AND V=HHV(V,22) AND O>REF(C,1) AND 换手>=5) OR (换手>=5 AND V=HHV(V,22) AND REF(涨停,1) AND C/O<=1.05 AND C>=REF(C,1)),COLORWHITE;</p><p >PFTJ:=C=HHV(C,22) AND C>REF(C,1);</p><p >浮漂:=(COUNT(食S2,22)/22>=1/22 AND ((COUNT(涨停,22)/22>=2/22 AND 涨停) OR CROSS(PFTJ,0.8))) AND REF(涨停,1)=0;</p><p >食S3:=((C>REF(C,1) AND REF(涨停,1) AND O>C AND V=HHV(V,11) AND O>REF(C,1)*1.01) OR (C>REF(C,1) AND REF(C>=REF(C,1)*1.01,1) AND O>C AND V=HHV(V,11) AND O>REF(C,1)*1.01 AND 换手>=5) OR (REF(C>=REF(C,1)*1.055,1) AND O>C AND V=HHV(V,11) AND O>REF(C,1) AND 换手>=5) OR DDN) AND REF(L,2)<REF(MA(C,60),2)*1.066;</p><p >多头排列:=(MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)) OR (MA(C,30)>MA(C,60) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30));</p><p >黑太阳:=((H=HHV(H,55) AND V=HHV(V,55) AND REF(涨停,1) AND 换手>=8.33) OR (V>=HHV(V,11) AND 涨停=0 AND O>REF(C,1)*1.033 AND C>REF(C,1) AND O>C AND 多头排列) OR (涨停=0 AND REF(涨停,1) AND V=HHV(V,22) AND V>REF(V,1) AND C>0.983*REF(C,1) AND O>REF(C,1) AND 多头排列)) AND 换手>=3.33;</p><p >天量阳顶天:=(H=HHV(H,60) AND V=HHV(V,60) AND 涨停=0 AND C>REF(C,1) AND 多头排列) OR (REF(C,1)=REF(HHV(C,23),1) AND REF(V,1)=REF(HHV(V,23),1) AND REF(涨停,1) AND C>0.96*REF(C,1) AND MA(C,5)>MA(C,10) AND O>REF(C,1) AND 换手>=3.33);</p><p >仙人指路:=H=HHV(H,30) AND V=HHV(V,30) AND 涨停=0 AND C>REF(C,1)*0.97 AND REF(涨停,1) AND 十字 AND 多头排列; </p><p >倍量假阴:=REF(换手,2)>3 AND REF(V,2)>2*REF(V,3) AND REF(涨停,2) AND REF(涨停,1) AND O>C AND C>REF(C,1) AND V>REF(V,1);</p><p >日食不亏:=(V=HHV(V,25) AND O>=C AND REF(C,1)>=REF(C,2)*1.045 AND C>=REF(C,1) AND O=HHV(O,25)) OR (V=HHV(V,20) AND O>=C AND REF(涨停,1) AND H=HHV(H,20) AND C>=REF(C,1)*0.932) OR (V=HHV(V,15) AND O>=C AND REF(涨停,1) AND H=HHV(H,15) AND C>=REF(C,1)*0.918) OR (REF(涨停,1) AND 换手>11.33 AND O>C AND V=HHV(V,33));</p><p >BKBK:=COUNT(日食不亏,55)/55>=1/55 AND COUNT(换手>=5.55,55)/55>=1/55;</p><p >食1:(食S3 OR 食S2 OR 食S1 OR 倍量假阴 OR 仙人指路 OR 黑太阳 OR 天量阳顶天)AND (QQ2 OR REF(QQ2,1)) AND (换手>5 OR REF(换手,1)>5),COLORRED;</p><p >食2:日食不亏,COLORWHITE;</p><p >QQ11:=(CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND ((换手>3 AND H=HHV(H,23) AND V=HHV(V,23)) OR (食1 OR 食2)) AND MA(C,120)>MA(C,60) AND (QQ2 OR REF(QQ2,1));</p><p >QQ111:=(CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND H=HHV(H,68) AND V=HHV(V,68) AND MA(C,120)>MA(C,60) AND 换手>0.98;</p><p >QQ1111:=((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND COUNT(涨停,15)/15>=1/15 AND MA(C,120)>=MA(C,60)) OR ((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H*1.01,MA(C,120))) AND COUNT(涨停,3)/3>=1/3 AND MA(C,120)>=MA(C,60)) OR ((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND COUNT(C>REF(C,1)*1.04,4)/4>=1/4 AND MA(C,120)>=MA(C,60) AND COUNT(V=HHV(V,11),4)/4>=1/4 AND C>O AND C>REF(C,1)*1.011 AND 换手>2);</p><p >虎虎:=(CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND MA(C,120)>MA(C,60)*1.06 AND C>REF(C,1)*1.006 AND 换手>0.6;</p><p >QQ1:=((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND ((H=HHV(H,11) AND V=HHV(V,11)) OR (C=HHV(C,11) AND V=HHV(V,11))) AND MA(C,120)>MA(C,60) AND 换手>3) OR QQ11 OR QQ111 OR QQ1111 OR 虎虎;</p><p >敲山震虎:=V=HHV(V,5) AND CROSS(C,MA(C,120)) AND MA(C,120)>MA(C,60) AND COUNT(QQ1,60)/60>=2/60;</p><p >食3:QQ1 AND (涨停 OR (REF(涨停,1) AND (食2 OR 食1))),COLORYELLOW;{敲山震虎形态:放量拉升至半年线遇阻,120均线大于六十日均线。回调不破60日均线,调整小于60个交易。再次放量突破半年线}</p><p >RSS:=食1 AND (QQ2 OR REF(QQ2,1)) AND (换手>5 OR REF(换手,1)>5);</p><p >GZ:=COUNT(RSS,55)/55>=1/55;</p><p >SSH:=GZ AND COUNT(涨停,11)/11>=1/11 AND COUNT(换手>=11,11)/11>=1/11;</p><p >SHH:=GZ AND COUNT(涨停,9)/9>=1/9 AND COUNT(换手>=9,9)/9>=1/9;</p><p >突破:=(COUNT(RSS,22)/22>=1/22 AND ((COUNT(涨停,22)/22>=2/22 AND 涨停) OR CROSS(PFTJ,0.8))) AND REF(涨停,1)=0;</p><p >DTJJ:=REF(J1,1)<3 AND REF(CCI,1)<-98 AND CCI>REF(CCI,1) AND J1>REF(J1,1);</p><p >C13:=(P-MA(P,13))*100/(1.5*AVEDEV(P,13));LC:=REF(C,1);</p><p >R5:=SMA(MAX(C-LC,0),5,1)/SMA(ABS(C-LC),5,1)*100;</p><p >FF:=COUNT(C13<-270,7)/7>=1/7 AND C13>-170;</p><p >PX1:=(R5<68 AND C13<83 AND R5<=REF(R5,1) AND C13>REF(C13,1)) OR (R5<58 AND C13<63 AND R5>REF(R5,1) AND C13<REF(C13,1));</p><p >PX2:=C13<-33 AND R5<0.88*REF(R5,3) AND R5<REF(R5,1) AND R5<25 AND (FF OR C13>1.088*REF(C13,3));</p><p >PX3:=(R5/REF(R5,1)-1)*100>(C13/REF(C13,1)-1)*100 AND REF(R5,1)<=17 AND CROSS(R5,REF(R5,1)) AND CROSS(C13,REF(C13,1)) AND H>MA(C,250);</p><p >新背:=PX1 OR PX2 OR PX3;</p><p >R6:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;</p><p >XG18:=C13<31 AND 新背 AND (MA(C,5)>MA(C,10) OR MA(C,10)>MA(C,20));</p><p >XG28:=C13<13 AND 新背 AND REF(R5,1)<REF(R5,2) AND (C13>1.088*REF(C13,3) OR CROSS(C13,REF(C13,1)) OR REF(C13,1)>REF(C13,2));</p><p >抄底:=C<=1.006*REF(C,1) AND ((新背 AND ((R5<=25 AND ((R5<REF(R5,1) AND C13>REF(C13,1) AND C<REF(C,1)) OR CROSS(C13,REF(C13,1)) OR C13>1.088*REF(C13,3) OR FF)) OR (CDDC AND R6<28.88 AND REF(C13,1)<-88.88))) OR (R5<=16 AND R6<=18 AND C13<=-181));</p><p >变轨:=新背 AND R6<=20 AND (CROSS(C13,REF(C13,1)) OR C13>1.088*REF(C13,3) OR FF);</p><p >TTT:=(((SSH OR SHH OR BKBK) AND (阳吞阴 OR CDDC OR 抄底 OR 低位十字星 OR 变轨)) OR (BYTJ4 AND REF(食1,1)) OR (CROSS(C,MA(C,120)) AND REF(敲山震虎,1))) AND (REF(新背,1) OR 新背);</p><p >DCD:=((BKBK OR SSH OR SHH) AND (CROSS(DTJJ,0.8) OR (CDDC AND R5<35) OR 抄底 OR 低位十字星 OR 变轨)) AND C<1.005*REF(C,1) AND (REF(新背,1) OR 新背) AND R5<=55;</p><p >JCC:=突破 OR 浮漂;</p><p >MDD:=((BKBK AND (CDDC OR 新背 OR 早晨之星 OR 阳吞阴)) OR JCC) AND TTT=0 AND DCD=0;</p><p >UP:=COUNT(涨停,3)=3;三月:=COUNT(涨停,66)/66>=1/66;</p><p >两板定龙头:=UP=0 AND 涨停 AND REF(涨停,1) AND REF(C,2)*0.88<=REF(EMA(C,60),2) AND REF(CROSS(三月,0.8),1);</p><p >头池:=COUNT(两板定龙头,5)/5>=1/5;</p><p >星火:=REF(十字,1) AND 涨停 AND V>=REF(V,1)*1.03 AND REF(C,1)<1.066*REF(EMA(C,60),1);</p><p >红阳:=(COUNT(涨停,33)/33=2/33 AND 涨停 AND V*1.11<=HHV(V,33) AND REF(C,1)*0.88<=REF(EMA(C,60),1)) OR 星火;</p><p >红池:=COUNT(红阳,15)/15>=1/15;</p><p >标准换手:=(((((VOL/CAPITAL*10000>=8 OR MA(VOL/CAPITAL*100,3)>=2.3 OR REF(VOL/CAPITAL*100,1)>=2.4) AND (MA(V,3)>=MA(V,40) OR MA(V,5)>=MA(V,25))))) OR VOL/CAPITAL*1000>=1.11 OR REF(VOL/CAPITAL*100,1)>=3) AND VOL/CAPITAL<=43;</p><p >TT:=COUNT(涨停,7)/7>=1/7 AND COUNT(换手>=7,7)/7>=1/7;</p><p >大池:=(头池 OR 红池 OR BKBK) AND TT; </p><p >小池:=REF(R5,1)<55 AND GZ AND (REF(低位十字星,1) OR REF(抄底,1));</p><p >低:DCD*0.5,COLOR00FF00;{相对低点}</p><p >优:TTT*0.4,COLORFF00FF;{优质买点}</p><p >快选KX:=标准换手 AND C>=1.015*REF(C,1) AND C<1.051*REF(C,1) AND (大池 OR 小池);</p><p >快选:=快选KX*0.6,COLORRED;{快选是盘前快选,一二三四五,上山寻老虎……9:25集合竞价结束后,用电脑选股,把选股结果用量比或换手率从大到小排列,结合形态和热点选出几只股票}</p><p >红:=标准换手 AND C>=1.06*REF(C,1) AND (大池 OR 小池) AND O>=1.015*REF(C,1) AND O<1.051*REF(C,1);</p><p >ZZZ:=(头池 OR 红池 OR BKBK) AND C>=1.058*REF(C,1) AND C>O AND C<=1.088*REF(C,1);</p><p >逐日:=ZZZ*0.6,COLOR0080FF;{追涨}</p><p >买:MDD*0.3,COLOR0080FF;{普通买点}</p><p >红榜:=红*0.6,COLORRED;{符合“快选”标准,收盘涨幅在6%以上的股票}</p><p >JB:=(头池 OR 红池 OR BKBK) AND C>O AND 涨停 AND L<=1.078*REF(C,1);</p><p >金榜:=JB,POINTDOT,COLORYELLOW;{符合“逐日”标准,收盘涨停的股票。}</p><p >RSRS:=RSS OR 食3;</p><p >关注:GZ,COLORRED,POINTDOT,LINETHICK1;</p><p >不亏:BKBK,COLORWHITE,POINTDOT,LINETHICK1;</p><p >虎虎生威:((MA(C,120)>MA(C,60) AND C>MA(C,60)*0.9) OR C<MA(C,120)*1.1) AND COUNT(食3,23)/23>=1/23,COLORYELLOW,POINTDOT,LINETHICK1;</p>
页: [1]
查看完整版本: 无花果制作的公式《日食不亏》代码……捕捉主升浪的利器……最新的公式代码