以下是超级量能
C/C++ Code复制内容到剪贴板公式内有未来函数,大家小心使用 {超级量能} INPUT:N(20,1,100); SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N)); 饱和度:IF(SAT>1,1,SAT)*100,Culor9368FF,PRECIS0,LINETHICK0; STICKLINE(C>0 AND BARSTATUS=2,5,100,10,1),COLORWHITE; 起点量能≤5:STICKLINE(饱和度<=5 AND BARSTATUS=2,5,饱和度+20,6,0),COLORRED; 温和量5~80:STICKLINE((饱和度>5 AND 饱和度< 80) AND BARSTATUS=2,5,饱和度+8,6,0),COLOR5290FF; 警量80~97:STICKLINE((饱和度>80 AND 饱和度< 97) AND BARSTATUS=2,5,饱和度,6,0),COLORFFCC00; 放量≥97:STICKLINE(饱和度>=97 AND BARSTATUS=2,5,饱和度,8,0),COLORGREEN; IF BARSTATUS=2 AND(饱和度) THEN BEGIN DRAWTEXTABS(550,60,’■量能饱和度:’+NUMTOSTRN(饱和度,0)+’%’),Culor9368FF;END; K:=(DATE < 1341230); XD1:=INDEXO; XD2:=INDEXH; XD3:=INDEXL; XD4:=INDEXC; 对应指数开盘:=INDEXO; 盘中最高点位:=INDEXH; 盘中最低点位:=INDEXL; 收盘点位:=INDEXC; 大盘资金增减:=(100 * ((INDEXV / REF(INDEXV,1)) – 1)); 大盘上涨家数:=INDEXADV; 平盘家数:=DYNAINFO(68); 大盘下跌家数:=INDEXDEC; 昨收盘:=DYNAINFO(3); 今开盘:=DYNAINFO(4); 涨幅:=DYNAINFO(14)*100; JJ:=(((XD4 + XD2) + XD3) / 3); A:=EMA(JJ,10); B:=REF(A,1); 买卖决策:=B; DRAWTEXTABS(20,10,’【大盘盘口动态观察】’),Culor00FFFF; DRAWTEXTABS(20,25,’对应个股开盘:’+对应指数开盘+’点’),Culor00FFFF; DRAWTEXTABS(20,40,’盘中最高点位:’+盘中最高点位+’点’),Culor00FFFF; DRAWTEXTABS(20,55,’盘中最低点位:’+盘中最低点位+’点’),Culor00FFFF; DRAWTEXTABS(20,70,’■大盘资金增减:’+NUMTOSTRN(大盘资金增减,0)+’%’),Culor00FF00; DRAWTEXTABS(20,85,’大盘今日上涨:’+大盘上涨家数+’家’),Culor00FFFF; DRAWTEXTABS(20,100,’大盘今日平盘:’+平盘家数+’家’),Culor00FFFF; DRAWTEXTABS(20,115,’大盘今日下跌:’+NUMTOSTRN(大盘下跌家数,0)+’家’),Culor00FFFF; 买入委托成交:=ORDER(1); 卖出委托成交:=ORDER(2); 当日成交总量:=DYNAINFO(8); 成交总金额:=DYNAINFO(10)/10000; 主动卖盘:=DYNAINFO(22); 主动买盘:=DYNAINFO(23); 成交笔数:=TICKCOUNT; 每笔手数:=DYNAINFO(53); DRAWTEXTABS(20,130,’【个股盘口成交量观察】’),CulorD3A9FF; DRAWTEXTABS(20,145,’日成交总量:’+NUMTOSTRN(当日成交总量,0)+’手’),CulorD3A9FF; DRAWTEXTABS(20,160,’日主动买入量:’+NUMTOSTRN(主动买盘,0)+’手’),CulorD3A9FF; DRAWTEXTABS(20,175,’日主动卖出量:’+NUMTOSTRN(主动卖盘,0)+’手’),CulorD3A9FF; DRAWTEXTABS(20,190,’■当前成交概况:’+NUMTOSTRN(成交笔数,0)+’笔’),Culor00FF00; DRAWTEXTABS(20,205,’每笔成交:’+NUMTOSTRN(每笔手数,1)+’手’),CulorD3A9FF; DRAWTEXTABS(20,220,’买入下单委托成交:’+NUMTOSTRN(买入委托成交,0)+’单’),CulorD3A9FF; DRAWTEXTABS(20,235,’卖出下单委托成交:’+NUMTOSTRN(卖出委托成交,0)+’单’),CulorD3A9FF; {换手率–成交量–委卖委买量:综合分析} n1:=barslast(cross(c,MA(c,60))); n2:=barslast(cross(MA(c,60),c)); 强势股排序:if(n1<n2,n1+1,0),PRECIS0,Culor00FFFF,LINETHICK0; 日换手率:=DYNAINFO(37)*100; 5日换手率:sum(100*v/capital,5),CulorFFFFFF,PRECIS0,LINETHICK0; 5日均量:DYNAINFO(38),CulorFFFFFF,PRECIS0,LINETHICK0; 大单20万买入:DYNAINFO(94)*100,CulorFFFFFF,PRECIS0,LINETHICK0; 大单20万卖出:=DYNAINFO(97)*100; 50万大单买入:BIGORDER(1,3)*100,CulorFFFFFF,PRECIS0,LINETHICK0; 卖出50万委托单:=BIGORDER(2,3)*100; 建仓成本:=MAXCYC; 压力位:=DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE2(37)))*1.12; avgbpx:=DYNAINFO(87); avgopx:=DYNAINFO(88); tbqty:=DYNAINFO(89); toqty:=DYNAINFO(90); bq:=DYNAINFO(89)/capital; oq:=DYNAINFO(90)/capital; bm:=tbqty/((DYNAINFO(7)-avgbpx)*2/DYNAINFO(7)*100); om:=toqty/((avgopx-DYNAINFO(7))*2/DYNAINFO(7)*100); bd:=(DYNAINFO(7)-avgbpx)/(avgopx-avgbpx)*120; od:=(avgopx-DYNAINFO(7))/(avgopx-avgbpx)*120; gy:=max(bm,om); DRAWTEXTABS(200,10,’【换手率–成交量–委卖委买量:综合分析】’),CulorFFFF00; DRAWTEXTABS(200,25,’委卖→总量:’+str(toqty)+’ 占流通盘比例:’+str(oq*100)+’%’+’ 密度:’+str(INTPART(om))+’手 价宽:’+str(max(0,avgopx*2-DYNAINFO(7)*2))+’元 ‘+str(max(0,avgopx/DYNAINFO(7)*200-200))+’%’),CulorFFFF00,layer0; DRAWTEXTABS(200,40,’委买→总量:’+str(tbqty)+’ 占流通盘比例:’+str(bq*100)+’%’+’ 密度:’+str(INTPART(bm))+’手 价宽:’+str(if(avgbpx=0,0,DYNAINFO(7)*2-avgbpx*2))+’元 ‘+str(max(0,DYNAINFO(7)/avgbpx*200-200))+’%’),CulorFFFF00,layer0; DRAWTEXTABS(200,55,’委卖委买比:’+str((tbqty-toqty)/(tbqty+toqty)*100)+’%→’),layer0,Culor0000FF; DRAWTEXTABS(200,85,’■个股对应大盘买卖决策点位:’+NUMTOSTRN(买卖决策,2)+’点’),Culor00FF00; DRAWTEXTABS(200,155,’日换手率:’+NUMTOSTRN(日换手率,1)+’%’),CulorFFFF00; DRAWTEXTABS(200,110,’日成交总金额:’+NUMTOSTRN(成交总金额,0)+’万元’),CulorFFFF00; DRAWTEXTABS(200,125,’20万大单买入:’+NUMTOSTRN(大单20万买入,0)+’%’),CulorFFFF00; DRAWTEXTABS(200,140,’20万大单卖出:’+NUMTOSTRN(大单20万卖出,0)+’%’),CulorFFFF00; DRAWTEXTABS(495,100,’50万大单买入:’+NUMTOSTRN(50万大单买入,0)+’%’),CulorFFFF00; DRAWTEXTABS(580,100,’50万大单卖出:’+NUMTOSTRN(卖出50万委托单,0)+’%’),CulorFFFF00; DRAWTEXTABS(390,155,’5日换手率:’+NUMTOSTRN(5日换手率,1)+’%’),CulorFFFF00; DRAWTEXTABS(200,170,’5日均量:’+NUMTOSTRN(5日均量,0)+’手’),CulorFFFF00; DRAWTEXTABS(390,170,’平均成本:’+NUMTOSTRN(建仓成本,2)+’元’),CulorFFFF00; DRAWTEXTABS(550,40,STKLABEL+’ ‘+STKNAME),Culor80FFFF,LINETHICK2; DRAWTEXTABS(550,80,’■股价上穿60均线:’+NUMTOSTRN(强势股排序,0)+’天’),Culor00FF00,LINETHICK1; DRAWTEXTABS(550,100,’■心理成本压力位:’+NUMTOSTRN(压力位,2)+’元’),Culor00FFFF,LINETHICK1; DRAWTEXTABS(200,70,’昨收盘:’+NUMTOSTRN(昨收盘,2)+’元’),CulorFFFF00; DRAWTEXTABS(300,70,’今开盘:’+NUMTOSTRN(今开盘,2)+’元’),CulorFFFF00; DRAWTEXTABS(400,70,’涨跌幅度:’+NUMTOSTRN(涨幅,2)+’%’),CulorFFFF0
评论(0)