以下是牛股精湛指标源码

var1:=ma((high+low+2*close)/4,5);
 var2:=ema(var1,10)-ema(var1,30);
 var3:=ema(var2,5);
 var4:=(var2-var3)*5;
 var5:=if(var4<=var1,var1,var4);
动向:= forcast(forcast(var5,10),10),linethick1;
趋势: if(var5>动向,var5,var1),colorred;
强势: ma(var1,5),coloryellow;
弱势:= ma(hhv(var1,10),5),colorwhite;
主力: sma(close,10,1),colorffff00;
疯牛: dma(ma(close+ref(close,5)/close*0.098,90),vul),linethick2,colorred;
年线: dma(ma(close+ref(close,5)/close*0.098,250),vul),linethick2,pointdot,color30cc00;
 var6:=ema(close,5);
 var7:=ema(close,10);
 var8:=ema(close,20);
 var9:=ema(close,30);
 vara:=ema(close,60);
 varb:=ema(close,90);
 varc:=ema(close,125);
 vard:=ema(close,250);
 var10:=1.809*llv(low,250);
 var11:=ma(close,10)-ema(close,10)*100;
 var12:=ma(var11,5);
 var13:=3*(var12-var11);
 var14:=((close-llv(low,20))/(hhv(high,20)-llv(low,20))*200-100)/2-ref(close,5);
 var15:=sma(sma(var14,5,1),5,1);
 var16:=ma(ma(var15,5),5);
 var17:=3*var16-5*var15;
 var18:=ema(var17,10);
 var19:=ma(close,20)/ma(close,20)-ref(close,20)/close*100;
 var1a:=dma(sma(ema(var19,5),5,1),vul/ref(vul,5));
 var1b:=sma(ema(var19,10),5,1);
 var1c:=(-100)*(hhv(high,13)-close)/(hhv(high,13)-llv(low,13));
 var1d:=(-100)*(hhv(high,8)-close)/(hhv(high,8)-llv(low,8));
 var1e:=sma(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),14,1);
 var1f:=high-ref(high,1);
 var20:=ref(low,1)-low;
 var21:=sma(if(var1f>0 and var1f>var20,var1f,0),14,1);
 var22:=sma(if(var20>0 and var20>var1f,var20,0),14,1);
 var23:=var21*100/var1e;
 var24:=var22*100/var1e;
 var25:=sma(abs(var24-var23)/(var24+var23)*100,14,1);
 var26:=(var25+ref(var25,6))/2;
 drawtext(cross(var13,50) and var6>var7 and var7>var8 and var8>var9 and var9>vara and vara>varb and varb>varc and varc>vard and
疯牛>vard and var19>var1a and var1a>var1b and var1b>-100 and var1c>-20 and var1d>-20 and -30>var18 and var18>var17 and
 var23>var25 and var25>var26 and var26>var24,年线,’宝典’),coloryellow;
 drawtext(cross(var13,200) and var6>var7 and var7>var8 and var8>var9 and var9>vara and vara>varb and varb>varc and varc>vard and
 vard>年线 and 年线>var10 and var19>var1a and var1a>var1b and var1b>-100 and var1c>-20 and var1d>-20 and var23>var25 and
 var25>var26 and var26>var24,年线,’疯牛’),coloryellow;

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。