指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:引力勘盘画线主图公式 飞狐引力指标 源码
引力勘盘画线主图
stickline(1,(high)*(2),0,100000,0),color451200;
j1:=forcast(close,20);
j2:=forcast(wma(close,12),20);
x3:=filter(cross(j1,j2),3);
x4:=filter(cross(j2,j1),3);
drawline(ref(x3,1),ref(j1,1),x4,j1,0),linethick2,colorff00ff;
drawline(ref(x3,1),ref(j1,1),x3,j1,0),linethick2,color6600ff;
yl:=forcast(sma(close,6,1),20);
bb:=atan(yl - ref(yl,1));
stickline((bb > 0) and (yl > ref(yl,1)),yl,ref(yl,1),4,0),linethick2,color00aaff;
drawline(ref(x4,1),ref(j1,1),x3,j1,0),linethick2,coloryellow;
drawline(ref(x4,1),ref(j1,1),x4,j1,0),linethick3,color008000;
stickline((close >= open),open,close,6,0),color0000cc;
stickline((close >= open),open,close,4,0),color0011ee;
stickline((close >= open),open,close,2,0),color0022ff;
stickline((close >= open),high,low,0,0),colorred;
stickline((close >= open),open,close,0,0),color337eff;
stickline((close < open),open,close,6,0),colorff6600;
stickline((close < open),open,close,4,0),colorff8800;
stickline((close < open),open,close,2,0),colorffaa00;
stickline((close <= open),high,low,0,0),colorccdd66;
ya:j1,colorffffff;
varl:=((vol)*(open + close + high + low))/(4);
yb:forcast((wma(varl,1))/(wma(vol,1)),20),color00ff00;
年线:=ema(close,250);
nx:=forcast(年线 - ema(close,2) - 年线,20);
zc:(trough(1,15,1))*(1.05),color008000;
var1:=hhv(close,240);
var2:=llv(close,240);
var3:=(var1 - var2)/(100);
var4:=(close < var2 + (var3)*(10)) and (llv(close,10) = var2) and (hhv(close,120) < var1);
var5:=(close > (var2)*(1.1)) and (finance(33) > 0);
var6:=var5 and (count(var5,2) = 1) and (close < (ma(close,240))*(0.68));
●中趋底:if((var4 and var6)*(100) and (close > zc),high,0),pointdot,colorff00ff;
drawtext(●中趋底,zc,'●'),colorff00ff;
●启动:if(filter(cross(ya,yl),3) and (ya > yb) and (close > ya + 0.03),1,0),pointdot,coloryellow;
drawtext(●启动,yl,'●'),coloryellow;
hv1:=ma(vol,5);
hv2:=((vol)/(ref(hv1,1)) > 2);
hv3:=((close)/(ref(close,1)) > 1.05);
t1:=ma(close,42);
t2:=hhv(high,42);
t3:=llv(low,42);
tz:=(t2 - t1)/(t1);
ty:=(t1 - t3)/(t1);
tyz:=(ref(tz,1) < 0.2) and (ref(ty,1) < 0.15);
yz1:=hhv(high,42);
yz:=(high = yz1);
hsl:=((vol)/(ma(vol,5)) < 2.5);
∈量价突破前高:if(hv2 and hv3 and yz and tyz and hsl and (barscount(close) > 80),open,0),stick,colorffffff;
突破长期盘整:=(ref(((hhv(high,89) - llv(low,89))/(llv(low,89)))/(llv(low,89)),1) <= (5)/(100)) and (close >= ref(hhv(high,89),1)) and (barscount(close) > 85) and ((vol)/(ref(hv1,1)) > 2) and ((close)/(ref(close,1)) > 1.03);
drawtext(∈量价突破前高,close,'∈'),colorffffff;
drawtext(突破长期盘整,low,'突破长盘'),colorcccccc;
drawtext(突破长期盘整,low,'↑'),coloryellow;
hga:=hhv(high,40);
lda:=llv(low,10);
ldab:=llv(low,40);
hgb:=hhv(high,20);
ldb:=llv(low,20);
hgaa:=barslast((high = hga));
ldbb:=barslast((low = ldab));
ldaa:=barslast((low = lda));
gg:=hgaa - ldaa;
dd:=ldbb - ldaa;
drawline((high = hga),high,(high = hgb) and (gg > 5),high,1),linethick1,colorff00bb;
drawline((low = ldab),low,(low = ldb) and (dd > 5),low,1),linethick1,colorddaadd;
aa:=(vol)/((high - low)*(2) - abs(close - open));
主动性买:=if((close > open),(aa)*(high - low),if((close < open),(aa)*(high - open + close - low),(vol)/(2)));
主动性卖:=if((close > open),(aa)*(high - close + open - low),if((close < open),(aa)*(high - low),(vol)/(2)));
a1:=if(主动性买,(vol)*(3),0);
a2:=if(主动性卖,(vol)*((-3)),0);
dt:=(dynainfo(3))*(0.92);
k1:=(sum(a1,0))/(sum(vol,0));
k2:=(sum(a2,0))/(sum(vol,0));
上:if(k1,(k1)*(0.35) + dt,dt),pointdot,colorff9900;
中:((k1)*(0.35) + dt + (k2)*(0.35) + dt)/(2),pointdot,color66ddff;
下:if(k2,(k2)*(0.35) + dt,dt),pointdot,color0000bb;
上1:(((k1)*(0.35) + dt + (k2)*(0.35) + dt)/(2))*(1.5),pointdot,colorffff00;
下1:((k1)*(0.35) + dt + (k2)*(0.35) + dt)/(3),pointdot,colorff00ff;
>>>使用本站搜索工具可以找到更多“引力勘盘画线主图公式 飞狐引力指标 源码”