ma2降龙
ma2降龙源码:
1.股价高于平均线,视为强势;股价低于平均线,视为弱势
2.平均线向上涨升,具有助涨力道;平均线向下跌降,具有助跌力道;
3.二条以上平均线向上交叉时,买进;
4.二条以上平均线向下交叉时,卖出;
5.移动平均线的信号经常落后股价,若以expma 、vma 辅助,可以改善。
{m1~4是参数,自己填写}
ma1:ma(close,m1);
ma2:ma(close,m2);
ma3:ma(close,m3);
ma4:ma(close,m4);
ma5:ma(close,m5);
ma6:ma(close,m6);
ma7:ma(close,m7);
ma8:ma(close,m8);
ma9:ma(close,m9);
ma10:ma(close,m10);
e10:=expma(c,10),colorred;
zt:=c/ref(c,1)>1.091 and c=h;
a:=barslastcount(zt);
t:=barslast(cross(a=3,0.5));
ll:=ref(l,(t+2));
tj:=c<ll;
aa:=count(tj,t+1)=1 and tj;
ta:=barslast(aa);
lt:=barslast(l=llv(l,ta+1));
tj1:=cross(c,e10);
xg:=count(tj1,lt+1)=1 and tj1 and totalbarscount>200;
stickline(xg,c,o,2,0),coloryellow;
{drawtext(xg,l*0.95,'起轿'),coloryellow;}
var1:=(open+low+high+close)/4;
jj:=(close+high+low)/3;
a1:=ema(jj,10);
b1:=ref(a1,1);
{drawband(a1,rgb(255,0,0),b1,rgb(0,0,255));}
a8:=100*ema(ema(c-ref(c,1),6),6)/ema(ema(abs(c-ref(c,1)),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
卖:=hhv(a8,2)=hhv(a8,15) and count(a8>0,2) and cross(ma(a8,2),a8);
买入:stickline(买,open,close,2.7,0),coloryellow;
stickline(买,o,c,3.1,0),color005555;
stickline(买,o,c,2.6,0),color007777;
stickline(买,o,c,2.1,0),color009999;
stickline(买,o,c,1.6,0),color00bbbb;
stickline(买,o,c,1.0,0),color00dddd;
stickline(买,o,c,0.3,0),color00ffff;
stickline(买,h,l,0.0,0),color00ffff;
卖出:stickline(卖,open,close,2.6,0),colorbrown;
stickline(卖,o,c,3.1,0),colorffffff;
stickline(卖,o,c,2.6,0),color555555;
stickline(卖,o,c,2.1,0),color777777;
stickline(卖,o,c,1.6,0),color999999;
stickline(卖,o,c,1.0,0),colorcccccc;
stickline(卖,o,c,0.3,0),colorccddbb;
{最强音}
zq_1:=ma(close,5);
zq_2:=ma(close,10);
zq_3:=ma(close,60);
zq_4:=ma(close,120);
zq_5:=ref(close,1)<ref(zq_1,1) and open<zq_1 and zq_1>zq_4;{昨天 的收盘价小于5线线,开盘价小于5日线,但五日线在120日线上方}
zq_6:=ref(zq_5,1)=0 and zq_5;{一天上述条件不成立,但今天刚线成立,即5日线上穿120线}
zq_7:=ema(hhv(high,1),8);
zq_8:=ema(close,8);
zq_9:=zq_8<ref(zq_8,1) and close<zq_8;
zq_10:=if(zq_7<ref(zq_7,1) or zq_9,1,0);
zq_11:=(count(zq_10=1,4)=3 and zq_10=0)*89;
zq_12:=vol/((high-low)*2-abs(close-open));
zq_13:=if(close>open,zq_12*(high-low),if(close<open,zq_12*(high-open+close-low),vol/2))+if(close>open,0-zq_12*(high-close+open-low),if(close<open,0-zq_12*(high-low),0-vol/2));
zq_14:=zq_13/20/1.15;
zq_15:=zq_14*0.55+ref(zq_14,1)*0.33+ref(zq_14,2)*0.22;
zq_16:=ema(zq_15,3);
zq_17:=zq_16<100;
zq_18:=count(zq_17,9)<2;
zq_19:=close/ref(close,1)>1.09;
zq_20:=close=high;
zq_21:=ref(zq_19,1) and ref(zq_20,1);
zq_22:=count(zq_21,11)>0;
zq_23:=ma(close,3);
zq_24:=(close-ref(close,1))/ref(close,1)*100;
zq_25:=(high-ref(close,1))/ref(close,1)*100;
zq_26:=ref(hhv(vol,10),1);
zq_27:=ma(close,20);
zq_28:=(zq_23+zq_1)/2;
zq_29:=count(count(zq_24>9.9 and close=high,1)>=1,30)>0;
zq_30:=count(count(zq_24>9.9 and close=high,1)>=1,60)>0;
zq_31:=zq_27>ref(zq_27,1) and vol<zq_26 and zq_29 and zq_25>3 and open<=zq_1 and close>zq_1 and (count(zq_28>ref(zq_28,1),3)>=3 or count(zq_1>ref(zq_1,1),3)>=3) and count(zq_27>ref(zq_27,1) ,25)>=16;
zq_32:=(close-open)/open*100;
zq_33:=zq_30 and vol<1.3*ref(vol,1) and count(zq_32>0.5,6)>=5 and count(zq_23>zq_1,5)>=5 and count(high>ref(high,1),6)>=5 and zq_25>4.5 and open<=zq_23 and close>zq_23 and open>zq_1;
zq_34:=zq_31 or zq_33;
zq_35:=zq_34=1 and count(zq_34,15)=1;
zq_36:=amount/vol/7;
zq_37:=(3*high+low+open+2*close)/7;
zq_38:=sum(amount,10)/zq_36/7;
zq_39:=dma(zq_37,vol/zq_38);
zq_40:=(close-zq_39)/zq_39*100;
zq_41:=-zq_40;
zq_42:=zq_40>zq_41;
zq_43:=cross(zq_40,0.6) and zq_42;
zq_44:=ema(close/ref(close,1),5);
zq_45:=ema(close/ref(close,1),10);
zq_46:=cross(zq_44,zq_45);
zq_47:=zq_43 and zq_46;
zq_48:=zq_47 and zq_35;
zq_49:=count(zq_35,10)>0;
zq_50:=zq_47 and zq_49 and zq_22;
zq_51:=zq_47 and zq_22 and zq_11;
zq_52:=zq_48 and zq_22;
zq_53:=zq_50 or zq_52 or zq_51;
zq_54:=(ema(close,12)-ema(close,26))/ema(close,26)*100;
zq_55:=ema(zq_54,9);
zq_56:=(zq_54-zq_55)*100;
zq_57:=zq_56-ref(zq_56,1);
zq_58:=cross(zq_57,50);
zq_59:=ema(ema(ema(close,12),12),12);
zq_60:=(zq_59-ref(zq_59,1))/ref(zq_59,1)*100;
zq_61:=ma(zq_60,9);
zq_62:=zq_60>zq_61;
zq_63:=close/ref(close,1)>1.09;
zq_64:=close=high;
zq_65:=ref(zq_63,1) and ref(zq_64,1);
zq_66:=count(zq_65,4)>0;
zq_67:=count(zq_65,5)>0;
zq_68:=(3*close+low+open+high)/6;
zq_69:=(20*zq_68+19*ref(zq_68,1)+18*ref(zq_68,2)+17*ref(zq_68,3)+16*ref(zq_68,4)+15*ref(zq_68,5)+14*ref(zq_68,6)+13*ref(zq_68,7)+12*ref(zq_68,8)+11*ref(zq_68,9)+10*ref(zq_68,10)+9*ref(zq_68 ,11)+8*ref(zq_68,12)+7*ref(zq_68,13)+6*ref(zq_68,14)+5*ref(zq_68,15)+4*ref(zq_68,16)+3*ref(zq_68,17)+2*ref(zq_68,18)+ref(zq_68,20))/210;
zq_70:=ma(zq_69,6);
zq_71:=zq_69>zq_70;
zq_72:=close>1.02*ref(close,1);
zq_73:=(close-ref(close,1))/ref(close,1)*100<(-6);
zq_74:=ref(close,1)>(ref(close,barslast(zq_72))+ref(close,barslast(zq_72)+1))/2 and close<(ref(close,barslast(zq_72))+ref(close,barslast(zq_72)+1))/2;
zq_75:=ref(close,1)<(ref(close,barslast(zq_73))+ref(close,barslast(zq_73)+1))/2 and close>(ref(close,barslast(zq_73))+ref(close,barslast(zq_73)+1))/2;
zq_76:=barslast(zq_73)<=7 and zq_72 and zq_75 and count(zq_72,barslast(zq_73))=1 and not(high=low) and ref(not(high=low),barslast(zq_73))=1;
zq_77:=count(zq_76,7)>0;
zq_78:=((close-ref(ma(close,6),1))/6+ma(close,6))*1.004;
zq_79:=cross(close,zq_78) and zq_78>ref(zq_78,1);
zq_80:=((close-ref(ma(close,18),1))/18+ma(close,18))*1.004;
zq_81:=cross(close,zq_80) and zq_80>ref(zq_80,1);
zq_82:=zq_79 and zq_81 and zq_76 and zq_71 and zq_62;
zq_83:=zq_66 and zq_76 and zq_71 and zq_62;
zq_84:=zq_82 or zq_83;
zq_85:=zq_18 and zq_53;
zq_86:=zq_84 or zq_85;
drawicon(zq_86,l,13);
上一指标公式:先锋敢死队发送涨停板敢死队指标下载
下一指标公式:滴蜡复盘减仓逃顶指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文MA2降龙下载仅供学习研究。