飞狐量能饱和度副图指标
-
相关简介:飞狐量能饱和度副图指标 源码 input:N(20,1,100); DRAWGBK(CLOSE,COLORRGB(5,2,0),COLORRGB(5,2,0),1); {时间} BB:=BARPOS=SYSPARAM(1); variable:wday[7]='星期六'; wday[1]:='星期日'; wday[2]:='星期一'; wday[3]:='星期二'; wday[4]:='星期三'; wday[5]:='星期四'; wday[6]:='星期五'; fy:=YEAR; fm:=MON
-
文章来源:股海网作者:股海网发布时间:2016-05-07浏览次数:
飞狐量能饱和度副图指标
源码
input:N(20,1,100);
DRAWGBK(CLOSE,COLORRGB(5,2,0),COLORRGB(5,2,0),1);
{时间}
BB:=BARPOS=SYSPARAM(1);
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:='
drawtext(barpos=sysparam(2),c,str1),ALIGN5,COLORGREEN;
str2:='╭☆╯乐乐盗用╰☆╮';
DRAWTEXT(barpos=p,H,'\n \n \n \n \n' +str2),ALIGN4,COLOR0088FF,PXDN2;
DRAWTEXT(barpos=p,H,'\n \n \n \n \n' +str2),ALIGN4,COLOR0088FF,PXDN1;
SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100);
饱和度:SAT,PRECISION2,COLORYELLOW;
STICKLINE(((CLOSE> 0) AND BARpos=sysparam(1)),0,101,10,1),COLORWHITE;
STICKLINE(((SAT <= 5) AND BARpos=sysparam(1)),1,(SAT),8,0),COLORWHITE;
STICKLINE((((SAT > 5) AND (SAT <= 20)) AND BARpos=sysparam(1)),1,(SAT),8,0),COLORGREEN;
STICKLINE((((SAT >20) AND (SAT <= 40)) AND BARpos=sysparam(1)),1,(SAT),8,0),COLORMAGENTA;
STICKLINE(((SAT
DRAWTEXT(SAT AND BARPOS=SYSPARAM(1),111,'量能饱和度:
DRAWNUMBER(SAT AND BARPOS=SYSPARAM(1),111,SAT,0),ALIGN2,COLORGREEN;
ma(SAT,4),PRECISION2,COLORRED;
100,POINTDOT,COLORFFFF00;
115,COLORBLACK;
量能饱和度:SAT=100,LINETHICK0;
drawicon(量能饱和度,SAT*0.95,12);
DRAWTEXT(量能饱和度,SAT*0.95,'饱\n和'),COLORFFFF00;
EXPLAIN(1,'量能饱和度:'+NUMTOSTR(SAT[系统参数(1)],0)),LINETHICK6,COLORccffcc;
EXPLAIN(1,'(一)根据量大成头的原理,当【量能饱和度】出现饱和,而当前股价正巧位于一处高价区时,暗示该价位成为该时期峰顶的机率将会大幅增加。'),COLORYELLOW,ALIGN2;
EXPLAIN(1,'(二)根据【爆发力】原理,当【量能饱和度】在一处股价的低价区出现饱和时,该价位便很可能成为一处起涨点。'),COLORYELLOW,ALIGN2;