指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:权证公式 飞狐权证指标 源码
权证公式15.alg
n 0 100 2 m 0 100 3
趋势线:sma(ema(((c+l)/2-llv(l,21))/(hhv((h+c)/2,21)-llv(l,21))*100,3),7,1)-(13),linethick2,colorf0f000;
判断:=(sma(((c+l)/2-llv(l,21))/(hhv((h+c)/2,21)-llv(l,21))*100,2,1)-8);
强势区:判断>趋势线,color9800ff;
stickline(强势区,0,0,0,0),color9800ff;
弱势区:判断<趋势线,coloryellow;
stickline(弱势区,0,0,0,0),coloryellow;
stickline(filter(cross(判断,趋势线)=1 or 判断>ref(判断,1),10) and 判断<25 ,趋势线,趋势线+10,9,1),colorred;
stickline(filter(判断<ref(判断,1)and 判断>65,5),趋势线+5,趋势线+15,9,1),color00ff00;
drawicon(filter(趋势线>=ref(趋势线,1)and 趋势线<0,15),0,1);
var2:=1;
var3:=ref(high,1)*11;
var4:=high*1.1;
var5:=(var4*vol+var3*(capital-vol))/capital;
var6:=ref(low,1)*0.9;
var7:=low*0.9;
var8:=(var7*vol+var6*(capital-vol))/capital;
var9:=ema(var8,30);
vara:=ema(var5,30);
varb:=vara-2;
varc:=if(close<=var9,varb,vara);
vard:=ma(close,80)-ma(close,10)/17;
出手: stickline(varc-varb=0 and var2 and cross((ema(ema(ema(close,n),n),n)-ref(ema(ema(ema(close,n),n),n),1))/ref(ema(ema(ema(close,n),n),n),1)*100,ma((ema(ema(ema(close,n),n),n)-ref(ema(ema(ema(close,n),n),n),1))/ref(ema(ema(ema(close,n),n),n),1)*100,m)),50,0,5,0),colorcc9966;
赢: drawtext(filter(varc-varb=0 and cross((ema(ema(ema(close,n),n),n)-ref(ema(ema(ema(close,n),n),n),1))/ref(ema(ema(ema(close,n),n),n),1)*100,ma((ema(ema(ema(close,n),n),n)-ref(ema(ema(ema(close,n),n),n),1))/ref(ema(ema(ema(close,n),n),n),1)*100,m)),4),55,'买入'),colorred;
vare:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
卖出线: sma(sma(vare,3,1),3,1),colorff6633;
买入线: 3*sma(vare,3,1)-2*卖出线,colorred;
drawicon(cross(90,买入线),90,2);
黄金点: stickline(sma(vare,3,1)>卖出线,sma(vare,3,1),卖出线,4,0),color1133ff;
>>>使用本站搜索工具可以找到更多“权证公式 飞狐权证指标 源码”