指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:成本铁底公式 飞狐成本指标 源码
成本铁底
a:=(3*c+l+o+h)/6;
x:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210;
{生命线:ema(x,15),color00ff00,linethick3;}
var4:=(2*close+high+low)/4;
成本区:ema(var4,90)*0.995,colorwhite,linethick2,pointdot;
操作区:ema(var4,142)*0.998,colorred,linethick1;
铁底区:ema(var4,250)*0.885,coloryellow,linethick1;
{拐点显示}
var1:=(o+l+h+c)/4;
拐点:=ma(c,3);拐点1:=ma(c,3);
gd1:=ref(count(拐点<=ref(拐点,1),5)=5 ,1) and 拐点>ref(拐点,1);
gd2:=ref(count(拐点1<=ref(拐点1,1),5)=5 ,1) and 拐点1>ref(拐点1,1);
drawicon(gd1,0.98*c,1);
drawicon(gd2,0.98*c,9);
vara:=amount/vol/100;
varb:=(3*high+low+open+2*close)/7;
varc1:=sum(amount,7)/vara/100;
vard:=dma(varb,vol /varc1);
vare:=(close-vard) /vard*100;
varf:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
varj:=ma(vare,20)+std(vare,20);
bias18:=(close-ma(close,18))/ma(close,18)*100;
k:=sma(varf,3,1);
drawtext(ref(bias18,1)>=5 and cross(varj,vare) and k>88 ,h+0.5,''),coloryellow;
条件:= o>c and c<ref(c,1) and ref(c,1)<ref(c,2) and ref(o,1)>ref(c,1) and ref(o,2)>ref(c,2) ;
stickline(条件 ,o ,c ,7 ,0 ),color00ffff;
stickline(条件 ,l ,h ,0 ,0 ),color00ffff;
drawtext(count(c<ref(c,1),5)=5,l*0.995,'关注');
{波段王买入信号加入主图}
c11:=(close+low+high)/3;
c22:=ema(c11,6);
c3:=ema(c22,5);
c4:=cross(c22,c3);
drawtext(c4,low/1.01,'波★'),colorwhite;
{macd买入加入主图信号}
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
drawtext(cross(diff,dea),l-0.2,'m买入'),colorwhite;
>>>使用本站搜索工具可以找到更多“成本铁底公式 飞狐成本指标 源码”