飞狐爆发力度指标公式
2020/2/16 18:24:02
n:=20;
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:=' '+'今日: '+NUMTOSTR(FY[P],0)+'年'+NUMTOSTR(FM[P],0)+'月'+NUMTOSTR(FD[P],0)+'日 '+WDAY[WD[P]+1];
DRAWTEXT(BARPOS=SYSPARAM(2),CLOSE,STR1),ALIGN5,colorFF00;
STR2:='╭☆╯爆发力╰☆╮';
DRAWTEXT(BARPOS=P,HIGH,'\n \n \n \n \n'+STR2),ALIGN4,PXDN2,color88FF;
DRAWTEXT(BARPOS=P,HIGH,'\n \n \n \n \n'+STR2),ALIGN4,PXDN1,color88FF;
SAT:=IF(AMOUNT/CLOSE/(HHV(AMOUNT,N)/HHV(CLOSE,N))*100>100,100,AMOUNT/CLOSE/(HHV(AMOUNT,N)/HHV(CLOSE,N))*100);
饱和度:=SAT;
STICKLINE(CLOSE>0 AND BARPOS=SYSPARAM(1),0,101,10,1),colorFFFFFF;
STICKLINE(SAT<=5 AND BARPOS=SYSPARAM(1),1,SAT,8,0),colorFFFFFF;
STICKLINE(SAT>5 AND SAT<=20 AND BARPOS=SYSPARAM(1),1,SAT,8,0),colorFF00;
STICKLINE(SAT>20 AND SAT<=40 AND BARPOS=SYSPARAM(1),1,SAT,8,0),colorFF00FF;
STICKLINE(SAT>40 AND BARPOS=SYSPARAM(1),1,SAT,8,0),colorFF;
DRAWTEXT(SAT AND BARPOS=SYSPARAM(1),111,'爆发力度: '),ALIGN2,color88FF;
DRAWNUMBER(SAT AND BARPOS=SYSPARAM(1),111,SAT,0),ALIGN2,colorFF00;
100,POINTDOT,colorFFFF00;
115,color10000;
爆发力度:SAT=100,LINETHICK0;
看 股吧公式 www.kan guba.com
其它股票公式列表