指标公式详细说明
好公式网(www.goodgongshi.com)告诉您:当前正要下载:日线龙虎榜公式 飞狐龙虎榜指标 源码
流通:=finance(7)/10000;
老杨1:=1;
老杨2:=1.25;
老杨3:=1.55;
老杨4:=1.85;
老杨5:=2;
老杨6:=2.25;
老杨7:=2.55;
老杨8:=2.85;
系数:=if(流通<1,老杨1,if(流通>=1and流通<5,老杨2,if(流通>=5and流通<10,老杨3,if(流通>=10and流通<20,老杨4,if(流通>=20and流通<50,老杨5,if(流通>=50and流通<100,老杨6,if(流通>=100and流通<300,老杨7,if(流通>=300,老杨8,0))))))));
xs:=capital*系数/10000;
xs1:=xs*3.75;
总成交:=dynainfo(8)*100;
总j:=总成交*dynainfo(7);
大单标准:=xs*100*dynainfo(7)/10000;
特大买入:=stkindi('','引用.特大买入',0,0);
特大卖出:=stkindi('','引用.特大卖出',0,0);
大单买入:=stkindi('','引用.大单买入',0,0);
大单卖出:=stkindi('','引用.大单卖出',0,0);
大买金额:=stkindi('','引用.大买金额',0,0);
大卖金额:=stkindi('','引用.大卖金额',0,0);
小单买入:=stkindi('','引用.小单买入',0,0);
小单卖出:=stkindi('','引用.小单卖出',0,0);
小买金额:=stkindi('','引用.小买金额',0,0);
小卖金额:=stkindi('','引用.小卖金额',0,0);
总:=特大买入+特大卖出+大单买入+大单卖出+小单买入+小单卖出;
特买均:=stkindi('','引用.特买金',0,0);
特卖均:=stkindi('','引用.特卖金',0,0);
大买均:=stkindi('','引用.大买金',0,0);
大卖均:=stkindi('','引用.大卖金',0,0);
小买均:=stkindi('','引用.小买金',0,0);
小卖均:=stkindi('','引用.小卖金',0,0);
买入:=stkindi('','盘口.买入',0,0);
卖出:=stkindi('','盘口.卖出',0,0);
撤买:=stkindi('','盘口.撤买',0,0);
撤卖:=stkindi('','盘口.撤卖',0,0);
上扫:=stkindi('','盘口.上扫',0,0);
下扫:=stkindi('','盘口.下扫',0,0);
对敲买:=stkindi('','盘口.对敲买',0,0);
对敲卖:=stkindi('','盘口.对敲卖',0,0);
对敲买a:=stkindi('','盘口.对敲买a',0,0);
对敲卖b:=stkindi('','盘口.对敲卖b',0,0);
大对买:=stkindi('','盘口.大对买',0,0);
大对卖:=stkindi('','盘口.大对卖',0,0);
总撤买单:=stkindi('','盘口.总撤买单',0,0);
总撤卖单:=stkindi('','盘口.总撤卖单',0,0);
总敲买:=stkindi('','盘口.总敲买',0,0);
总敲卖:=stkindi('','盘口.总敲卖',0,0);
大单净值:=stkindi('','引用.大单净值',0,0);
特买均价:=特买均/特大买入;
特卖均价:=特卖均/特大卖出;
大买均价:=大买均/大单买入;
大卖均价:=大卖均/大单卖出;
小买均价:=小买均/小单买入;
小卖均价:=小卖均/小单卖出;
aa01:=extdata(3);
aa11:=extdata(4);
aa0:=sum(aa01,0);
aa1:=sum(aa11,0);
a0:=ref(extdata(3),1);
a1:=ref(extdata(4),1);
a01:=ref(extdata(3),3);
a11:=ref(extdata(4),3);
drawtextex(close,1,20,10,stklabel+''+stkname+''),colorff;
drawtextex(close,1,21,11,stklabel+''+stkname+''),colorffff;
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
p:=sysparam(1);
str1:=''+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日'+wday[wd[p]+1];
drawtextex(close,1,240,10,str1),colorff;
drawtextex(close,1,241,11,str1),colorffff;
wh0007制作:close>1000000,linethick0,colorffffff;
股东总数:=finance(50);
每股收益:finance(33),linethick0,precision2,colorffff;
市盈率:dynainfo(39),linethick0,precision2,color9aff;
市净率:close/finance(34),linethick0,precision2,colorffffff;
每股公积金:=finance(18);
净利润:=finance(30);
主营业务增长率:=finance(53);
净利润增长率:=finance(55);
人均持股:=finance(7)/finance(50)*10000;
每笔均额:=dynainfo(10)/dynainfo(51);
散户跟风系数:=(小单买入-小单卖出)/总*100;
drawtextex(close,1,510,10,'大单标准:'+numtostr(大单标准,2)+'万元'),colorffff;
drawtextex(close,1,760,10,'流通盘:'+numtostr(finance(7)/10000,2)+'亿股'),colorffff;
drawtextex(close,1,10,100,'特大买入:'+numtostr(特大买入,0)+''),colorffff;
drawtextex(close,1,210,100,'占:'+numtostr(特大买入/总*100,0)+'%'),colorffff;
drawtextex(close,1,10,200,'特大卖出:'+numtostr(特大卖出,0)+''),color9895b2;
drawtextex(close,1,210,200,'占:'+numtostr(特大卖出/总*100,0)+'%'),color9895b2;
drawtextex(close,1,10,300,'大单买入:'+numtostr(大单买入,0)+''),color5050ff;
drawtextex(close,1,210,300,'占:'+numtostr(大单买入/总*100,0)+'%'),color5050ff;
drawtextex(close,1,10,400,'大单卖出:'+numtostr(大单卖出,0)+''),colorff00;
drawtextex(close,1,210,400,'占:'+numtostr(大单卖出/总*100,0)+'%'),colorff00;
drawtextex(close,1,10,500,'小单买入:'+numtostr(小单买入,0)+''),linethick2,colorff00ff;
drawtextex(close,1,210,500,'占:'+numtostr(小单买入/总*100,0)+'%'),linethick2,colorff00ff;
drawtextex(close,1,10,600,'小单卖出:'+numtostr(小单卖出,0)+''),colorffff00;
drawtextex(close,1,210,600,'占:'+numtostr(小单卖出/总*100,0)+'%'),colorffff00;
drawtextex(close,1,10,700,'昨日大单买:'+numtostr(a0,0)+''),colorff00ff;
drawtextex(close,1,10,800,'昨日大单卖:'+numtostr(a1,0)+''),colorffff00;
drawtextex(close,1,10,900,'前日大单买:'+numtostr(a01,0)+''),linethick2,colorffff;
drawtextex(close,1,10,980,'前日大单卖:'+numtostr(a11,0)+''),colorffff00;
drawtextex(close,1,310,100,'特大买均价:'+numtostr(特买均价,2)+''),colorffff;
drawtextex(close,1,310,200,'特大卖均价:'+numtostr(特卖均价,2)+''),color9895b2;
drawtextex(close,1,310,300,'大单买均价:'+numtostr(大买均价,2)+''),colorff;
drawtextex(close,1,310,400,'大单卖均价:'+numtostr(大卖均价,2)+''),colorff00;
drawtextex(close,1,310,500,'小单买均价:'+numtostr(小买均价,2)+''),colorff00ff;
drawtextex(close,1,310,600,'小单卖均价:'+numtostr(小卖均价,2)+''),colorffff00;
drawtextex(close,1,310,700,'盘口对敲买:'+numtostr(对敲买,0)),colorff;
drawtextex(close,1,310,800,'盘口对敲卖:'+numtostr(对敲卖,0)),colorff00;
drawtextex(close,1,310,900,'盘口总敲买:'+numtostr(对敲买a,0)+''),colorff;
drawtextex(close,1,310,980,'盘口总敲卖:'+numtostr(对敲卖b,0)+''),colorff00;
drawtextex(close,1,510,100,'买入(手):'+numtostr(买入,0)),colorff;
drawtextex(close,1,510,200,'卖出(手):'+numtostr(卖出,0)),colorff00;
drawtextex(close,1,510,300,'撤买(手):'+numtostr(撤买,0)),colorff00ff;
drawtextex(close,1,510,400,'撤卖(手):'+numtostr(撤卖,0)),colorffff00;
drawtextex(close,1,510,500,'总撤买单:'+numtostr(总撤买单,0)),color2b78ff;
drawtextex(close,1,510,600,'总撤卖单:'+numtostr(总撤卖单,0)),colorffff00;
drawtextex(close,1,510,700,'上扫单:'+numtostr(上扫,0)),colorffff;
drawtextex(close,1,510,800,'下扫单:'+numtostr(下扫,0)),colorffffff;
drawtextex(close,1,510,900,'大对敲买单:'+numtostr(大对买,0)+''),colorff00ff;
drawtextex(close,1,510,980,'大对敲卖单:'+numtostr(大对卖,0)+''),colorffff00;
drawtextex(close,1,700,100,'总成交手:'+numtostr(总,0)+''),color5050ff;
drawtextex(close,1,700,200,'成交笔数:'+numtostr(qt,0)+''),colorff00;
drawtextex(close,1,700,300,'每笔均额:'+numtostr(每笔均额,0)+''),colorff00ff;
drawtextex(close,1,700,400,'大单净值:'+numtostr(大单净值,0)+''),colorffff00;
drawtextex(close,1,700,500,'人均持股:'+numtostr(人均持股,0)+''),colorffff00;
drawtextex(close,1,700,600,'股东总数:'+numtostr(股东总数,0)+''),colorffff;
drawtextex(close,1,700,700,'成交金额:'+numtostr(总j/10000,2)+'万'),colorff;
drawtextex(close,1,700,800,'散户跟风系数:'+numtostr(散户跟风系数,2)+'%'),colorffff;
drawtextex(close,1,700,900,'总计对敲买:'+numtostr(总敲买,0)),color2b78ff;
drawtextex(close,1,700,980,'总计对敲卖:'+numtostr(总敲卖,0)),colorffffff;
pt:=ref(high,1)-ref(low,1);
cdp:=(high+low+close)/3;
ah:=cdp+pt;
al:=cdp-pt;
nh:=2*cdp-low;
nl:=2*cdp-high;
a:=(open+high+low+close*2)/5;
s:=(high-a)*0.618+a;
x:=(a-low)*0.382+low;
卖出价:=close*2.5/100+close;
买入价:=close-close*2.5/100;
stickline(总andbarstatus=2,0,总,70,1),linethick3,color7dff;
stickline(特大买入+特大卖出+大单买入+大单卖出+小单买入+小单卖出andbarstatus=2,0,总,60,0),colorffff;
stickline(特大卖出+大单买入+大单卖出+小单买入+小单卖出andbarstatus=2,0,特大卖出+大单买入+大单卖出+小单买入+小单卖出,60,0),color9895b2;
stickline(大单买入+大单卖出+小单买入+小单卖出andbarstatus=2,0,大单买入+大单卖出+小单买入+小单卖出,60,0),colorff;
stickline(大单卖出+小单买入+小单卖出andbarstatus=2,0,大单卖出+小单买入+小单卖出,60,0),colorff00;
stickline(小单买入+小单卖出andbarstatus=2,0,小单买入+小单卖出,60,0),colorff00ff;
stickline(大单卖出andbarstatus=2,0,小单卖出,60,0),colorffff00;
日增:=extdata(6);
周仓:=sum(日增,5);
月仓:=sum(日增,20);
季仓:=sum(日增,60);
半年:=sum(日增,120);
年仓:=sum(日增,240);
上周:=ref(周仓,5);
上月:=ref(月仓,20);
上季:=ref(季仓,60);
上半年:=sum(日增,120);
上年:=sum(日增,240);
周增:=周仓-上周;
月增:=月仓-上月;
季增:=季仓-上季;
半年增:=半年-上半年;
年增:=年仓-上年;
explain(1=1,'2007.08.01【日线龙虎榜】'),colord300d6;
explain(1,'==================================='),colorffffff;
explain(1=1,'每股公积金='+numtostr(每股公积金,2)+'元'),colorff;
explain(1=1,'净利润'+numtostr(净利润,2)+'万元'),colorff00;
explain(1=1,'主营业务增长率'),colorff;
explain(1=1,numtostr(主营业务增长率,2)+'%'),colorff;
explain(1=1,'净利润增长率'),colorff00;
explain(1=1,numtostr(净利润增长率,2)+'%'),colorff00;
explain(1,'==================================='),colorffffff;
explainex(1,'【波动系数】=',pt,2,0),colorffff;
explainex(1,'【最高】=',ah,2,0),colorff;
explainex(1,'【中价】=',cdp,2,0),colorffff;
explainex(1,'【最低】=',al,2,0),colorffffff;
explainex(1,'【近高】=',nh,2,0),colorffff00;
explainex(1,'【近低】=',nl,2,0),colorff00ff;
explainex(1=1,'【买入价】=',买入价,2,0),colorffff;
explainex(1=1,'【卖出价】=',卖出价,2,0),colorff00;
explain(1,'==================================='),colorffffff;
explainex(1,'日增减:',日增,2,0),colorff;
explainex(1,'周仓:',周仓,2,0),colorff;
explainex(1,'上周:'+numtostr(上周,2)+'
周增减:',周增,2,0),colorff;
explain(1,'==================================='),colorffffff;
explainex(1,'月仓:',月仓,2,0),colorffff;
explainex(1,'上月:'+numtostr(上月,2)+'
月增减:',月增,2,0),colorffff;
explain(1,'==================================='),colorffffff;
explainex(1,'季仓:',季仓,2,0),colorff00;
explainex(1,'上季:'+numtostr(上季,2)+'
季增减:',季增,2,0),colorff00;
explain(1,'==================================='),colorffffff;
explainex(1,'半年仓:',半年,2,0),colorffff00;
explainex(1,'上半年:'+numtostr(上半年,2)+'
增减仓:',半年增,2,1),colorffff00;
explain(1,'==================================='),colorffffff;
explainex(1,'年仓:',年仓,2,0),colorffff;
explainex(1,'上年:'+numtostr(上年,2)+'
增减仓:',年增,2,1),colorffff;
explainex(1,'年增:'+numtostr(上年,2)+'
增减仓:',年增,2,1),colorff00;
explain(1,'==================================='),colorffffff;
>>>使用本站搜索工具可以找到更多“日线龙虎榜公式 飞狐龙虎榜指标 源码”