飞狐三分线主图指标公式,飞狐一致性获利MACD指标公式
admin888
|飞狐三分线主图指标公式,飞狐一致性获利MACD指标公式
飞狐三分线主图指标公式
均价:=(2*C+(C+H+L+O)/4+O)/4;
R:=(2*L+3*均价)/5;
操盘线:(5*r+4*REF(r,1)+3*REF(r,2)+2*REF(r,3)+1*REF(r,4))/(5+4+3+2+1),COLORWHITE;
dkx:(20*r+19*REF(r,1)+18*REF(r,2)+17*REF(r,3)+16*REF(r,4)+15*REF(r,5) +14*REF(r,6)+13*REF(r,7)+12*REF(r,8)+11*REF(r,9)+10*REF(r,10)+9*REF(r,11)
+8*REF(r,12)+7*REF(r,13)+6*REF(r,14)+5*REF(r,15)+4*REF(r,16)+3*REF(r,17)
+2*REF(r,18)+REF(r,20))/210,COLORRED;
三分线:(3*操盘线+2*DKX)/5,COLORYELLOW;
LXX:(3.618*DKX+1.382*ma(DKX,60))/5,COLORAAAA00,LINETHICK2;
PARTLINE(R>LXX,LXX),COLORFFC0FF,LINETHICK2;
飞狐一致性获利MACD指标公式
input:cur2(120,1,5000),cur3(61,1.5000),day1(60,1,5000);
cur1:SYSPARAM(1),linethick0;
cur:cur2-cur3+1,linethick0; //cursor 光标
BWmfi:(HIGH-LOW)*10000/vol,linethick0;//市场促进
指数n1:=day1;
k:=day1/60;
day2:=round(5*k);
day3:=round(34*k);
TS:=BARSCOUNT(C);
V1:=(H+L)/2;
m5:=IF(TS<6,SUM(V1,0)/TS,ma(v1,day2));
m34:=IF(TS<35,SUM(V1,0)/TS,MA(v1,day3));
diff:m5-m34,colorstick;
DEA:IF(TS<6,SUM(DIFF,0)/TS,MA(DIFF,5));
今日中间价:(h+l)/2,linethick0;
昨日最低价:ref(l,1),linethick0;
昨日最高价:ref(h,1),linethick0;
k:=(h-l)/3;
a1:=h-k;
b1:=l+k;
if(a1<=o and o<=h and a1<=c and c<=h,11,0)linethick0;
if(l<=l and o<=b1 and l<=c and c<=b1,33,0),linethick0;
if(b1<=o and o<=a1 and b1<=c and c<=a1,22,0),linethick0;
if(l<=o and o<=b1 and a1<=c and c<=h,31,0),linethick0;
if(l<=o and o<=b1 and b1<=c and c<=a1,32,0),linethick0;
if(b1<=o and o<=a1 and a1<=c and c<=h,21,0),linethick0;
if(a1<=o and o<=h and l<=c and c<=b1,13,0),linethick0;
if(a1<=o and o<=h and b1<=c and c<=a1,12,0),linethick0;
if(b1<=o and o<=a1 and l<=c and c<=b1,23,0),linethick0;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。