最新更新 - 网站地图 - 手机版
您的当前位置:爱购股票学习网 > 股票公式 > 公式技巧 > 把《箱体指标》出现“送钱来”做选股公式

把《箱体指标》出现“送钱来”做选股公式

来源:网络 点击: 时间:2019-02-14

编写要求:

{NN=900101 1501231 1080918}{小/大/缺省} NN:=1080918; 价格: REF(C,DATE=(NN+1)),NODRAW; 颈线: DRAWLINE(DATE=NN,C,DATE>NN,价格,1),LINETHICK2; EMA13:EMA(C,13),COLORRED,LINETHICK2; EMA34:EMA(C,34),COLORYELLOW,LINETHICK2; EMA55:EMA(C,55),COLORFF00FF,LINETHICK2; EMA120:EMA(C,120),COLORFFCC66,LINETHICK2; PC:=(H+L+C)/3; V5:=MA(VOL,5); V20:=MA(VOL,20); A1:=CROSS(V20,V5); A2:=BARSLAST(A1); C1:=REF(C,A2); DRAWLINE(A1,C,CEMA34 AND EMA34>EMA13; AR2:=BARSLAST((C-EMA13)/EMA13*100<-6); AR3:=EMA13>=REF(EMA13,2); AR4:=COUNT(CROSS(C,EMA13),AR2)=1; AR5:=AR1 AND AR2 AND AR3 AND AR4; AR6:=AR5 AND FILTER(AR5,10); DRAWTEXT(AR6,L-0.09,'红杏出墙'),COLORYELLOW; BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5; BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2; BR3:=C>EMA55 AND (REF(C,1)0.5; CR2:=V>MA(V,5)*0.6; CR3:=COUNT(CROSS(EMA13,EMA55),3)=1; CR4:=ABS(EMA34-EMA55)/EMA55<0.03; CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1); CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2); DR1:=EMA13>EMA34 AND EMA34C AND CEMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1; DR6:=C>REF(C,1) ; DR7:= DR1 AND DR5 AND DR6 ; DR8:=DR7 AND FILTER(DR7 ,10); ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); DRAWTEXT(FR,L-0.09,'梅开二度'),COLORWHITE; GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) ); GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1); GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1); GR4:=H=HHV(H,GR1); GR5:="MACD.MACD"(12,26,9)=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55); {若有十六条限制,你要哪个提示再把它放到大括号外面吧 DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF; DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF; DRAWTEXT(CR6,L-0.09,'红衣侠女'),COLORF00FF0; DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63; DRAWTEXT(ER,L-0.09,'均线互换'),COLOR0099FF;} DRAWTEXT(ER OR (HR2 AND FILTER(HR2,10)) OR (BR4 AND FILTER(BR4,10)) OR CR6 OR DR8,L-0.09,'有信号'),COLOR0099FF; B1:=REF(C,1);B2:=REF(C,2); SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(CREF(C,2) AND REF(C,2)>REF(C,1),2,IF(CREF(CLOSE,1) AND REF(CLOSE,1)>REF(CLOSE,2) AND REF(CLOSE,1)=REF(CLOSE,5)),IF(REF(CLOSE,5)REF(CLOSE,3) AND IF(REF(CLOSE,3)>REF(CLOSE,4),1,IF(REF(CLOSE,4)>REF(CLOSE,5),REF(CLOSE,1)>REF(CLOSE,4) OR (REF(CLOSE,2)>REF(CLOSE,4) AND REF(CLOSE,3)<=REF(CLOSE,5)),IF(REF(CLOSE,5)>REF(CLOSE,6),1,REF(CLOSE,6)>REF(CLOSE,7)))); DRAWICON(AA AND CLOSE>REF(OPEN,2),0.99*LOW,1); DRAWICON(BB AND CLOSEREF(OPEN,2),LOW*0.98,'三平底翻红'),COLORYELLOW; DRAWTEXT(BB AND CLOSE95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1); KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100)); KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100); X1:=EMA(((KS / 10) + EMA(CLOSE,10)),3); AAA:=-100*(X1-CLOSE)/X1; AC:=(EMA(AAA,5) );SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55); MM:=MA(MMV,1);SA:=(MM*0.985);SSS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21)); X2:IF(((SSL>MM)),MM,SA),COLORGREEN,LINETHICK1; Y1:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4)));上开:=O;上收:=C; 上高:=H;上低:=L;JJ:=(上开+上高+上低)/3; A:=EMA(JJ,4);X3:A,COLORWHITE,LINETHICK1; B:=REF(A,1);{STICKLINE(((SSL=REF(MA(上收,20),1); T2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND T1; T3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100; 选手:=MA(上收,2);箱顶:=MA(REF(HHV(上收,30),1),2),COLOR0000FF; 箱底:=MA(REF(LLV(上收,30),1),2),COLOR00FF00; T4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100; T5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100; VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100; VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);MA20:=MA(C,20); MA30:=MA(C,30);QSXS:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1); ZF:=(C/REF(C,1)-1)*100;TDDF:=(L/REF(C,1)-1)*100<=-5 AND (REF(HHV(H,5),1)/L-1)*100>=10; N1:=BARSLAST(CROSS(C,MA(C,5)));N2:=BARSLAST(CROSS(MA(C,5),C)); HM:=IF(N1=0 AND C>O AND QSXS; KX1:=ZF<=-3 AND C=3 AND C>O; JBY:=KX2 AND XDSJ<=2 AND C>=REF(O*0.99,XDSJ) AND ZF>ABS(REF(ZF,XDSJ)*0.99); Z3:=IF(FILTER(JBY,1) AND QSXS,5,0); DRAWTEXT(Z2 AND Z3 ,LOW*0.99,'送钱来'),COLORFF0080; {涨跌停提示} ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF>9.8,O,C,3,0),COLOR0000FF; STICKLINE(ZDF<-9.8,O,C,3,0),COLORFF0000; 请老师把以上公式中出现“送钱来”作为选股条件,谢谢

解答:

?MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;

G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);

标签:

    Copyright 2018- www.igojr.com 爱购股票学习网 版权所有 邮箱:terrylm@qq.com

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top