当前位置:→ 公式网 > 大智慧公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是大智慧L2账户排序副图源码(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {大智慧L2账户排序副图源码公:}
- input:N(1,1,100);
- a1:=((ORDER(2) - ORDER(1)) / CAPITAL) * 3000;
- N天筹码流动:SUM(a1,N),linethick2,colorWhite;
- N天流动:PERCENTBAR((N天筹码流动 * 1.03),N天筹码流动);
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {xdb:="虎拓圣龙.买入力度";
- xds:="虎拓圣龙.卖出力度";
- }
- Mm:=h-ref(c,1);
- Ss:=ref(c,1)-L;
- s:=if(ss>0,ss,0.01);
- m:=if(mm>0,mm,0.01);
- Hj:=m+s;
- 买入力度:=m/hj*AMOUNT/CAPITAL;
- 卖出力度:=s/hj*AMOUNT/CAPITAL;
- 净买:(买入力度-卖出力度),linethick0;
- sh:=净买;
- 出货位:45,CROSSDOT,color009900;
- STICKLINE(sh>=45,0,sh,7,0),colorCCCCCC;
- STICKLINE(sh>=0 and sh<20,0,sh,7,0),color0000AA;
- STICKLINE(sh>=20 and sh<45,0,sh,7,0),color0000FF;
- STICKLINE(sh<0,0,sh,7,0),color009900;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {xdb:="虎拓圣龙.买入力度";
- xds:="虎拓圣龙.卖出力度";
- }
- Mm:=h-ref(c,1);
- Ss:=ref(c,1)-L;
- s:=if(ss>0,ss,0.01);
- m:=if(mm>0,mm,0.01);
- Hj:=m+s;
- 买入力度:=m/hj*AMOUNT/CAPITAL;
- 卖出力度:=s/hj*AMOUNT/CAPITAL;
- 净买:=买入力度-卖出力度;
- sh:=净买;
- B:=EMA(C,2);
- S:=EMA(SLOPE(C,21)*20+C,42);
- BT:=B>S;
- 持仓:=ma(买入力度-卖出力度,5)+49.86;
- PARTLINE(持仓,BT,RGB(200,0,250),1,rgb(20,80,200)),linethick2;
- STICKLINE(sh>=45,持仓,sh+持仓,3,0),color0000DD;
- STICKLINE(sh>=0 and sh<20,持仓,sh+持仓,2,0),color0000AA;
- STICKLINE(sh>=20 and sh<45,持仓,sh+持仓,1,0),color0000FF;
- STICKLINE(sh<0,持仓,sh+持仓,2,0),color00CC00;
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 大智慧看盘源码
- VAR1:=EMA(EMA(CLOSE,9),9);
- VR:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
- STICKLINE(VR<0,VR,0,7,10),COLORCCCCCC;
- A10:=CROSS(VR,0);
- 没有行情:IF(VR<0,VR,0),COLORCCCCCC,LINETHICK0;
- 行情出现:IF(A10,5,0),LINETHICK0,COLOR00AAAA;
- DRAWTEXT(A10,-5,'起'),COLORYELLOW;
- STICKLINE(VR>REF(VR,1) AND VR>0,VR,0,7,10),COLOR0000AA;
- 主升浪:IF(VR>REF(VR,1) AND VR>0,VR,0),COLOR0000DD,LINETHICK0;
- VAR2:=100*WINNER(CLOSE*0.95);
- STICKLINE(VAR2>50 AND COST(85)<CLOSE AND VR>0,VR,0,7,10),COLOREE00EE;
- 牛市行情:IF(VAR2>50 AND COST(85)<CLOSE AND VR>0,VR,0),COLORFF00FF,LINETHICK0;
- STICKLINE(VR<REF(VR,1) AND VR>0,VR,0,7,10),COLOR00AA00;
- 出货行情:IF(VR<REF(VR,1) AND VR>0,VR,0),COLOR00FF00,LINETHICK0;
- {盖印
- DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
- DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
- DRAWTEXTABS(2,5,'虎拓'),colorFFFFFF,LINETHICK1;
- DRAWTEXTABS(2,18,'经典'),colorFFFFFF,LINETHICK1;
- DRAWTEXTABS(2,30,'HTKP'),color0000FF,LINETHICK1;};
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 大智慧量能指标
- VOL,VOLSTICK;
- 成交:=ref(AMOUNT,3)/10000/10000;
- 前成交:=ref(AMOUNT,2)/10000/10000;
- 昨成交:=ref(AMOUNT,1)/10000/10000;
- 今成交:=AMOUNT/10000/10000;
- 昨收:ref(c,1),linethick0;
- DRAWTEXTABS(50,00 ,'今日:'+numtostrn(今成交,2)),color556677;
- DRAWTEXTABS(150 ,00 ,'昨日:'+numtostrn(昨成交,2)),color556677;
- DRAWTEXTABS(250 ,00 ,'前日:'+numtostrn(前成交,2)),color556677;
- DRAWTEXTABS(350 ,00 ,'3 日:'+numtostrn(成交,2)),color556677;
- STICKLINE(c<ref(c,1),0,v,7,0),colorCCCC00;
- STICKLINE(c>=ref(c,1),0,v,7,0),color0000CC;
- STICKLINE(v>ref(v,1)*2,ref(v,1),v,7 ,0 ),color00BBDD;
- STICKLINE(v*2<ref(v,1),0,v,7 ,0 ),color00AA00;
- {盖印
- DRAWRECTABS(0,0,30,35,rgb(250,60,80)),color000099;
- DRAWRECTABS(0,30,30,45,rgb(250,250,80)),color009999;
- DRAWTEXTABS(2,5,'虎拓'),colorFFFFFF,LINETHICK1;
- DRAWTEXTABS(2,18,'经典'),colorFFFFFF,LINETHICK1;
- DRAWTEXTABS(4,30,'VOL'),color0000FF,LINETHICK1;};
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- 大智慧龙虎指标--转
- vv:=-30;
- 特买单:="丰赢数据.特买单#MIN1";
- 大买单:="丰赢数据.大买单#MIN1";
- 中买单:="丰赢数据.中买单#MIN1";
- 小买单:="丰赢数据.小买单#MIN1";
- ub:=特买单+大买单+中买单+小买单;
- 特卖单:="丰赢数据.特卖单#MIN1";
- 大卖单:="丰赢数据.大卖单#MIN1";
- 中卖单:="丰赢数据.中卖单#MIN1";
- 小卖单:="丰赢数据.小卖单#MIN1";
- 流入额:="丰赢数据.流入额#MIN1";
- 流出额:="丰赢数据.流出额#MIN1";
- 总流入:="丰赢数据.总流入#MIN1";
- 总流出:="丰赢数据.总流出#MIN1";
- 买力合计:="丰赢数据.买力合计#MIN1";
- 卖力合计:="丰赢数据.卖力合计#MIN1";
- 流入:(总流入-总流出)/10000,linethick0,color000000;
- us:=特卖单+大卖单+中卖单+小卖单;
- u:=ub+us;
- DRAWRECTABS(150,15,170,20+特买单/u*100,rgb(222,52,0)),color000099;
- DRAWRECTABS(180,15,200,20+特卖单/u*100,rgb(49,182,24)),color000000;
- DRAWRECTABS(210,15,230,20+大买单/u*100,rgb(255,117,0)),color000000;
- DRAWRECTABS(240,15,260,20+大卖单/u*100,rgb(99,231,74)),color000000;
- DRAWRECTABS(270,15,290,20+中买单/u*100,rgb(255,186,0)),color000000;
- DRAWRECTABS(300,15,320,20+中卖单/u*100,rgb(74,243,156)),color000000;
- DRAWRECTABS(330,15,350,20+小买单/u*100,rgb(239,223,0)),color000000;
- DRAWRECTABS(360,15,380,20+小卖单/u*100,rgb(189,243,156)),color000000;
- DRAWRECTABS(140,16,765,82,0),colorcccc00;
- DRAWRECTABS(140,13,400,14,rgb(0,200,200)),color00FFFF;
- DRAWTEXTABS(150,0,'巨买 巨卖 大买 大卖 中买 中卖 小买 小卖'),colorAAAA00;
- DRAWRECTABS(395,18,415,80,rgb(0,200,200)),colorcc9900;
- DRAWTEXTABS(600,vv+55,'委'),color00ffff;
- DRAWTEXTABS(600,vv+75,'买'),color00ffff;
- DRAWTEXTABS(600,vv+95,'入'),color00ffff;
- DRAWTEXTABS(600,vv+30,'共流入'+总流入/10000+'万元,'+ub+'次'),color0022ee;
- DRAWTEXTABS(600,vv+38,'──────────────'),color00ffff;
- DRAWTEXTABS(620,vv+50,'巨额■'+STRRIGHT(' '+NUMTOSTRN(特买单,0),7)+' 占'+STRRIGHT(' '+NUMTOSTRN(特买单/u*100,2),6)+'%'),color0036dd;
- DRAWTEXTABS(620,vv+65,'大额■'+STRRIGHT(' '+NUMTOSTRN(大买单,0),7)+' 占'+STRRIGHT(' '+NUMTOSTRN(大买单/u*100,2),6)+'%'),COLOR0174fa;
- DRAWTEXTABS(620,vv+80,'中额■'+STRRIGHT(' '+NUMTOSTRN(中买单,0),7)+' 占'+STRRIGHT(' '+NUMTOSTRN(中买单/u*100,2),6)+'%'),COLOR1ab9ff;
- DRAWTEXTABS(620,vv+95,'小额■'+STRRIGHT(' '+NUMTOSTRN(小买单,0),7)+' 占'+STRRIGHT(' '+NUMTOSTRN(小买单/u*100,2),6)+'%'),COLOR01ddef;
- DRAWRECTABS(595,18,615,80,rgb(200,90,200)),color990099;
- DRAWTEXTABS(400,vv+55,'委'),color00ffff;
- DRAWTEXTABS(400,vv+75,'卖'),color00ffff;
- DRAWTEXTABS(400,vv+95,'出'),color00ffff;
- DRAWTEXTABS(400,vv+30,'共流出'+总流出/10000+'万元,'+us+'次'),color00ee22;
- DRAWTEXTABS(400,vv+38,'─────────────────────'),color00ffff;
- DRAWTEXTABS(420,vv+50,'巨额■'+STRRIGHT(' '+NUMTOSTRN(特卖单,0),7)+' 占'+STRRIGHT(' '+NUMTOSTRN(特卖单/u*100,2),6)+'%'),color1ab731;
- DRAWTEXTABS(420,vv+65,'大额■'+STRRIGHT(' '+NUMTOSTRN(大卖单,0),7)+' 占'+STRRIGHT(' '+NUMTOSTRN(大卖单/u*100,2),6)+'%'),COLOR49e560;
- DRAWTEXTABS(420,vv+80,'中额■'+STRRIGHT(' '+NUMTOSTRN(中卖单,0),7)+' 占'+STRRIGHT(' '+NUMTOSTRN(中卖单/u*100,2),6)+'%'),COLOR9bf149;
- DRAWTEXTABS(420,vv+95,'小额■'+STRRIGHT(' '+NUMTOSTRN(小卖单,0),7)+' 占'+STRRIGHT(' '+NUMTOSTRN(小卖单/u*100,2),6)+'%'),COLOR9bf1bf;
- DRAWTEXTABS(0,0,'净流入额:'+(总流入-总流出)/10000+'万元'),colorAAAAAA;
- DRAWTEXTABS(0,30,'买力合计:'+买力合计),colorAAAAAA;
- DRAWTEXTABS(0,45,'卖力合计:'+卖力合计),colorAAAAAA;
- DRAWTEXTABS(0,60,'买卖次差:'+NUMTOSTRN(ub-us,0)),colorAAAAAA;
- DRAWTEXTABS(0,15,'占流通盘:'+NUMTOSTRN((总流入-总流出)/CAPITAL,2)+'%'),colorAAAAAA;
- DDX10:=count("ddx.ddx">0,10);
- BL2:=sum("散户数量.散户数量",5)*-1;
- DRAWTEXTABS(0,75,'L2DDX翻红:'+ddx10+'/10'),colorAAAAAA;
- DRAWTEXTABS(0,90,'L2主力买入:'+bl2+'(五天)'),colorAAAAAA;
- DRAWTEXTABS(150,85,'巨额(50万以上成交)大额(20万-50万)中额(5万-20万)小额(5万以下),次数合计超过270以上为无效数据。'),colorFFAA55;
上一篇:抄底资金的拉升资金改成选股公式 下一篇:两个简单的选股公式