MA13:MA(C,13),COLORYELLOW; MA21:MA(C,21),POINTDOT,COLORGREEN; MA34:MA(C,34),COLORWHITE; MA55:MA(C,55),COLORFF00FF; MA89:MA(C,89),COLORFFCC66; EMA13:=EMA(C,13); EMA34:=EMA(C,34); EMA55:=EMA(C,55); AA1:=EMA55>EMA34 AND EMA34>MA13; AA2:=MA13>O; AA3:=EMA13>=REF(EMA13,1); AA4:=CROSS(C,MA13); 红杏:=AA1 AND AA2 AND AA3 AND AA4; DRAWTEXT(红杏,L*0.98,'红杏'),COLORGREEN; BA1:=MA13>MA55; BA2:=COUNT(C>=O,5)=5; BA3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5; BA4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5; BA5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5; BA6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BA7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5)); BA8:= (C-MA13)/MA13*100<12; BA:=BA1 AND BA2 AND BA3 AND BA4 AND BA5 AND BA6 AND BA7 AND BA8 AND REF(C,5)-REF(O,5)<0; BB1:=MA13<MA55 AND MA34<MA55 AND C>MA55; BB2:=COUNT(C>=O,5)=5; BB3:=COUNT((C-REF(C,1))/REF(C,1)*100<5,5)=5; BB4:=COUNT(BETWEEN((O-REF(C,1))/REF(C,1)*100,-2,2),5)=5; BB5:=COUNT(((H-C)/(C-O)*100<2 OR (H-C)/C*100<3),5)=5; BB6:=COUNT(((O-L)/(C-O)*100<2 OR (O-L)/O*100<3),5)=5; BB7:=(V>REF(V,1) AND REF(V,1)>REF(V,2)) OR (REF(V,1)>REF(V,2) AND REF(V,3)) OR (REF(V,2)>REF(V,3) AND REF(V,3)>REF(V,4)) OR (REF(V,3)>REF(V,4) AND REF(V,4)>REF(V,5)); BB:=BB1 AND BB2 AND BB3 AND BB4 AND BB5 AND BB6 AND BB7 AND REF(C,5)-REF(O,5)<0; 蚂蚁:=BA OR BB; DRAWTEXT(蚂蚁,H*1.06,'蚂蚁'),COLORYELLOW; CA1:=O<MA13 AND O<MA34 AND O<MA55; CA2:=C>MA13 AND C>MA34 AND C>MA55; CA3:=(C-REF(CLOSE,1))/REF(CLOSE,1)*100 > 5; 一阳穿:=CA1 AND CA2 AND CA3; DRAWTEXT(一阳穿,H*1.03,'一阳穿'),COLORYELLOW; DA1:=MA13>MA55; DA2:=C>MA13; DA3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND (C-O)/O*100>6); DA4:=(C-MA13)/MA13*100 < 12; DA5:=(O-MA13)/MA13*100 < 3; DA6:=(O-MA13)/MA13*100 > -3; DA7:=(O-MA55)/MA55*100 < 12; DA8:=(MA13-MA55)/MA55*100 < 12; DA:=DA1 AND DA2 AND DA3 AND DA4 AND DA5 AND DA6 AND DA7 AND DA8; DB1:=MA13<MA55 AND MA34<MA55; DB2:=O>MA13 AND O>MA34 AND C>MA55; DB3:=(O<=REF(C,1) AND (C-REF(C,1))/REF(C,1)*100>6) OR (O>REF(C,1) AND (C-O)/O*100>6); DB4:=(O-MA55)/MA55*100 < 3; DB5:=(O-MA55)/MA55*100 > -3; DB:=DB1 AND DB2 AND DB3 AND DB4 AND DB5; 揭竿起:=DA OR DB; DRAWTEXT(揭竿起,H*1.03,'揭竿起'),COLORYELLOW; FA1:=MA34<MA55 AND C>MA13 AND C>MA55; FA2:=CROSS(MA13,MA55) AND C>O; FA3:=(O-MA13)/MA13*100<5; FA4:=(H-C)/(C-O)*100<2 OR (H-C)/C*100<3; FA5:=(O-L)/(C-O)*100<2 OR (O-L)/O*100<3; FA6:=V>REF(V,1) OR V>MA(V,5) OR (MA(V,5)>MA(V,10) AND V>MA(V,10)); FA:=FA1 AND FA2 AND FA3 AND FA4 AND FA5 AND FA6; FB1:=MA34<MA55 AND C>MA13 AND C>MA55; FB2:=CROSS(MA13,MA55) AND C<=O; FB3:=(C-MA13)/MA13*100<5; FB4:=(H-O)/(O-C)*100<2 OR (H-O)/C*100<3; FB5:=(C-L)/(O-C)*100<2 OR (C-L)/O*100<3; FB6:=V<REF(V,1) OR V<MA(V,5) OR (MA(V,5)>MA(V,10) AND V<MA(V,10)); FB:=FB1 AND FB2 AND FB3 AND FB4 AND FB5 AND FB6; 红黑色客:=FA OR FB; DRAWTEXT(红黑色客,H*1.02,'红黑色客'),COLORFF00FF; GA1:=MA13>MA55 AND MA34>MA55; GA2:=CROSS(MA13,MA34); GA3:=C>MA13 AND C>MA34; GA4:=(C-MA13)/MA13*100<12; GA5:=MA(V,5)>MA(V,21); 梅二开:=GA1 AND GA2 AND GA3 AND GA4 AND GA5; DRAWTEXT(梅二开,MA34*0.98,'梅二开'),COLORWHITE; GB1:=MA13>MA34 AND MA13>MA55 AND C>MA55; GB2:=CROSS(MA34,MA55); GB3:=(C-MA13)/MA13*100<12 AND (MA13-MA55)/MA55*100<10; GB:=GB1 AND GB2 AND GB3; DRAWTEXT(GB,MA55*0.95,'均线互换'),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("MACD.MACD"(12,26,9),1); GR6:=GR2 AND GR3 AND GR4; GR7:=GR2 AND GR3 AND GR4 AND GR5; DRAWTEXT(GR6 AND GR7,H+0.13,'见好收'),COLOR00FF00; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!