指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:组合主图主图公式 飞狐指标 源码
组合主图(飞狐主图)
n:=30;
drawgbk(close>open,colorrgb(110,0,0),colorrgb(0,0,0),0);
drawgbk(close<open,colorrgb(0,110,0),colorrgb(0,0,0),0);
m:=barscount(vol);
vv:=if(range(stktype,0,13),amount/100,close*vol);
前n期:if(m<=n,sum(vv,m)/sum(vol,m),ref(sum(vv,n)/sum(vol,n),if(m<2*n,m-n,n-1))),linethick0;
后n期:sum(vv,n)/sum(vol,n),linethick0;
xs:=(sysparam(4)-sysparam(5))/30;
stickline(barpos=sysparam(1)-5,前n期[sysparam(1)],前n期[sysparam(1)],120,0),linethick2,colorffffff;
drawtext(barpos=sysparam(1)-11,前n期[sysparam(1)]-xs,'前n期成本'+numtostr(前n期[sysparam(1)],2)),colorffffff;
if m[sysparam(1)]>n then
stickline(barpos=sysparam(1)-5,后n期[sysparam(1)],后n期[sysparam(1)],120,0),linethick2,colorffff;
if m[sysparam(1)]>n then
drawtext(barpos=sysparam(1)-11 and m>n,后n期[sysparam(1)]-xs,'后n期成本'+numtostr(后n期[sysparam(1)],2)),colorffff;
n1:=sysparam(3);
小号:=n1-sysparam(2)+1;
hh:=hhv(high,小号);
ll:=llv(low,小号);
最高:=hh[n1];
最低:=ll[n1];
安全:最低+(最高-最低)*0.191,pointdot,linethick3,precision2,colorff8900;
中枢:最低+(最高-最低)*0.5,linedot,precision2,colorff00ff;
警惕:最低+(最高-最低)*0.809,linedot,precision2,colorffff;
临界:最低+(最高-最低)*0.609,linedot,precision3,colorff00;
gj:=amount/vol/100;
个股代码:zqdmnum,linethick0;
多头:fft(ma(high,3)*1.03,30);
空头:fft(ma(low,3)*0.97,30);
a2:=多头-ref(多头,1);
a3:=空头-ref(空头,1);
partline(a2>0,多头),linethick2,colorff;
partline(a2=0,多头),linethick1,colorffffff;
partline(a2<0,多头),linethick1,colorffff;
partline(a3>0,空头),linethick2,colorff;
partline(a3=0,空头),linethick1,colorffffff;
partline(a3<0,空头),linethick1,colorffff;
byx:=ma(close,8);
fillrgn(byx>ref(byx,3),byx,ref(byx,3)),linethick3,colorff;
fillrgn(byx<ref(byx,2),byx,ref(byx,2)),linethick3,colorff00;
x1:=(close+low+high)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
drawicon(cross(x2,x3),low-0.1,1);
drawicon(cross(x3,x2),high+0.1,2);
stickline(x2>=x3,low,high,0.1,1),colorff;
stickline(x2>=x3,close,open,10,1),colorff;
stickline(x2>=x3,close,open,9,9),colore66878;
stickline(x2<x3,low,high,0.1,1),colorff00;
stickline(x2<x3,close,open,10,1),colorff00;
stickline(x2<x3,close,open,9,1),colorff937f;
stickline(cross(x2,x3),open,close,6,0),colorffff;
stickline(cross(x3,x2),open,close,6,0),colorff0000;
a11:=ma(winner(close),9)*100;
b11:=cross(a11,1.8);
d11:=b11>0;
lc:=ref(close,1);
rsi:=(sma(max(close-lc,0),6,1))/(sma(abs(close-lc),6,1))*100;
e1:=cross(83,rsi);
drawtext(e1,high+0.15,'见顶'),colorffff;
va:=cross(ema(close,4),ema(close,17));
vb:=ema(close,6)>ema(close,13);
drawicon(va and vb,ema(close,13),9);
a:=barscount(close);
ah:=hhv(high,200);
al:=llv(low,200);
b0:=(ah-al)/40;
b1:=high+b0;
b2:=low-b0;
stickline((a+0)/34=floor((a+0)/34),b2,b2-3*b0,5,0),colorffff;
drawtext((a+0)/34=floor((a+0)/34),b2-2*b0,'追涨'),colorffff;
>>>使用本站搜索工具可以找到更多“组合主图主图公式 飞狐指标 源码”