指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:钻石主图公式 飞狐钻石指标 源码
{公式名称:钻石主图}
n:=6;
bu:=barslast(close=hhv(close,n));
se:=barslast(close=llv(close,n));
kk1:=se;
kk2:=bu;
lm1:=se;
lm2:=bu;
ok:=kk1>kk2 and lm1>lm2;
ok1:=kk1>kk2 and lm1<lm2;
nok:=kk2>kk1 and lm2>lm1;
nok1:=kk2>kk1 and lm2<lm1;
stickline(ok1,close,open,8,0),colorff0000;
stickline(ok1,high,low,0,0),colorff0000;
stickline(ok,close,open,8,0),colorff;
stickline(ok,high,low,0,0),colorff;
stickline(nok,close,open,8,0),colorff0000;
stickline(nok,high,low,0,0),colorff0000;
stickline(nok1,close,open,8,0),colorff;
stickline(nok1,high,low,0,0),colorff;
drawicon(cross(kk1,kk2),open*0.98,4);
drawicon(cross(kk2,kk1),open*1.04,5);
drawtext(cross(kk1,kk2),open*0.95,'买'),colorffffff;
drawtext(cross(kk2,kk1),open*1.065,'卖'),colorffff;
m1:wma(close,14),linethick2,colorff;
m2:=wma(m1,5);
m3:if(m1>m2,m2,m1),linethick2,colorff00;
m2,linethick2,color1;
x:=ema(slope(close,21)*20+close,68);
y:=ema(close,10);
ll:=ref(close,2);
mm:=(sma(max(close-ll,0),6,1))/(sma(abs(close-ll),6,1))*100;
db:=if(mm<ref(mm,1) and mm>79,mm,0);
>>>使用本站搜索工具可以找到更多“钻石主图公式 飞狐钻石指标 源码”