指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:提前看趋势抓金牛公式 飞狐提前趋势指标 源码
牛年新指标,提前看趋势抓金牛
新年新气象,将以前收藏的一个趋势先行的指标,整理后给大家分享!白黄线是短期趋势指标,红青线是中期趋势指标,白上穿红线,强势看多,反之,看空,白线下线,不破红线或者不破50多空线后拐头向上,预示洗盘震荡后继续上行,如果所有趋势线都上行,短期看多。上线的虚线是短期趋势的 顶底,注意风险和关注启动。指标奥妙,大家慢慢品味!
源码如下{趋势先行}
drawgbk((c> 0),strip(rgb(10,15,30),rgb(10,10,10),0));
流通盘大小:=finance2(37)/10000;
销售毛利率:=finance2(12);
净利润同比增长:=finance2(10);
drawtextabs(10,10,'流通盘大小:'+流通盘大小+'亿股 '),linethick1,colorwhite;
drawtextabs(160,10,'销售毛利率:'+销售毛利率+'% '),linethick1,colorwhite;
drawtextabs(290,10,'净利润同比增长:'+净利润同比增长+'% '),linethick1,colorwhite;
当日换手率:=sum(100*v/capital,1);
drawtextabs(450,10,'当日换手率:'+numtostrn(sum(100*vol/capital,1),2)+'%'),colorwhite,linethick1;
五日换手率:=sum(100*vol/capital,5);
drawtextabs(600,10,'五日换手率:'+numtostrn(五日换手率,2)+'%'),colorwhite,linethick1;
drawtextabs(750,10,stklabel+' '+stkname+''),color00ddff;
var1:=(close-llv(low,80))/(hhv(high,80)-llv(low,80))*200;
var2:=sma(var1,3,1);
var3:=sma(var2,3,1);
var4:=3*var2-2*var3;
var5:=llv(low,5);
var6:=hhv(high,5);
var7:=ema((close-var5)/(var6-var5)*100,4)*2;
var8:=ema(0.667*ref(var7,1)+0.333*var7,2);
var9:=3*var7-2*var8;
vara:=pow(ma(close,5),2)+ma(close,5);
varb:=pow(ma(low,5),2)+ma(low,5);
varc:=pow(ma(high,5),2)+ma(high,5);
vard:=(vara-llv(varb,64))/(hhv(varc,64)-llv(varb,64))*150+65-10;
vare:=sma(vard,3,1)*1.5-100;
varf:=sma(vare,3,1);
var10:=3*vare-2*varf;
var11:=(high+low+close*2)/4;
var12:=ema(var11,13);
var13:=std(var11,13);
var14:=(var11-var12)*100/var13;
var15:=ema(var14,5);
var17:=ema(var15,13)+200-100;
var18:=ema(var17,10);
var19:=3*var17-2*var18;
var1a:=var2+var7+vare+var17;
var1b:=var3+var8+varf+var18;
var1c:=var4+var9+var10+var19;
var1d:=(high+low+close)/3;
var20:=(var1d-ma(var1d,34))/(0.015*avedev(var1d,34));
var21:=dma(amount/vol/100,vol/capital);
var22:=(high+low+close+var1d)/4;
var23:=ema(var22,24);
var24:=std(var22,24);
var25:=(var22-var23)/var24*100;
var26:=(var1d-ma(var1d,24))/(0.015*avedev(var1d,24));
var27:=ema(var25,5);
var2a:=((var27+var26+var20)/3+165)/4;
var2b:=(ema(ema(ema(var2a,15),10),5)-25)*2+var21;
var2c:=(var1a+var1b+var1c*30)/32/5-15;
var2d:=ema(var2c,13);{13}
var2e:=(var2a+var2c)/2/1.1;
短期趋势:ema(var2e,3),colorwhite,linethick1,layer0 ;
辅助线:ema(短期趋势,5),coloryellow,layer0;
中期趋势:ema((var2b+var2d)/2,2),colorred,layer0;
判断线:ref(中期趋势,1),colorcyan,dotline,layer0;
分界线:50,colorgreen,dotline;
底部区域:0,dotline,color808080;
顶部区域:100,dotline,color808080;
a33:=ema(if(l<= llv(l,40),sma(abs(l-ref(l,1)),40,1)/sma(max(l-ref(l,1),0),40,1),0),3)*10;
庄家吸筹:stickline(a33,0,-a33/2,6,0),color00aaff,layer1;
stickline(a33,0,-a33/2,4,0),color00ccff,layer1;
stickline(a33,0,-a33/2,2,0),color00eeff,layer1;
stickline(a33,0,-a33/2,1,0),color00ffff,layer1;
lc:=ref(close,1);
rsi5:=((sma(max((close - lc),0),5,1) / sma(abs((close - lc)),5,1)) * 100);
tr:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),10);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),10);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),10);
pdi:=((dmp * 100) / tr);
mdi:=((dmm * 100) / tr);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),5);
av:=(rsi5 + adx);
dxr:=(((adx + ref(adx,5)) / 2) + rsi5);
wr10:=((100 * (hhv(high,10) - close)) / (hhv(high,10) - llv(low,10)));
newvol:=(rsi5 - wr10);
阶段底部:=(av + newvol);
派红包:stickline((阶段底部 < 0),0,阶段底部/3,3,0),linethick6,colorred;
>>>使用本站搜索工具可以找到更多“提前看趋势抓金牛公式 飞狐提前趋势指标 源码”