分時(shí)交易 A1:=(VOL/CLOSE)/2; A2:=SUM(IF(A1>100 AND CLOSE>ref(CLOSE,1),A1,0),0); A3:=SUM(IF(A1>100 AND CLOSE<ref(CLOSE,1),A1,0),0); A4:=SUM(IF(A1<100 AND CLOSE>ref(CLOSE,1),A1,0),0); A5:=SUM(IF(A1<100 AND CLOSE<ref(CLOSE,1),A1,0),0); 機(jī)構(gòu)買盤:A2,LINETHICK3, COLORRED; 機(jī)構(gòu)賣盤:A3,LINETHICK3,COLORGREEN; 散戶買盤:A4,COLORMAGENTA; 散戶賣盤:A5,COLORWHITE; 機(jī)構(gòu)買:CROSS(機(jī)構(gòu)買盤,機(jī)構(gòu)賣盤); DRAWTEXT(機(jī)構(gòu)買,機(jī)構(gòu)買盤,'★'),COLORRED; 機(jī)構(gòu)賣:CROSS(機(jī)構(gòu)賣盤,機(jī)構(gòu)買盤); DRAWTEXT(機(jī)構(gòu)賣,機(jī)構(gòu)賣盤,'☆'),COLORWHITE; {本文來源:小牛股票公式網(wǎng)www_028588_com } 分時(shí)奧秘 多 :( 1*(EMA(c,21) - EMA(c,453)))*10 ,precis1, colorwhite; 空 :(eMA(多,55))*1,precis1,coloryelLOW; 界:(2),precis1,colorcyan; 軸:(0),precis1,colorblue; tp:=cross(多,界); tp1:=cross(多,空) AND 空>=0; DRAWTEXT(TP ,5,'追'),coloryelLOW,LINETHICK0; DRAWTEXT(TP1 ,10,'買'),COLORgreen,LINETHICK1; 分時(shí)漲停 交易:=((SUM(if(time>93000,transactvol(1,0),0),0)-SUM(if(time>93000,transactvol(2,0),0),0))/(SUM(if(time>93000,transactvol(1,0),0),0)+SUM(if(time>93000,transactvol(2,0),0),0))); k8:=barslast(SUM(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0)>llv(SUM(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0),0))<3 and barslast(SUM(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0)>llv(SUM(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0),0))<3; k11:=barslast(SUM(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0)>0)<3 and barslast(SUM(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0)>0)<3; k14:=barslast(SUM(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0)>=hhv(SUM(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0),0))<3 and barslast(SUM(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0)>=hhv(SUM(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0),0))<3; k17:=high/dynainfo(4)<(1+3/100); k22:=barslast(cross(交易,0))<3 and LAST(交易>0)>1; k23:=barslast(cross(SUM(if(time>93000,transactnum(1,0)-transactnum(2,0),0),0),SUM(if(time>93000,ORDERNUM(2,0)-ORDERNUM(1,0),0),0)))<3; k25:=k17 and k22 and k23 and k14 and k8 and k11; 主動買:=transactvol(1,0)/10000; 主動賣:=transactvol(2,0)/10000; 主動買量:=SUM(主動買,0); 主動賣量:=SUM(主動賣,0); 主動凈量:=主動買量-主動賣量; 分時(shí)主動率:(主動買量-主動賣量)/(主動買量+主動賣量),COLORYELLOW; vertline(k25,0),LINETHICK3,coloryelLOW; FILLRGN(0,分時(shí)主動率,分時(shí)主動率>0,rgb(80,0,0),分時(shí)主動率<=0,rgb(0,55,55)),LINETHICK2,PRE |
|