1、通达信麟龙量能饱合度指标公式源码【通达信】麟龙量能饱合度指标公式源码 哪位老师能改成通达信的?input:N(20,1,100);饱和度:IF(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N)*100100,100,(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N)*100),DOTLINE,COLORred;STICKLINE(CLOSE 0) AND BARSTATUS=2),0,100,19,1),colorFFFFFF;STICKLINE(饱和度 20) AND (饱和度 40) AND BARSTATUS=2),1,( 饱和度),18,0),col
2、or0000FF;IF BARSTATUS=2 and (饱和度) THEN BEGIN DRAWTEXTREL(760,800,量能饱和度:+NUMTOSTRN(饱和度,0),LINETHICK5,COLORred;end;强势追踪起点量5:STICKLINE(饱和度5 AND 饱和度=97 AND BARSTATUS=2,1,饱和度,8,0),COLORGREEN;K:=(DATE 1341230);XD1:=INDEXO;XD2:=INDEXH;XD3:=INDEXL;XD4:=INDEXC;对应指数开盘:=INDEXO;盘中最高点位:=INDEXH;盘中最低点位:=INDEXL;收盘点
3、位:=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(10,10,【大盘盘口动态观察】),Color00FFFF;DRAWTEXTABS(10,25,对应个股开盘:+对应指数开盘+点
4、),Color00FFFF;DRAWTEXTABS(10,40,盘中最高点位:+盘中最高点位+点),Color00FFFF;DRAWTEXTABS(10,55,盘中最低点位:+盘中最低点位+点),Color00FFFF;DRAWTEXTABS(10,70,大盘资金增减:+NUMTOSTRN(大盘资金增减,0)+%),Color00FF00;DRAWTEXTABS(10,85,大盘今日上涨:+大盘上涨家数+家),Color00FFFF;DRAWTEXTABS(10,100,大盘今日平盘:+平盘家数+家),Color00FFFF;DRAWTEXTABS(10,115,大盘今日下跌:+NUMTOST
5、RN(大盘下跌家数,0)+家),Color00FFFF;买入委托成交:=ORDER(1);卖出委托成交:=ORDER(2);当日成交总量:=DYNAINFO(8);成交总金额:=DYNAINFO(10)/10000;主动卖盘:=DYNAINFO(22);主动买盘:=DYNAINFO(23);成交笔数:=TICKCOUNT;每笔手数:=DYNAINFO(53);DRAWTEXTABS(150,10,【个股盘口成交量观察】),ColorD3A9FF;DRAWTEXTABS(150,25,日成交总量:+NUMTOSTRN(当日成交总量,0)+手),ColorD3A9FF;DRAWTEXTABS(15
6、0,40,日主动买入量:+NUMTOSTRN(主动买盘,0)+手),ColorD3A9FF;DRAWTEXTABS(150,55,日主动卖出量:+NUMTOSTRN(主动卖盘,0)+手),ColorD3A9FF;DRAWTEXTABS(150,70,当前成交概况:+NUMTOSTRN(成交笔数,0)+笔),Color00FF00;DRAWTEXTABS(150,85,每笔成交:+NUMTOSTRN(每笔手数,1)+手),ColorD3A9FF;DRAWTEXTABS(150,100,买入下单委托:+NUMTOSTRN(买入委托成交,0)+单),ColorD3A9FF;DRAWTEXTABS(1
7、50,115,卖出下单委托:+NUMTOSTRN(卖出委托成交,0)+单),ColorD3A9FF;换手率-成交量-委卖委买量:综合分析n1:=barslast(cross(c,MA(c,60);n2:=barslast(cross(MA(c,60),c);强股排序:if(n1N2,N1+1,0),PRECIS0,COLOR00FFFF,LINETHICK0;日换手率:=DYNAINFO(37)*100;日换手率:sum(100*v/capital,5),ColorFFFFFF,PRECIS0,LINETHICK0;日均量:DYNAINFO(38),ColorFFFFFF,PRECIS0,LI
8、NETHICK0;大单20万买入:DYNAINFO(94)*100,ColorFFFFFF,PRECIS0,LINETHICK0;大单20万卖出:=DYNAINFO(97)*100;万大单买入:BIGORDER(1,3)*100,ColorFFFFFF,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
9、);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(290,10,【换手率-成
10、交量-委卖委买量:综合分析】),ColorFFFF00;DRAWTEXTABS(290,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)+%),ColorFFFF00,layer0;DRAWTEXTABS(290,40,委买总量:+str(tbqty)+ 占流通盘比例:+str(bq*100)+%+ 密度:+str(INTPART(bm)+手价宽:+str(
11、if(avgbpx=0,0,DYNAINFO(7)*2- avgbpx*2)+元 +str(max(0,DYNAINFO(7)/avgbpx*200-200)+%),ColorFFFF00,layer0;DRAWTEXTABS(290,55,委卖委买比:+str(tbqty-toqty)/(tbqty+toqty)*100)+%),layer0,Color0000FF;DRAWTEXTABS(290,70,个股对应大盘买卖决策点位:+NUMTOSTRN(买卖决策,2)+点),Color00FF00;DRAWTEXTABS(290,115,日换手率:+NUMTOSTRN(日换手率,1)+%),C
12、olorFFFF00;DRAWTEXTABS(290,85,日成交总金额:+NUMTOSTRN(成交总金额,0)+万元),ColorFFFF00;DRAWTEXTABS(445,85,20万大单买入:+NUMTOSTRN(大单20万买入,0)+%),ColorFFFF00;DRAWTEXTABS(550,85,20万大单卖出:+NUMTOSTRN(大单20万卖出,0)+%),ColorFFFF00;DRAWTEXTABS(445,100,50万大单买入:+NUMTOSTRN(万大单买入,0)+%),ColorFFFF00;DRAWTEXTABS(550,100,50万大单卖出:+NUMTOST
13、RN(卖出50万委托单,0)+%),ColorFFFF00;DRAWTEXTABS(370,115,5日换手率:+NUMTOSTRN(日换手率,1)+%),ColorFFFF00;DRAWTEXTABS(445,115,5日均量:+NUMTOSTRN(日均量,0)+手),ColorFFFF00;DRAWTEXTABS(550,115,平均成本:+NUMTOSTRN(建仓成本,2)+元),ColorFFFF00;DRAWTEXTABS(650,55,STKLABEL+ +STKNAME),Colorred,LINETHICK4;DRAWTEXTABS(650,80,股价上穿60均线:+NUMTOSTRN(强股排序,0)+天),Colorgreen,LINETHICK2;DRAWTEXTABS(650,100,心理成本压力位:+NUMTOSTRN(压力位,2)+元),Color00FFFF,LINETHICK2;股票论坛
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1