DRAWGBK(CLOSE=CLOSE,COLORRGB(30,30,60),COLORRGB(30,30,60),1); 預測額:=IF(DATE<>CURRENTDATE OR OPENMINUTES(CURRENTTIME)=1,AMOUNT,(AMOUNT/OPENMINUTES(CURRENTTIME))*240), LINETHICK; n:=20; SAT:=IF((預測額/CLOSE)/(HHV(預測額,N)/HHV(CLOSE,N))*100>100,100,(預測額/CLOSE)/(HHV(預測額,N)/HHV(CLOSE,N))*100); 預測量:=IF(DATE<>CURRENTDATE OR OPENMINUTES(CURRENTTIME)=1,VOL,(VOL/OPENMINUTES(CURRENTTIME))*240), LINETHICK; 量:=VOL; V0001:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主買:IF(CLOSE>OPEN,V0001*(HIGH-LOW),IF(CLOSE<OPEN,V0001*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color6d0076,POINTDOT,LINETHICK0,PRECISION0; 主賣:IF(CLOSE>OPEN,0-V0001*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-V0001*(HIGH-LOW),0-VOL/2)),ColorFFD1BE,POINTDOT,LINETHICK0,PRECISION0; 凈買:主買+主賣,COLORMAGENTA,LINETHICK0,PRECISION0; 換手率:=VOL/CAPITAL*100; hs:=換手率; 量比:IF(BARPOS=DATACOUNT,DYNAINFO(17),VOL/REF(MA(VOL,5),1)),LINETHICK0,COLORYELLOW,PRECISION2; A:=MA(換手率,2); X:=LLV(A,20),linethick; X1:=(A-LLV(A,20))=0; 換手最小:=IF(ALL (A>0,5) AND FILTERX(X1,5),X1,0),COLORRED; 小天:BARSLAST(換手最小),LINETHICK,color008888; X2:=HHV(A,20); X3:=(A-X2)=0; 換手最大:=IF(ALL(REF(A,1)<X2,5) AND FILTERX(X3,5),1,0),COLORGREEN; STICKLINE(CLOSE<=REF(CLOSE,1) , VOL,0,8.5,0), Color808040; STICKLINE(CLOSE>REF(CLOSE,1), VOL,0,8.5,1) {ColorFF4D80}ColorFF87FF,LINETHICK2; STICKLINE(凈買>0,0,主買,5,0),color102088; STICKLINE(凈買>0,0,主買,4,0),color1020aa; STICKLINE(凈買>0,0,主買,3,0),color1020bb; STICKLINE(凈買>0,0,主買,2,0),color1020bb; STICKLINE(凈買>0,0,主買,1,0),color1020dd; STICKLINE(凈買>0,0,主買,0.5,0),color1020ee; STICKLINE(凈買<=0,0,主買,5,0),color102088; STICKLINE(凈買<=0,0,主買,4,0),color1020aa; STICKLINE(凈買<=0,0,主買,3,0),color1020bb; STICKLINE(凈買<=0,0,主買,2,0),color1020cc; STICKLINE(凈買<=0,0,主買,1,0),color1020dd; STICKLINE(凈買<=0,0,主買,0.5,0),color1020ee; STICKLINE(凈買>0,v,主買,5,0),COLORFF7700; STICKLINE(凈買>0,v,主買,4,0),COLORFF8811; STICKLINE(凈買>0,v,主買,3,0),COLORFFAA22; STICKLINE(凈買>0,v,主買,2,0),COLORFFBB33; STICKLINE(凈買>0,v,主買,1,0),COLORFFDD44; STICKLINE(凈買>0,v,主買,0.5,0),COLORFFFF55; STICKLINE(凈買<=0,v,主買,5,0),COLORFF7700; STICKLINE(凈買<=0,v,主買,4,0),COLORFF8811; STICKLINE(凈買<=0,v,主買,3,0),COLORFFAA22; STICKLINE(凈買<=0,v,主買,2,0),COLORFFBB33; STICKLINE(凈買<=0,v,主買,1,0),COLORFFDD44; STICKLINE(凈買<=0,v,主買,0.5,0),COLORFFFF55; STICKLINE(c,量比*15000,0,2,0),COLORYELLOW; {線形} h13:=HHV(MA(VOL,13),13),COLORGREEN; l13:=LLV(MA(VOL,5),13),COLORBROWN,LINETHICK2; PARTLINE(CLOSE,l13),COLORBROWN,LINETHICK2; PARTLINE(CLOSE,h13),COLORGREEN; mv5:MA(VOL,5),color8888FF,PRECISION0; mv13:MA(VOL,13),COLORMAGENTA,PRECISION0; mv34:MA(VOL,34),LINEDOT,COLORWHITE,PRECISION0; {信號和文字提示} PARTLINE(MA(SUM(主買,34),10)<SUM(主買,34),-300),COLORMAGENTA,LINETHICK2; PARTLINE(MA(SUM(主買,34),10)>=SUM(主買,34) ,-300),COLORBLUE,LINETHICK2; DRAWICON(MA(SUM(主買,34),10)>REF(MA(SUM(主買,34),10),1),-300,12); DRAWICON(MA(SUM(主買,34),10)<=REF(MA(SUM(主買,34),10),1),-300,11); 天量:=VOL=HHV(VOL,0); VERTLINE(天量),LINEDOT,COLORYELLOW; DRAWTEXT(REF(COUNT(VOL>l13,8)=8,1) and VOL<l13,VOL,'量\n縮'),COLORWHITE,ALIGN; DRAWTEXT(REF(COUNT(VOL<mv34,8)=8,1) and VOL>mv34,VOL,'量\n突'),COLORWHITE,ALIGN; F:=100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1); 今小昨:=IF(CLOSE<REF(OPEN,1) AND F<0,1,0); Sa1:=今小昨; 今小前:=IF(CLOSE<REF(OPEN,2) AND F<0,1,0),LINETHICK0; Sa2:=今小前; STICKLINE(Sa1=0 AND REF(Sa1,1)=1 AND Sa2=0 AND REF(Sa2,1)=1 AND CROSS(ZIG(3,3),REF(ZIG(3,3),1)),VOL*2,0,0.1,0),LINEDOT,colorFF00FF;//此信號是未來函數(shù) svol:=INTPART(SUM(VOL,0)/CAPITAL); tj0:=svol>REF(svol,1) or BARSSINCE(CLOSE)=0; S1:=BARSLAST(tj0)+1,PRECISION,COLORWHITE;//時間1 tj2:=S1<REF(S1,1);//取點 S2:=IF(tj2,REF(S1,1)+1,S1),PRECISION,COLORMAGENTA;//時間2 S3:=SUM(tj2,0),COLORMAGENTA; 階段總額(萬元):=SUM(AMOUNT/10000,S2)*100,PRECISION,LINETHICK,Color008BFA;//換手100%AMOUNT 階段總量(手):=SUM(VOL,S2)*100,PRECISION,LINETHICK,COLORCYAN;//換手100%VOL 階段成本(元):=(階段總額(萬元)/(階段總量(手)/100)),LINETHICK,PRECISION2,COLORRED; DRAWTEXT(BARPOS=SYSPARAM(2),HIGH,'■階段平均成本:'+NUMTOSTR(階段成本(元)[SYSPARAM(1)],2)+'(元)'),align4,COLORCYAN; {取點} Zk1:=STKINDI('' ,'kdj.k',0,7); Zd2:=STKINDI('' ,'kdj.d',0,7); ZF1:=STKINDI('' ,'macd.diff',0,7); ZA2:=STKINDI('' ,'macd.dea',0,7); {建倉統(tǒng)計} JCD:=FILTER(CROSS(Zk1,Zd2) and Zd2<30,13);{周KD金叉位置} 取點:=BARSLAST(JCD); 吸籌區(qū):=IF(取點>0 and 取點<61,取點,0); ZS1:=吸籌區(qū); ZS2:=吸籌區(qū)+1; ZS3:=換手率/5;{莊家籌碼估算} ZSA:=IF(ZS1>0,SUM((ZS3),吸籌區(qū)+1),0);{統(tǒng)計莊家籌碼} {控制畫線高度} n1:=SYSPARAM(3); nn:=n1-SYSPARAM(2)+1; hh:=HHV(VOL,nn); ll:=LLV(VOL,nn); 最高:=hh[n1]; 最低:=ll[n1]; 中:=最低+(最高-最低)*0.5; //PARTLINE(RANGE(BARPOS,SYSPARAM(2),SYSPARAM(1)+1) and ZS1>0,中),COLORCYAN,LINETHICK2;//建倉橫線 VERTLINE(JCD),LINEDOT,COLORRED;//建倉點豎線 {左側(cè)數(shù)字} 三日總換手:=SUM(換手率,3); 五日總換手:=SUM(換手率,5); 十日總換手:=SUM(換手率,10); 二十日總換手:=SUM(換手率,20); DRAWTEXTEX(CLOSE,1,120,60,'\n\n■十日總換手■'),COLORRED; DRAWTEXTEX(CLOSE,1,120,115,'\n\n今總:'+NUMTOSTR(十日總換手,2)+' %'+'\n'+'昨總:'+NUMTOSTR(REF(十日總換手,1),2)+' %'+'\n'+'前總:' +NUMTOSTR(REF(十日總換手,2),2)+' %'+'\n'+'前一:'+NUMTOSTR(REF(十日總換手,3),2)+' %'+'\n'+'前二:'+NUMTOSTR(REF(十日總換手,4),2)+' %'),colorFFFF; DRAWTEXTEX(CLOSE,1,120,390,'\n\n■二十日總換手■'),COLORRED; DRAWTEXTEX(CLOSE,1,120,435,'\n\n今總:'+NUMTOSTR(二十日總換手,2)+' %'+'\n'+'昨總:'+NUMTOSTR(REF(二十日總換手,1),2)+' %'+'\n'+'前總:' +NUMTOSTR(REF(二十日總換手,2),2)+' %'+'\n'+'前一:'+NUMTOSTR(REF(二十日總換手,3),2)+' %'+'\n'+'前二:'+NUMTOSTR(REF(二十日總換手,4),2)+' %'),COLORWHITE; DRAWTEXTEX(CLOSE,1,1,60,'\n\n■三日總換手■'),COLORRED; DRAWTEXTEX(CLOSE,1,1,115,'\n\n今總:'+NUMTOSTR(三日總換手,2)+' %'+'\n'+'昨總:'+NUMTOSTR(REF(三日總換手,1),2)+' %'+'\n'+'前總:' +NUMTOSTR(REF(三日總換手,2),2)+' %'+'\n'+'前一:'+NUMTOSTR(REF(三日總換手,3),2)+' %'+'\n'+'前二:'+NUMTOSTR(REF(三日總換手,4),2)+' %'),colorFFFF; DRAWTEXTEX(CLOSE,1,1,390,'\n\n■五日總換手■'),COLORRED; DRAWTEXTEX(CLOSE,1,1,435,'\n\n今總:'+NUMTOSTR(五日總換手,2)+' %'+'\n'+'昨總:'+NUMTOSTR(REF(五日總換手,1),2)+' %'+'\n'+'前總:' +NUMTOSTR(REF(五日總換手,2),2)+' %'+'\n'+'前一:'+NUMTOSTR(REF(五日總換手,3),2)+' %'+'\n'+'前二:'+NUMTOSTR(REF(五日總換手,4),2)+' %'),COLORWHITE; {可移動變化數(shù)字} DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(1)&&SYSPARAM(1)>ZS1,中*2.5,' ■主力建倉天數(shù):'+NUMTOSTR(ZS1[SYSPARAM(1)],0)+'(天)'),PXDN30,align2,COLORYELLOW; DRAWTEXT(BARSCOUNT(CLOSE)=SYSPARAM(1)&&SYSPARAM(1)>ZS1,中*2.5,' \n■估算主力籌碼:'+NUMTOSTR(ZSA[SYSPARAM(1)],2)+'%'),PXDN30,align2,COLORMAGENTA; DRAWICON(FILTER(CROSS(ZF1,ZA2),5),0,4),align; DRAWICON(FILTER(CROSS(Zk1,Zd2),5),0,8),align; DRAWICON(FILTER(CROSS(Zd2,Zk1),5),0,9),align; DRAWTEXT(SYSPARAM(1)=BARPOS,中*2.5,' \n \n■爆發(fā)力度: '+NUMTOSTR(sat[SYSPARAM(1)],2)),COLORRED,PXDN30,align2; STICKLINE(SAT>REF(SAT,1)+5 AND VOL>REF(VOL,1),REF(VOL,1)*0.98,REF(VOL,1),10,0),COLORWHITE; VERTLINE(ALL (A>0,5) AND FILTERX(X1,5)),COLORRED; DRAWTEXT(SYSPARAM(1)=BARPOS and ALL(A>0,5) AND FILTERX(X1,5),10,'■換手特小'),COLORRED,align4; DRAWTEXT(SYSPARAM(1)=BARPOS and ALL(REF(A,1)<X2,5) AND FILTERX(X3,5),10,'■換手過大'),COLORGREEN,align4; 換手極低:=hs<=1; 換手冷清:=hs>1 and hs<=3; 換手正常:=hs>3 and hs<=5; 換手活躍:=hs>5 and hs<=9; 換手熱烈:=hs>9 and hs<=13; 換手旺盛:=hs>13 and hs<=20; 換手過熱:=hs>20 and hs<30; 換手異常:=hs>=30; DRAWTEXT(換手極低 AND BARPOS=SYSPARAM(1),中*2.5,' \n \n \n■換手極低:'+NUMTOSTR(換手率[SYSPARAM(1)],2)+'% '),PXDN30,align2,COLORGRAY; DRAWTEXT(換手冷清 AND BARPOS=SYSPARAM(1),中*2.5,' \n \n \n■換手冷清:'+NUMTOSTR(換手率[SYSPARAM(1)],2)+'% '),PXDN30,align2,COLORBLUE; DRAWTEXT(換手正常 AND BARPOS=SYSPARAM(1),中*2.5,' \n \n \n■換手正常:'+NUMTOSTR(換手率[SYSPARAM(1)],2)+'% '),PXDN30,align2,COLORWHITE; DRAWTEXT(換手活躍 AND BARPOS=SYSPARAM(1),中*2.5,' \n \n \n■換手活躍:'+NUMTOSTR(換手率[SYSPARAM(1)],2)+'% '),PXDN30,align2,COLORYELLOW; DRAWTEXT(換手熱烈 AND BARPOS=SYSPARAM(1),中*2.5,' \n \n \n■換手熱烈:'+NUMTOSTR(換手率[SYSPARAM(1)],2)+'% '),PXDN30,align2,COLORRED; DRAWTEXT(換手旺盛 AND BARPOS=SYSPARAM(1),中*2.5,' \n \n \n■換手旺盛:'+NUMTOSTR(換手率[SYSPARAM(1)],2)+'% '),PXDN30,align2,COLORMAGENTA; DRAWTEXT(換手過熱 AND BARPOS=SYSPARAM(1),中*2.5,' \n \n \n■換手過熱:'+NUMTOSTR(換手率[SYSPARAM(1)],2)+'% '),PXDN30,align2,COLORBROWN; DRAWTEXT(換手異常 AND BARPOS=SYSPARAM(1),中*2.5,' \n \n \n■換手異常:'+NUMTOSTR(換手率[SYSPARAM(1)],2)+'% '),PXDN30,align2,COLORGREEN; 比率:=(預測量-REF(VOL,1))/REF(VOL,1)*100; DRAWTEXT(預測量>REF(VOL,1) and BARPOS=SYSPARAM(1),中*2.5, ' \n \n \n \n ■預測量:'+NUMTOSTR(預測量[SYSPARAM(1)],0)+'(+'+NUMTOSTR(比率[SYSPARAM(1)],2)+'% '+')'),PXDN30,align2,COLORRED; DRAWTEXT(預測量<=REF(VOL,1) and BARPOS=SYSPARAM(1),中*2.5, ' \n \n \n \n ■預測量:'+NUMTOSTR(預測量[SYSPARAM(1)],0)+'(-'+NUMTOSTR(比率[SYSPARAM(1)],2)+'% '+')'),PXDN30,align2,COLORGREEN; {界定右側(cè)字符區(qū)域} STICKLINE(ISLASTBAR AND CLOSE>0,中*2.1,中*2.1,12,0),COLORWHITE,SHIFT1; STICKLINE(ISLASTBAR AND CLOSE>0,中*2.1,中*2.1,12,0),COLORWHITE,SHIFT2; STICKLINE(ISLASTBAR AND CLOSE>0,中*2.1,中*2.1,12,0),COLORWHITE,SHIFT3; STICKLINE(ISLASTBAR AND CLOSE>0,中*2.1,中*2.1,12,0),COLORWHITE,SHIFT4; STICKLINE(ISLASTBAR AND CLOSE>0,中*2.1,中*2.1,12,0),COLORWHITE,SHIFT5; STICKLINE(ISLASTBAR AND CLOSE>0,中*1.5,中*1.5,12,0),COLORYELLOW,SHIFT1; STICKLINE(ISLASTBAR AND CLOSE>0,中*1.5,中*1.5,12,0),COLORYELLOW,SHIFT2; STICKLINE(ISLASTBAR AND CLOSE>0,中*1.5,中*1.5,12,0),COLORYELLOW,SHIFT3; STICKLINE(ISLASTBAR AND CLOSE>0,中*1.5,中*1.5,12,0),COLORYELLOW,SHIFT4; STICKLINE(ISLASTBAR AND CLOSE>0,中*1.5,中*1.5,12,0),COLORYELLOW,SHIFT5; STICKLINE(ISLASTBAR AND CLOSE>0,中*0.9,中*0.9,12,0),COLORRED,SHIFT1; STICKLINE(ISLASTBAR AND CLOSE>0,中*0.9,中*0.9,12,0),COLORRED,SHIFT2; STICKLINE(ISLASTBAR AND CLOSE>0,中*0.9,中*0.9,12,0),COLORRED,SHIFT3; STICKLINE(ISLASTBAR AND CLOSE>0,中*0.9,中*0.9,12,0),COLORRED,SHIFT4; STICKLINE(ISLASTBAR AND CLOSE>0,中*0.9,中*0.9,12,0),COLORRED,SHIFT5; {5日換手柱狀右側(cè)顯示} STICKLINE(ISLASTBAR AND FINANCE(7)/10000<1,0,REF(hs,4)*5000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<1,0,REF(hs,3)*5000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<1,0,REF(hs,2)*5000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<1,0,REF(hs,1)*5000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<1,0,hs*5000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<2 and FINANCE(7)/10000>=1,0,REF(hs,4)*10000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<2 and FINANCE(7)/10000>=1,0,REF(hs,3)*10000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<2 and FINANCE(7)/10000>=1,0,REF(hs,2)*10000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<2 and FINANCE(7)/10000>=1,0,REF(hs,1)*10000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<2 and FINANCE(7)/10000>=1,0,hs*10000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<4 and FINANCE(7)/10000>=2,0,REF(hs,4)*20000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<4 and FINANCE(7)/10000>=2,0,REF(hs,3)*20000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<4 and FINANCE(7)/10000>=2,0,REF(hs,2)*20000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<4 and FINANCE(7)/10000>=2,0,REF(hs,1)*20000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<4 and FINANCE(7)/10000>=2,0,hs*20000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<6 and FINANCE(7)/10000>=4,0,REF(hs,4)*30000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<6 and FINANCE(7)/10000>=4,0,REF(hs,3)*30000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<6 and FINANCE(7)/10000>=4,0,REF(hs,2)*30000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<6 and FINANCE(7)/10000>=4,0,REF(hs,1)*30000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<6 and FINANCE(7)/10000>=4,0,hs*30000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<9 and FINANCE(7)/10000>=6,0,REF(hs,4)*45000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<9 and FINANCE(7)/10000>=6,0,REF(hs,3)*45000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<9 and FINANCE(7)/10000>=6,0,REF(hs,2)*45000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<9 and FINANCE(7)/10000>=6,0,REF(hs,1)*45000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<9 and FINANCE(7)/10000>=6,0,hs*45000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<12 and FINANCE(7)/10000>=9,0,REF(hs,4)*65000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<12 and FINANCE(7)/10000>=9,0,REF(hs,3)*65000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<12 and FINANCE(7)/10000>=9,0,REF(hs,2)*65000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<12 and FINANCE(7)/10000>=9,0,REF(hs,1)*65000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<12 and FINANCE(7)/10000>=9,0,hs*65000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<20 and FINANCE(7)/10000>=12,0,REF(hs,4)*90000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<20 and FINANCE(7)/10000>=12,0,REF(hs,3)*90000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<20 and FINANCE(7)/10000>=12,0,REF(hs,2)*90000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<20 and FINANCE(7)/10000>=12,0,REF(hs,1)*90000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000<20 and FINANCE(7)/10000>=12,0,hs*90000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=20 AND FINANCE(7)/10000<35,0,REF(hs,4)*150000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=20 AND FINANCE(7)/10000<35,0,REF(hs,3)*150000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=20 AND FINANCE(7)/10000<35,0,REF(hs,2)*150000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=20 AND FINANCE(7)/10000<35,0,REF(hs,1)*150000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=20 AND FINANCE(7)/10000<35,0,hs*150000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=35 AND FINANCE(7)/10000<50,0,REF(hs,4)*250000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=35 AND FINANCE(7)/10000<50,0,REF(hs,3)*250000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=35 AND FINANCE(7)/10000<50,0,REF(hs,2)*250000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=35 AND FINANCE(7)/10000<50,0,REF(hs,1)*250000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=35 AND FINANCE(7)/10000<50,0,hs*250000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=50 AND FINANCE(7)/10000<100,0,REF(hs,4)*550000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=50 AND FINANCE(7)/10000<100,0,REF(hs,3)*550000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=50 AND FINANCE(7)/10000<100,0,REF(hs,2)*550000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=50 AND FINANCE(7)/10000<100,0,REF(hs,1)*550000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=50 AND FINANCE(7)/10000<100,0,hs*550000,8,0),SHIFT1,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=100,0,REF(hs,4)*1000000,8,0),SHIFT5,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=100,0,REF(hs,3)*1000000,8,0),SHIFT4,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=100,0,REF(hs,2)*1000000,8,0),SHIFT3,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=100,0,REF(hs,1)*1000000,8,0),SHIFT2,color1472FF; STICKLINE(ISLASTBAR AND FINANCE(7)/10000>=100,0,hs*1000000,8,0),SHIFT1,color1472FF; {五日換手數(shù)字} DRAWTEXT(ISLASTBAR AND CLOSE>0,中*0.8,'一換'+'\n'+NUMTOSTR(hs,2)),ALIGN,SHIFT1,COLORWHITE; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*0.8,'二換'+'\n'+NUMTOSTR(REF(hs,1),2)),ALIGN,SHIFT2,COLORWHITE; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*0.8,'三換'+'\n'+NUMTOSTR(REF(hs,2),2)),ALIGN,SHIFT3,COLORWHITE; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*0.8,'四換'+'\n'+NUMTOSTR(REF(hs,3),2)),ALIGN,SHIFT4,COLORWHITE; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*0.8,'五換'+'\n'+NUMTOSTR(REF(hs,4),2)),ALIGN,SHIFT5,COLORWHITE; {五日量比數(shù)字} DRAWTEXT(ISLASTBAR AND CLOSE>0,中*1.4,'今日'+'\n'+'量比'+'\n'+NUMTOSTR(量比,2)),ALIGN,SHIFT1,COLORGREEN; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*1.4,'昨日'+'\n'+'量比'+'\n'+NUMTOSTR(REF(量比,1),2)),ALIGN,SHIFT2,COLORGREEN; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*1.4,'前日'+'\n'+'量比'+'\n'+NUMTOSTR(REF(量比,2),2)),ALIGN,SHIFT3,COLORGREEN; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*1.4,'前一'+'\n'+'量比'+'\n'+NUMTOSTR(REF(量比,3),2)),ALIGN,SHIFT4,COLORGREEN; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*1.4,'前二'+'\n'+'量比'+'\n'+NUMTOSTR(REF(量比,4),2)),ALIGN,SHIFT5,COLORGREEN; {三日買盤和增比數(shù)字} 主買比:=(主買-ref(主買,1))/ref(主買,1); 昨主買比:=(ref(主買,1)-ref(主買,2))/ref(主買,2); 前主買比:=(ref(主買,2)-ref(主買,3))/ref(主買,3); DRAWTEXT(ISLASTBAR AND CLOSE>0,中*2.0,'現(xiàn)主買'+'\n'+NUMTOSTR(主買,0)+'\n'+'增'+NUMTOSTR(主買比,2)),ALIGN,SHIFT1,COLORRED; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*2.0,'昨主買'+'\n'+NUMTOSTR(ref(主買,1),0)+'\n'+'增'+NUMTOSTR(昨主買比,2)),ALIGN,SHIFT3,COLORRED; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*2.0,'前主買'+'\n'+NUMTOSTR(ref(主買,2),0)+'\n'+'增'+NUMTOSTR(前主買比,2)),ALIGN,SHIFT5,COLORRED; {三日凈買數(shù)字} DRAWTEXT(ISLASTBAR AND CLOSE>0,中*2.5,'現(xiàn)凈買'+'\n'+NUMTOSTR(凈買,0)),ALIGN,SHIFT1,coloryellow; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*2.5,'昨凈買'+'\n'+NUMTOSTR(ref(凈買,1),0)),ALIGN,SHIFT3,coloryellow; DRAWTEXT(ISLASTBAR AND CLOSE>0,中*2.5,'前凈買'+'\n'+NUMTOSTR(ref(凈買,2),0)),ALIGN,SHIFT5,coloryellow; |
聯(lián)系客服