指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:变盘线指标公式下载 飞狐变盘线 源码
变盘线
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,30);
var4:=ma(close,60);
var5:=ema(cost(85),7);
var6:=ema(cost(15),7);
var7:=sum(close*vol*100,4)/sum(vol*100,4);
var8:=intpart(var7*100)/100;
var9:=sum(close*vol*100,7)/sum(vol*100,7);
vara:=intpart(var9*100)/100;
varb:=sum(close*vol*100,28)/sum(vol*100,28);
varc:=intpart(varb*100)/100;
vard:=ema(close,5)-ema(close,10);
vare:=ema(close,5)-ema(close,10);
varf:=ema(vard,9);
放空段: if(vard>varf,varf,vare),color00ff00,linethick2;
持股段: if(vard< varf,varf,vare),colorred,linethick2;
var10:=(-100)*(hhv(close,5)-close)/(hhv(close,5)-llv(low,5))+100;
var11:=(-100)*(hhv(close,10)-close)/(hhv(close,10)-llv(low,10))+100;
var12:=(-100)*(hhv(close,20)-close)/(hhv(close,20)-llv(low,20))+100;
var13:=(-100)*(hhv(close,30)-close)/(hhv(close,30)-llv(low,30))+100;
var14:=ref(varf,1);
var15:=varf;
var16:=var15-var14;
var17:=ref(vard,1);
var18:=vard;
var19:=var18-var17;
var1a:=open;
var1b:=close;
变盘线: if(var1a<=var1 and var1a<=var2 and var1a<=var3 and var1b>=var1 and var1b>=varc and var16>0 and var19>0,0.5,0), stick,colorwhite;
var1c:=if(cross(vard,varf) and vard<0 and varf<-0.2 and var11>45 and var16>0,0.3,0);
买进1: if(var1c,0.5,0),coloryellow;
drawicon(买进1,0.5,1);
var1d:=(2*close+high+low)/4;
var1e:=llv(low,34);
var1f:=hhv(high,34);
var20:=ema((var1d-var1e)/(var1f-var1e)*100,13);
var21:=ema(0.667*ref(var20,1)+0.333*var20,2);
var22:=ref(close,1);
var23:=sma(max(close-var22,0),6,1)/sma(abs(close-var22),6,1)*100;
卖出: if(cross(84,var23),0.5,0),color00ff00;
drawicon(卖出,0.5,2);
持仓:0,colorff00ff;
空仓:0,colorgreen;
{持仓:}stickline(var20>var21,0,-0.02,10,1),colorff00ff;
{空仓:}stickline(var20< var21,0,-0.02,10,1),colorgreen ;
>>>使用本站搜索工具可以找到更多“变盘线指标公式下载 飞狐变盘线 源码”