指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:云雨烧蜡公式 飞狐云雨指标 源码
var1:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14))));
var2:=(100 - ((90 * (hhv(high,14) - close)) / (hhv(high,14) - llv(low,14))));
var3:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34));
dir1:=abs(close-ref(close,5));
vir1:=sum(abs(close-ref(close,1)),5);
er1:=dir1/vir1;
cs1:=er1*(0.8-2/8)+2/8;
cq1:=cs1*cs1;
ama1:ema(dma(close,cq1),2) ,colorwhite;
dir2:=abs(close-ref(close,10));
vir2:=sum(abs(close-ref(close,1)),10);
er2:=dir2/vir2;
cs2:=er2*(0.8-2/24)+2/24;
cq2:=cs2*cs2;
ama2:ema(dma(close,cq2),2),colorgreen,linethick2;
ama3:if(ama2/ref(ama2,1)>0.997,ama2,drawnull),coloryellow,linethick2;
ama4:if(ama2/ref(ama2,1)>1.001,ama2,drawnull),colorred,linethick2;
stickline((var2 < ma(var3,6)),close,open,3,1),color008000;
stickline((var2 > ma(var3,6)),open,close,3,1),colorred;
stickline(((open > close) and (var2 > ma(var3,6))),(open * 0.998),(close * 1.0001),2.3,0),color008000;
stickline(((open < close) and (var2 < ma(var3,6))),(close * 0.998),(open * 1.002),2.3,0),colorred;
stickline(((open > close) and (var2 < ma(var3,6))),close,open,2.3,0),color008000;
drawicon(cross(var2,ma(var3,6)),(low - (low*0.04)),7);
drawicon(cross(ma(var3,6),var1),(high+(high*0.03)),8);
pt:=ref(h,1)-ref(l,1);
cdp:=(ref(h,1)+ref(l,1)+ref(c,1)*2)/4;
ah:=cdp+pt;
al:=cdp-pt;
nh:=cdp*2-ref(l,1);
nl:=cdp*2-ref(h,1);
强:if(ah>ref(c,1)*1.1,ref(c,1)*1.1,ah)nodraw;
阻:if(nh>强,(强-cdp)*0.618+cdp,nh)nodraw,colorcyan;
m:=if(al<ref(c,1)/1.1,ref(c,1)/1.1,al);
撑:if(nl<m,cdp-(cdp-m)*0.618,nl)nodraw;
底:if(al<ref(c,1)/1.1,ref(c,1)/1.1,al)nodraw;
>>>使用本站搜索工具可以找到更多“云雨烧蜡公式 飞狐云雨指标 源码”