指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:超买超卖指标公式下载 飞狐超买超卖 源码 贴图
超买超卖
本指标力求精益求精、艺术美观实用精准,所以本人不断优化该公式,今后还要进一步的进行优化,希望喜欢的朋友多多的关注本贴,也敬请朋友们多多的加分鼓励!
优化版:超买超卖:
drawgbk((close > 0),colorrgb(0,0,0),colorrgb(0,0,0),1);
drawtextex(close,1,800,100,'☆金牛自制/版权所有☆'),colorffff;
a1:=ref(c,1);
a2:=sma(max(c-a1,0),5,1)/sma(abs(c-a1),5,1)*1000;
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
a4:=a2-llv(a2,10);
a5:=(ma(a4,2)*3+a4*13)/16;
a6:=if(a5>13,ma(a5,2),a5)/6;
rsi1:=sma(max(c-a1,0),6,1)/sma(abs(c-a1),6,1)*100;
rsi2:=sma(max(c-a1,0),12,1)/sma(abs(c-a1),12,1)*100;
rsi3:=sma(max(c-a1,0),24,1)/sma(abs(c-a1),24,1)*100;
压力:=hhv(ma(rsi2,3),12);
支撑:=llv(ma(rsi2,3),12);
中间:(hhv(ma(rsi2,3),12)+llv(ma(rsi2,3),12))/2,colorred,linethick2;
stickline(rsi2<支撑,中间,rsi2,1,0)colorff00;
stickline(rsi2<支撑,中间,rsi2,8,0)color113300;
stickline(rsi2<支撑,中间,rsi2,7,0)color224400;
stickline(rsi2<支撑,中间,rsi2,6,0)color335500;
stickline(rsi2<支撑,中间,rsi2,5,0)color447700;
stickline(rsi2<支撑,中间,rsi2,4,0)color559900;
stickline(rsi2<支撑,中间,rsi2,3,0)color66aa00;
stickline(rsi2<支撑,中间,rsi2,2,0)color77dd00;
stickline(rsi2<支撑,中间,rsi2,1,0)color88ff00;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,1,0)colorff00;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,8,0)color113300;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,7,0)color224400;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,6,0)color335500;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,5,0)color447700;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,4,0)color559900;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,3,0)color66aa00;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,2,0)color77dd00;
stickline(rsi2>=支撑 and rsi2<中间,中间,rsi2,1,0)color88ff00;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,2,0)colorred;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,9,0)color1133;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,8,0)color2244;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,7,0)color3355;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,6,0)color4477;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,5,0)color5599;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,4,0)color66aa;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,3,0)color77dd;
stickline(rsi2>=中间 and rsi2<压力,中间,rsi2,2,0)color88ff;
stickline(rsi2>=压力,中间,rsi2,2,0)colorred;
stickline(rsi2>=压力,中间,rsi2,8,0)color1133;
stickline(rsi2>=压力,中间,rsi2,7,0)color2244;
stickline(rsi2>=压力,中间,rsi2,6,0)color3355;
stickline(rsi2>=压力,中间,rsi2,5,0)color4477;
stickline(rsi2>=压力,中间,rsi2,4,0)color5599;
stickline(rsi2>=压力,中间,rsi2,3,0)color66aa;
stickline(rsi2>=压力,中间,rsi2,2,0)color77dd;
stickline(rsi2>=压力,中间,rsi2,1,0)color88ff;
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross ("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
drawtext(b3,rsi2,'底背');
b1:=rsi1>=rsi2 and rsi2>=rsi3;
s1:=rsi1<rsi2 and rsi2<rsi3;
bs1:=not(rsi1>=rsi2 and rsi2>=rsi3)and not(rsi1<rsi2 and rsi2<rsi3);
stickline(b1,80,82,2,1)colorred;
stickline(s1,80,82,2,1)colorgreen;
stickline(bs1,80,82,2,1)coloryellow;
短线:if(cross(a6,1) and (a6<30)and rsi2<35 and rsi2>=支撑 and rsi2<中间,30,20),colormagenta,linethick2;
aa:=vol/((high-low)*2-(abs(close-open)))*100;
主动买盘:=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));
买卖比:=主动买盘/主动卖盘;
卖盘:=vol-主动买盘;
卖盘大:=(卖盘-主动买盘)/卖盘>0.6;
买盘大:=(主动买盘-卖盘)/主动买盘>0.6;
wj:=(high+low+close)/3;
vd1:=if(high=low,1,high-max(open,close));
vd2:=if(high=low,1,max(close,open)-wj);
vd3:=if(high=low,1,min(open,close)-low);
vd4:=if(high=low,1,wj-min(close,open));
vd5:=vol/(if(high=low,4,high-low));
vd6:=vd1*vd5;
vd7:=vd2*vd5;
vd8:=vd3*vd5;
vd9:=vd4*vd5;
买入量:=vd9+vd8;
卖出量:=vd6+vd7;
卖量:=vol-买入量;
卖量大:=(卖量-买入量)/卖量>0.4;
买量大:=(买入量-卖量)/买入量>0.4;
买入资金:=买入量*close/100;
卖出资金:=卖出量*close/100;
资金进出:=买入资金-卖出资金;
买卖资金比:=买入资金/卖出资金;
drawtextex(close,1,1,100,'当日买量:'+numtostr(买入量[sysparam(1)],2)+'\n'+'当日卖量:'+numtostr(卖出量[sysparam(1)],2)+'\n'+'当日买卖量:'+numtostr(vol,2)+'\n'+'资金进出万元:'+numtostr(资金进出[sysparam(1)],2)+'\n'+'买入资金累计万元:'+numtostr(买入资金[sysparam(1)],2)+'\n'+'卖出资金累计万元:'+numtostr(卖出资金[sysparam(1)],2)),align4,coloryellow;
aa:=sum(if(close>ref(close,1) and vol>ref(vol,1),vol,0),2);
bb:=sum(if(close<ref(close,1) and vol<ref(vol,1),vol,0),2);
dd:=aa-bb;
x0:=if(dd>0 and (close/ref(close,1)-1)*100>0,amount/10000,0);
x1:=if(dd<0 and (close/ref(close,1)-1)*100<0,amount/10000,0);
ddx:(x0-x1)/finance(7)*close/100,linethick0;
ddx1:ema(ddx,0)*15.367;
ddx2:ma(ddx1,0);
ddx3:ma(ddx1,0);
天:=count(x0-x1>0,5);
drawtextex(close,1,380,30,'一周内翻红:'+numtostr(天,0)+' 天'),colorffdd00;
drawtextex(dd>=0,1,200,30,'大单动向:'+'↑'),colorffdd00;
drawtextex(dd<0,1,200,30,'大单动向:'+'↓'),colorffdd00;
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
p:=sysparam(1);
str1:=''+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日 '+wday[wd[p]+1];
drawtextex(close>0,1,650,30,str1),colorffdd00;
drawtextex(close,1,10,30,stklabel+' '+stkname+''),colorffbf00;
>>>使用本站搜索工具可以找到更多“超买超卖指标公式下载 飞狐超买超卖 源码 贴图”