指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:副图精品公式 飞狐精品指标 源码
副图精品drawgbk(close>0,colorrgb(1,777,777),colorrgb(1,222,444),1);{
1今天出现杀多
2前一天是杀多,今天是阴线
3前一次出现杀多,今天出现买字
}
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1),colorwhite;
d:=sma(k,3,1),coloryellow;
j:=3*k-2*d,colorff00ff;
a:=250;
diff:=(ema(close,12)-ema(close,26));
dea:=ema(diff,9),colorblue,linethick0;
macd:=2*(diff-dea);
mm:=if(macd<0,macd,0);
jj:=mm>ref(mm,1);
zz:=ref(jj,1)=1;
准备:=(jjandzz)*dea;
stickline(准备=dea,1,-1,2,1),colorffff00;
jh:=hhv(max(k,max(d,j)),a);
dh:=hhv(max(diff,dea),a);
sh:=intpart(jh/dh)/2;
diff50:=sh*diff+50,colorffff00;
dea50:=sh*dea+50,colorblue;
stickline(diff50>dea50,0,1.5*(diff50-dea50),0,0),colorred;
stickline(diff50<dea50,0,1.5*(diff50-dea50),0,0),colorffff00;
红柱:if(1.5*(diff50-dea50)>ref(1.5*(diff50-dea50),1),1.5*(diff50-dea50),0),
stick,colorlicyan;
绿柱:if(1.5*(diff50-dea50)<ref(1.5*(diff50-dea50),1),
1.5*(diff50-dea50),0),stick,colorgreen;
缩头:=if(1.5*(diff50-dea50)>0andref(1.5*(diff50-dea50),1)>ref(1.5*(diff50-dea50),2)and1.5*(diff50-dea50)<ref(1.5*(diff50-dea50),1),1,0);
缩脚:=if(1.5*(diff50-dea50)<0andref(1.5*(diff50-dea50),1)<ref(1.5*(diff50-dea50),2)and1.5*(diff50-dea50)>ref(1.5*(diff50-dea50),1),1,0);
杀多:=if(1.5*(diff50-dea50)<0andref(1.5*(diff50-dea50),1)>ref(1.5*(diff50-dea50),2)and1.5*(diff50-dea50)<ref(1.5*(diff50-dea50),1),1,0);
诱空:=if(1.5*(diff50-dea50)>0andref(1.5*(diff50-dea50),1)<ref(1.5*(diff50-dea50),2)and1.5*(diff50-dea50)>ref(1.5*(diff50-dea50),1),1,0);
阻力:=if(cross(c,ma(c,20))orcross(c,ma(c,60)),1,0);
drawtext(filter(杀多,3)and杀多,1.5*(diff50-dea50),'杀多'),colorff00ff;
drawtext(filter(缩头,3)and缩头,1.5*(diff50-dea50)+0.2,'卖'),colorff00ff;
drawtext(filter(诱空,3)and诱空,1.5*(diff50-dea50),'?洗盘'),color00ff00;
drawtext(filter(缩脚,3)and缩脚,1.5*(diff50-dea50)-0.2,'买'),color00ff00;
drawtext(filter(阻力,16)and1.5*(diff50-dea50)>=0,1.5*(diff50-dea50)+0.01,'¤阻力'),color00ffff;
vra:=ref(close,1);
vrb:=sma(max(close-vra,0),6,1)/sma(abs(close-vra),6,1)*100;
vrc:=(2*close+high+low)/4;
vr0:=llv(low,34);
vr1:=hhv(high,34);
vr2:=ema((vrc-vr0)/(vr1-vr0)*100,6);
vr3:=ema(0.667*ref(vr2,1)+0.333*vr2,4);
va1:=(ref(high,1)+ref(low,1))/2;
va2:=ma(close,20)+2*std(close,20);
va3:=ref(close,1);
va4:=sma(max(close-va3,0),7,1)/sma(abs(close-va3),7,1)*100;
va5:=cross(79,va4);
va6:=filter(va5,4);
vvd:=ma(close,80)-ma(close,10)/3;
va7:=3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1);
x1:=cross(va1,va2)orva6;
x2:=cross(84,vrb);
stickline(x1orx2,1.5*(diff50-dea50)*1.05,1.5*(diff50-dea50)*1.08,3,0);
y1:=if(count(close<ref(close,1),8)/8>0.3andcount(va2>va3,3)andref(low,1)=llv(low,120)andclose>open,1,0);
y2:=if(close<vvdandvol/240>ma(vol,5)/240andclose>ref(close,1)*1.08andclose<ma(close,13)*1.3,1,0);
y3:=cross(va7,10);
y4:=if(count(close<ref(close,1),8)/8>0.3andcount(vr2>vr3,3)andref(low,1)=llv(low,120)andclose>open,1,0);
stickline(y1ory2ory3ory4,1.5*(diff50-dea50)*0.90,1.5*(diff50-dea50)*0.99,3,0);
dd:=c=hhv(c,180);
ee:=dea<ref(dea,1)andref(dea<ref(dea,1),1)=1;
cc:=c>ref(c,1)andref(c>ref(c,1),1)=1;
上升背离:(ccandee)*1.5*(diff50-dea50),linethick2,colorwhite;
顶背离:(ddandeeanddea<hhv(dea,180))*3*abs(diff50-dea50),stick,linethick3,colorgreen;
ff:=c=llv(c,180);
gg:=dea>ref(dea,1)andref(dea>ref(dea,1),1)=1;
ll:=c<ref(c,1)andref(c<ref(c,1),1)=1;
下降背离:(llandgg)*1.5*(diff50-dea50),linethick2,coloryellow;
底背离:(ffandgganddea>llv(dea,180))*3*(diff50-dea50),stick,linethick3,colorred;
>>>使用本站搜索工具可以找到更多“副图精品公式 飞狐精品指标 源码”