|
马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
//饱和度的兄弟
input:N(20,1,100);
P:=SYSPARAM(1);
获利盘:=(WINNER(CLOSE) * 100);
套牢盘:=(100 - (WINNER(CLOSE) * 100));
STICKLINE(BARPOS=DATACOUNT-3,1,121,20,1),colorFFFFFF;
STICKLINE(BARPOS=DATACOUNT-6,1,121,20,1),colorFFFFFF;
DRAWTEXTEX(sysparam(3)=BARPOS,0,2,37,'【获利盘比例】:'+NUMTOSTR(获利盘[SYSPARAM(1)],2)+'% '),colorFFaaff;
DRAWTEXTEX(sysparam(3)=BARPOS,0,150,37,'【套牢盘比例】:'+NUMTOSTR(套牢盘[SYSPARAM(1)],2)+'% '),colorFFee00;
STICKLINE(BARPOS=DATACOUNT-6,1,获利盘[p],18,0),colorFFaaff;
DRAWTEXT(BARPOS=DATACOUNT-8,获利盘[p],'获利盘:'+NUMTOSTR(获利盘[SYSPARAM(1)],0)),colorFFaaff,align0,PXUP30;
STICKLINE(BARPOS=DATACOUNT-3,1,套牢盘[p],18,0),colorFF1100;
DRAWTEXT(BARPOS=DATACOUNT-5,套牢盘[p],'套牢盘:'+NUMTOSTR(套牢盘[SYSPARAM(1)],0)),colorFFcc00,align0,PXUP30;
SAT:IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100),color00FF00;
partline(SAT>REF(SAT,1),SAT),colorFF00FF,LINETHICK1;
STICKLINE(((CLOSE > 0) AND BARSTATUS=2),1,121,20,1),colorFFFFFF;
STICKLINE(BARPOS=DATACOUNT,1,SAT[p],18,0),COLORRED;
DRAWTEXT(BARPOS=DATACOUNT,SAT[p],'量能饱和度:'+NUMTOSTR(SAT[SYSPARAM(1)],0)),COLORccffcc,align0,PXUP30;
DRAWTEXTEX(sysparam(3)=BARPOS,0,5,10,'(一)根据量大成头的原理,当【量能饱和度】出现饱和,而当前股价正巧位于一处高价区时,暗示该价位成为该时期峰顶的机率将会大幅增加。'),COLORYELLOW;
DRAWTEXTEX(sysparam(3)=BARPOS,0,5,24,'(二)根据【爆发力】原理,当【量能饱和度】在一处股价的低价区出现饱和时,该价位便很可能成为一处起涨点。'),COLORYELLOW;
|
|