智能四色谱主图指标公式
ma1:=ema(c,12); ma2:=ema(c,50); ma3:=ema(c,34); ma4:=ema(c,7); ma5:=ema(c,20); ma6:=ema(c,10); diff:=ema(close,30)-ema(close,120); dea:=ema(diff,9);{股票公式网www.goodgongshi.com} drawtext_fix(1,0.00,0,0,'所属行业:')color0080ff; drawtext_fix(1,0.07,0,0,hyblock)color0080ff; drawtext_fix(1,0.14,0,0,'所属地区:')color00ffff; drawtext_fix(1,0.21,0,0,dyblock)color00ffff; m1:ma(close,5),colorred,linethick0; m2:ema(close,12),colorred,linethick0; m3:ema(close,50),colorred,linethick0; x:=barslast(ref(cross(c,ma(c,120)),1)) and cross(ma(c,20),ma(c,120)); if(m3<ref(m3,1),m3,drawnull),colorgreen,linethick; stickline(c>=ma1 and c>=ma2 and diff>=dea ,h ,l-0.01 ,0 ,0 ),colorred; stickline(c>=ma1 and c>=ma2 and diff>=dea ,o ,c ,2.5 ,0 ),colorred; stickline(c>=ma1 and c>=ma2 and diff>=dea ,o ,c ,2 ,0 ),colorred; stickline(c>=ma1 and c>=ma2 and diff>=dea ,o ,c ,1 ,0 ),colorred; stickline(c>=ma1 and c>=ma2 and diff>=dea ,o ,c ,0 ,0 ),colorred; stickline(c<ma1 and c>=ma2 and diff<dea ,h ,l-0.008 ,0 ,0 ),colorgreen; stickline(c<ma1 and c>=ma2 and diff<dea ,o ,c ,2.5 ,0 ),colorgreen; stickline(c<ma1 and c>=ma2 and diff<dea ,o ,c ,2 ,0 ),colorgreen; stickline(c<ma1 and c>=ma2 and diff<dea ,o ,c ,1 ,0 ),colorgreen; stickline(c<ma1 and c>=ma2 and diff<dea ,o ,c ,0 ,0 ),colorgreen; stickline(c<ma1 and c>=ma2 and diff>=dea ,h ,l-0.008 ,0 ,0 ),coloryellow; stickline(c<ma1 and c>=ma2 and diff>=dea ,o ,c ,2.5 ,0 ),coloryellow; stickline(c<ma1 and c>=ma2 and diff>=dea ,o ,c ,2 ,0 ),coloryellow; stickline(c<ma1 and c>=ma2 and diff>=dea ,o ,c ,1 ,0 ),coloryellow; stickline(c<ma1 and c>=ma2 and diff>=dea ,o ,c ,0 ,0 ),coloryellow; stickline(c>=ma1 and c>=ma2 and diff<dea ,h ,l-0.008 ,0 ,0 ),colorred; stickline(c>=ma1 and c>=ma2 and diff<dea ,o ,c ,2.5 ,0 ),colorred; stickline(c>=ma1 and c>=ma2 and diff<dea ,o ,c ,2 ,0 ),colorred; stickline(c>=ma1 and c>=ma2 and diff<dea ,o ,c ,1 ,0 ),colorred; stickline(c>=ma1 and c>=ma2 and diff<dea ,o ,c ,0 ,0 ),colorred; stickline(c<ma1 and c<ma2 and diff<dea ,h ,l-0.008 ,0 ,0 ),colorgreen; stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,3 ,0 ),colorgreen; stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,2.5 ,0 ),colorgreen; stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,2 ,0 ),colorgreen; stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,1 ,0 ),colorgreen; stickline(c<ma1 and c<ma2 and diff<dea ,o ,c ,0 ,0 ),colorgreen; stickline(c<ma1 and c<ma2 and diff>=dea ,h ,l-0.008 ,0 ,0 ),coloryellow; stickline(c<ma1 and c<ma2 and diff>=dea ,o ,c ,2.5 ,0 ),coloryellow; stickline(c<ma1 and c<ma2 and diff>=dea ,o ,c ,2 ,0 ),coloryellow; stickline(c<ma1 and c<ma2 and diff>=dea ,o ,c ,1 ,0 ),coloryellow; stickline(c<ma1 and c<ma2 and diff>=dea ,o ,c ,0 ,0 ),coloryellow; stickline(c>=ma1 and c<ma2 and diff>=dea ,h ,l-0.008 ,0 ,0 ),colorred; stickline(c>=ma1 and c<ma2 and diff>=dea ,o ,c ,2.5 ,0 ),colorred; stickline(c>=ma1 and c<ma2 and diff>=dea ,o ,c ,2 ,0 ),colorred; stickline(c>=ma1 and c<ma2 and diff>=dea ,o ,c ,1 ,0 ),colorred; stickline(c>=ma1 and c<ma2 and diff>=dea ,o ,c ,0 ,0 ),colorred; stickline(c>=ma1 and c<ma2 and diff<dea ,h ,l-0.008 ,0 ,0 ),colormagenta; stickline(c>=ma1 and c<ma2 and diff<dea ,o ,c ,2.5 ,0 ),colormagenta; stickline(c>=ma1 and c<ma2 and diff<dea ,o ,c ,2 ,0 ),colormagenta; stickline(c>=ma1 and c<ma2 and diff<dea ,o ,c ,1 ,0 ),colormagenta; stickline(c>=ma1 and c<ma2 and diff<dea ,o ,c ,0 ,0 ),colormagenta; volume:=ma(vol,1)/vol; mid:=100*(high+low-ref(high+low,1))/(high+low); emv:=ma(mid*volume*(high-low)/ma(high-low,9),9); emva:=ma(emv,14); bb:=emv-emva; bias :=(close-ma(close,6))/ma(close,6)*100; biasma :=ma(bias,6); cc:=bias-biasma; rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; k:=sma(rsv,3,1); d:=sma(k,3,1); j:=3*k-2*d; dd:=(k+d+j)/3; kk:=j-dd; diff2:=ema(close,12)-ema(close,26); dea2:=ema(diff2,9); ss:=diff2-dea2; aa:=ma(bb+cc+kk+ss,1)*0.01; mid1:=(3*close+low+open+high)/6; 牛线:=(20*mid1+19*ref(mid1,1)+18*ref(mid1,2)+17*ref(mid1,3)+16*ref(mid1,4)+15*ref(mid1,5)+14*ref(mid1,6)+13*ref(mid1,7)+12*ref(mid1,8)+11*ref(mid1,9)+10*ref(mid1,10)+9*ref(mid1,11)+8*ref(mid1,12)+7*ref(mid1,13)+6*ref(mid1,14)+5*ref(mid1,15)+4*ref(mid1,16)+3*ref(mid1,17)+2*ref(mid1,18)+ref(mid1,20))/210,colorgreen{colorred}; 马线:=ma(牛线,3),colormagenta{coloryellow}; gb:=(c-牛线); 换手:=v*100/capital; 主:=ma(换手,5); 大:=ma(换手,12); 中:=ma(换手,34); 散:=ma(换手,55); 均:=(主+大+中+散)/4; gbb:=(主-散); gb1:=gb+gbb; 成交量:=v,colorwhite,linethick0; {股票公式网www.goodgongshi.com} q:=ema(v,5); q1:=ema(v,50); obv:=sum(if(close>ref(close,1),vol,if(close<ref(close,1),-vol,0)),0); obv1:=ema(obv,5); obv2:=ema(obv,50); w:=(q-q1)*0.00001; w1:=(obv1-obv2)*0.000001; w2:=w+w1; {r:=0;} e:=max(ma(c,45),ma(c,90)); ff:=min(ma(c,45),ma(c,90)); c1:=10000*close/indexc; o1:=10000*open/indexo; h1:=10000*high/indexh; l1:=10000*low/indexl; ll:=if(l1<c1 and l1<o1,l1,min(c1,o1)); hh:=if(h1>c1 and h1>o1,h1,max(c1,o1)); a:=ema(c1,5); b:=ema(c1,12); d3:=ema(c1,30); xx:=ema(c1,35); f:=ema(c1,7); 均量:=(a+b+d)/3; va:=if(close>ref(close,1),vol,-vol); obv11:=sum(if(close=ref(close,1),0,va),0); maobv:=ma(obv11,30);{股票公式网www.goodgongshi.com} mtr:=ema(ema(ema(close,12),12),12); trix:=(mtr-ref(mtr,1))/ref(mtr,1)*100; matrix:=ma(trix,9) ;{股票公式网www.goodgongshi.com} mida:=close-min(ref(close,1),low); midb:=if(close<ref(close,1),close-max(ref(close,1),high),0); wad:=sum(if(close>ref(close,1),mida,midb),0); mawad:=ma(wad,30); jb:=(obv11-maobv)*0.000001+(a-xx); 机构:=a-xx; j3:=max(ma(c,30),ma(c,60)); k3:=min(ma(c,30),ma(c,60)); mid11:=(3*close+low+open+high)/6; dkx:=(20*mid11+19*ref(mid11,1)+18*ref(mid11,2)+17*ref(mid11,3)+ 16*ref(mid11,4)+15*ref(mid11,5)+14*ref(mid11,6)+ 13*ref(mid11,7)+12*ref(mid11,8)+11*ref(mid11,9)+ 10*ref(mid11,10)+9*ref(mid11,11)+8*ref(mid11,12)+ 7*ref(mid11,13)+6*ref(mid11,14)+5*ref(mid11,15)+ 4*ref(mid11,16)+3*ref(mid11,17)+2*ref(mid11,18)+ref(mid11,20))/210; madkx:=ma(dkx,5); mdd:=(dkx-madkx)*1.2; v1:=(c*2+h+l)/4*10; v2:=ema(v1,6)-ema(v1,55); v3:=ema(v2,6); v4:=2*(v2-v3)*5.5; v5:=(v2-v3)*0.06; v6:=mdd+v5; bqiuv:=(gb1); bqiusv:=(w2); wwv:=(a-xx); xev:=(v6); sh:=cross(bqiuv,0); yz:=cross(bqiusv,0); jg:=cross(wwv,0); zl:=cross(xev,0); exp1:=ema(c,5); exp2:=ema(c,8); exp3:=ema(c,12); exp4:=ema(c,17); exp5:=ema(c,21); exp6:=ema(c,50); exp7:=ema(c,250); a321:=cross(c,exp1); a1:=cross(c,exp2); a2:=cross(c,exp3); a3:=cross(c,exp4); a4:=cross(c,exp5); a5:=cross(c,exp6); a6:=cross(c,exp7); m:=a321 and a1 and a2 and a3 and a4 and a5 and a6; 买:=sh and bqiusv>=0 and wwv>=0 and xev>=0 or yz and bqiuv>=0 and wwv>=0 and xev>=0 or jg and bqiusv>=0 and bqiuv>=0 and xev>=0 or zl and bqiusv>=0 and wwv>=0 and bqiuv>=0; mmm:=m and 买; stickline(mmm ,c ,o ,3 ,0 ),colorred; stickline(mmm ,c ,o ,2 ,0 ),colorwhite; stickline(mmm ,c ,o ,1 ,0 ),coloryellow; stickline(mmm ,c ,o ,0 ,0 ),colorgreen; drawtext(cross(aa,0),l*0.95,' '),linethick3,colorred; drawtext(cross(0,aa),h*1.02,' '),linethick3,colorgreen; 涨停:=if((c-ref(c,1))/ref(c,1)>0.097,1,0); stickline(涨停,open,close,3,0),colormagenta; hhjsjda:=(3*close+open+low+high)/6; hhjsjdb:(20*hhjsjda+18*ref(hhjsjda,1)+18*ref(hhjsjda,2)+17*ref(hhjsjda,3)+16*ref(hhjsjda,4)+15*ref(hhjsjda,5)+14*ref(hhjsjda,6) +13*ref(hhjsjda,7)+12*ref(hhjsjda,8)+11*ref(hhjsjda,9)+10*ref(hhjsjda,10)+9*ref(hhjsjda,11)+8*ref(hhjsjda,12) +7*ref(hhjsjda,13)+6*ref(hhjsjda,14)+5*ref(hhjsjda,15)+4*ref(hhjsjda,16)+3*ref(hhjsjda,17)+2*ref(hhjsjda,18)+ ref(hhjsjda,20))/210,coloryellow; hhjsjdc:ma(hhjsjdb,5),colorred;
上一指标公式:李莜阳--两线定乾坤 通达信李莜阳
下一指标公式:李莜阳--出现提示即时买入 通达信李莜阳
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文智能四色谱 主图 通达信指标源码仅供学习研究。