人人爽天天爽夜夜爽qc-人人爽天天爽夜夜爽曰-人人天天爱天天做天天摸-人人天天夜夜-色网站在线-色网站在线看

您現在的位置:程序化交易>> 股票公式>> 其他>> 其他軟件公式>>正文內容

用龍虎看盤公式、源碼[其他軟件公式]

相關標簽:

?

?

原理解析:


?

?來源:程序化99( www.kzuj.com.cn )

源碼:

?

?

input:n(403,1,10000);
DRAWGBK(C>0,colorRGB(80,100,120),colorRGB(00,00,00),1),color33ff66;
DRAWTEXTEX(c,1,20,30,STKLABEL),LINETHICK6,Colorffff00;
DRAWTEXTEX(c,1,140,30,STKNAME),LINETHICK6,Color00ffff;
DRAWTEXTEX(c,1,750,400,''),LINETHICK4,Color00ffff;
DRAWTEXTEX(c,1,750,420,''),LINETHICK4,Color00ffff;
DRAWTEXTEX(c,1,750,500,'疙'),LINETHICK2,Color00ffff;
DRAWTEXTEX(c,1,750,560,'瘩'),LINETHICK2,Color00ffff;
DRAWTEXTEX(c,1,750,620,'制'),LINETHICK2,Color00ffff;
DRAWTEXTEX(c,1,750,680,'作'),LINETHICK2,Color00ffff;

DRAWTEXTEX(c,1,810,200,'龍'),LINETHICK6,Color00ff00;
DRAWTEXTEX(c,1,810,360,'虎'),LINETHICK6,Colorffffff;
DRAWTEXTEX(c,1,810,520,'看'),LINETHICK6,Color0000ff;
DRAWTEXTEX(c,1,810,680,'盤'),LINETHICK6,Color0000ff;
DRAWTEXTEX(c,1,20,450,'------------------------------------------------------------------------------------'),LINETHICK1,Coloreeeeee;

a:=BUYVOL*c/100;
bz:=sum(a,0);
b:=c*SELLVOL/100;
sz:=sum(b,0);
z:=bz+sz;
cz:=bz-sz;
xb5:=if(a<=5,a,0);b5:=sum(xb5,0);
xs5:=if(b<=5,b,0);s5:=sum(xs5,0);
xb10:=if(a<=10 and a>=5 ,a,0);b10:=sum(xb10,0);
xs10:=if(b<=10 and b>=5,b,0);s10:=sum(xs10,0);
xb30:=if(a<=30 and a>=10 ,a,0);b30:=sum(xb30,0);
xs30:=if(b<=30 and b>=10 ,b,0);s30:=sum(xs30,0);
xb50:=if(a<=50 and a>=30 ,a,0);b50:=sum(xb50,0);
xs50:=if(b<=50 and b>=30 ,b,0);s50:=sum(xs50,0);
xb70:=if(a<=70 and a>=50 ,a,0);b70:=sum(xb70,0);
xs70:=if(b<=70 and b>=50 ,b,0);s70:=sum(xs70,0);
xb100:=if(a<=100 and a>=70,a,0);b100:=sum(xb100,0);
xs100:=if(b<=100 and b>=70,b,0);s100:=sum(xs100,0);
xb150:=if(a>=100 ,a,0);b150:=sum(xb150,0);
xs150:=if(b>=100 ,b,0);s150:=sum(xs150,0);
j5:=b5-s5;
j10:=b10-s10;
j30:=b30-s30;
j50:=b50-s50;
j70:=b70-s70;
j100:=b100-s100;
j150:=b150-s150;
DRAWTEXTEX(BARSTATUS=2 and (z),1,320,45,'■總成金額(萬元):'+NUMTOSTR(z,2)),LINETHICK4,COLORccffcc;
DRAWTEXTEX(BARSTATUS=2 and (bz),1,30,500,'■■■■■買入:'+NUMTOSTR(bz,2)),LINETHICK1,COLORred;
DRAWTEXTEX(BARSTATUS=2 and (sz),1,250,500,'■■■■■賣出:'+NUMTOSTR(sz,2)),LINETHICK1,COLORgreen;
DRAWTEXTEX(BARSTATUS=2 and (b5),1,30,560,'5 萬大單買入:'+NUMTOSTR(b5,2)),LINETHICK1,COLORred;
DRAWTEXTEX(BARSTATUS=2 and (s5),1,250,560,'5 萬大單賣出:'+NUMTOSTR(s5,2)),LINETHICK1,COLORgreen;
DRAWTEXTEX(BARSTATUS=2 and (b10),1,30,620,'10 萬大單買入:'+NUMTOSTR(b10,2)),LINETHICK1,COLORred;
DRAWTEXTEX(BARSTATUS=2 and (s10),1,250,620,'10 萬大單賣出:'+NUMTOSTR(s10,2)),LINETHICK1,COLORgreen;
DRAWTEXTEX(BARSTATUS=2 and (b30),1,30,680,'30 萬大單買入:'+NUMTOSTR(b30,2)),LINETHICK1,COLORred;
DRAWTEXTEX(BARSTATUS=2 and (s30),1,250,680,'30 萬大單賣出:'+NUMTOSTR(s30,2)),LINETHICK1,COLORgreen;
DRAWTEXTEX(BARSTATUS=2 and (b50),1,30,740,'50 萬大單買入:'+NUMTOSTR(b50,2)),LINETHICK1,COLORred;
DRAWTEXTEX(BARSTATUS=2 and (s50),1,250,740,'50 萬大單賣出:'+NUMTOSTR(s50,2)),LINETHICK1,COLORgreen;
DRAWTEXTEX(BARSTATUS=2 and (b70),1,30,800,'70 萬大單買入:'+NUMTOSTR(b70,2)),LINETHICK1,COLORred;
DRAWTEXTEX(BARSTATUS=2 and (s70),1,250,800,'70 萬大單賣出:'+NUMTOSTR(s70,2)),LINETHICK1,COLORgreen;
DRAWTEXTEX(BARSTATUS=2 and (b100),1,30,860,'100 萬大單買入:'+NUMTOSTR(b100,2)),LINETHICK1,COLORred;
DRAWTEXTEX(BARSTATUS=2 and (s100),1,250,860,'100 萬大單賣出:'+NUMTOSTR(s100,2)),LINETHICK1,COLORgreen;
DRAWTEXTEX(BARSTATUS=2 and (b150),1,30,920,'150 萬大單買入:'+NUMTOSTR(b150,2)),LINETHICK1,COLORred;
DRAWTEXTEX(BARSTATUS=2 and (s150),1,250,920,'150 萬大單賣出:'+NUMTOSTR(s150,2)),LINETHICK1,COLORgreen;
DRAWTEXTEX(BARSTATUS=2 and (cz),1,500,500,'■■■■總凈買入:'+NUMTOSTR(cz,2)),LINETHICK1,COLORccff00;
DRAWTEXTEX(BARSTATUS=2 and (j5),1,500,560,'5萬大單凈買入'+NUMTOSTR(j5,2)),LINETHICK1,COLORccff00;
DRAWTEXTEX(BARSTATUS=2 and (j10),1,500,620,'10萬大單凈買入'+NUMTOSTR(j10,2)),LINETHICK1,COLORccff00;
DRAWTEXTEX(BARSTATUS=2 and (j30),1,500,680,'30萬大單凈買入'+NUMTOSTR(j30,2)),LINETHICK1,COLORccff00;
DRAWTEXTEX(BARSTATUS=2 and (j50),1,500,740,'50萬大單凈買入'+NUMTOSTR(j50,2)),LINETHICK1,COLORccff00;
DRAWTEXTEX(BARSTATUS=2 and (j70),1,500,800,'70萬大單凈買入'+NUMTOSTR(j70,2)),LINETHICK1,COLORccff00;
DRAWTEXTEX(BARSTATUS=2 and (j100),1,500,860,'100萬大單凈買入'+NUMTOSTR(j100,2)),LINETHICK1,COLORccff00;
DRAWTEXTEX(BARSTATUS=2 and (j150),1,500,920,'150萬大單凈買入'+NUMTOSTR(j150,2)),LINETHICK1,COLORccff00;
dd:=INTPART(LN(FINANCE(7)/(n*10))*ATAN(FINANCE(7))*100);
主動買入:=SUM(BUYVOL,0);
主動賣出:=SUM(SELLVOL,0);
大單買:=if(BUYVOL>=dd,BUYVOL,0);
大單賣:=if(SELLVOL>dd,SELLVOL,0);
大單買入:=SUM(大單買,0);
大單賣出:=SUM(大單賣,0);
小單買入:=主動買入-大單買入;
小單賣出:=主動賣出-大單賣出;
大買金:=sum(if(BUYVOL>=dd,BUYVOL,0)*c,0);
大單買均價:=大買金/大單買入;
大賣金:=sum(if(SELLVOL>dd,SELLVOL,0)*c,0);
大單賣均價:=大賣金/大單賣出;
成交筆數:=sum(if(BUYVOL>0,1,0),0)+sum(if(SELLVOL>0,1,0),0);
大單凈量:=大單買入-大單賣出;
DRAWTEXTEX(c,1,30,420,'■ 大單凈量:'+NUMTOSTR(大單凈量,2)),Color00FFFF,LINETHICK2;
//DRAWTEXTEX(c,1,115,100,''+大單凈量),Color00FFFF,LINETHICK2;
DRAWTEXTEX(c,1,300,420,' 占'+NUMTOSTR(FLOOR(大單凈量/(主動買入+主動賣出)*100),2)+' %'),Color00FFFF,LINETHICK2;
DRAWTEXTEX(c,1,30,100,'■ 大單買入: '+NUMTOSTR(大單買入,2)),Color8000FF,LINETHICK2;
DRAWTEXTEX(c,1,300,100,' 占'+NUMTOSTR(FLOOR(大單買入/(主動買入+主動賣出)*100),2)+'%'),Color8000FF,LINETHICK2;
DRAWTEXTEX(c,1,500,100,'大單買均價: '+NUMTOSTR(大單買均價,2)),Color8000FF,LINETHICK2;
DRAWTEXTEX(c,1,30,260,'■ 大單賣出: '+NUMTOSTR(大單賣出,2)),Color00FF00,LINETHICK2;
DRAWTEXTEX(c,1,300,260,' 占'+NUMTOSTR(FLOOR(大單賣出/(主動買入+主動賣出)*100),2)+' %'),Color00FF00,LINETHICK2;
DRAWTEXTEX(c,1,500,180,'大單賣均價: '+NUMTOSTR(大單賣均價,2)),Color00FF00,LINETHICK2;
DRAWTEXTEX(c,1,30,180,'■ 小單買入: '+NUMTOSTR(小單買入,2)),Color2F73FF,LINETHICK2;
DRAWTEXTEX(c,1,300,180,' 占'+NUMTOSTR(FLOOR(小單買入/(主動買入+主動賣出)*100),2)+' %'),Color2F73FF,LINETHICK2;
DRAWTEXTEX(c,1,30,340,'■ 小單賣出: '+NUMTOSTR(小單賣出,2)),ColorB4B043,LINETHICK2;
DRAWTEXTEX(c,1,300,340,' 占'+NUMTOSTR(FLOOR(小單賣出/(主動買入+主動賣出)*100),2)+' %'),ColorA8A800,LINETHICK2;
DRAWTEXTEX(c,1,500,260,'總成交筆數: '+NUMTOSTR(成交筆數,2)),ColorFFFFFF,LINETHICK2;
DRAWTEXTEX(c,1,500,340,'每筆成交手: '+NUMTOSTR(INTPART((主動買入+主動賣出)/成交筆數),2)),LINETHICK2;
DRAWTEXTEX(c,1,500,420,'■大單標準: '+NUMTOSTR(dd,2)),ColorFFFFFF,LINETHICK2;
總:=DYNAINFO(8);
STICKLINE((總 AND BARSTATUS=2),0,總,200,1),COLORFFFFFF;
STICKLINE((大單買入+大單賣出+小單買入+小單賣出 AND BARSTATUS=2),0,總,200,0),Color8000FF;
STICKLINE((大單賣出+小單買入+小單賣出 AND BARSTATUS=2),0,大單賣出+小單買入+小單賣出,200,0),Color2F73FF;
STICKLINE((小單賣出+大單賣出 AND BARSTATUS=2),0,小單賣出+大單賣出,200,0),Color00FF00;
STICKLINE((小單賣出 AND BARSTATUS=2),0,小單賣出,200,0),ColorB4B043;

?

公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程

?

 

有思路,想編寫各種指標公式,交易模型,選股公式,還原公式的朋友

可聯系技術人員 QQ: 262069696  點擊在線交流或微信:cxhjy888 進行 有償收費 編寫!(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)

怎么收費,代編流程等詳情請點擊查閱!

(注:由于人數限制,QQ或微信請選擇方便的一個聯系我們就行,加好友時請簡單備注下您的需求,否則無法通過。謝謝您!)

 


【字體: 】【打印文章】【查看評論

相關文章

    沒有相關內容
  主站蜘蛛池模板: 尤物视频一区 | 无遮挡无删动漫肉在线观看 | 日韩一区二区三区在线免费观看 | 成年免费大片黄在线观看com | 亚洲视频天天射 | 欧美不卡一区二区三区 | 可以免费观看的黄色网址 | 亚洲国产精久久久久久久 | 狠狠干夜夜爱 | 欧美综合成人网 | 成人av播放| 日韩区| 国产玖玖视频 | 美女一级毛片免费看看 | 亚洲视频免费 | 免费观看视频成人国产 | a级成人毛片免费视频高清 a级片免费网站 | 日韩美女一级毛片 | 日本黄色免费在线观看 | 在线免费视频a | 深夜成人福利视频 | 国产青青操 | 人人艹人人爽 | 天天插天天狠 | 最近更新在线中文字幕一页 | 国产羞羞的视频在线观看免费 | 看全色黄大色大片免费久久久 | 欧美乱大交黑人 | 不卡视频一区 | 中文字幕福利 | 久久青娱乐 | 天天爱天天做天天爽天天躁 | 一个人看的视频免费高清在线 | 色狠狠网 | 久久夜夜肉肉热热日日 | 成人免费激情视频 | 亚洲午夜在线视频 | 欧美一级二级三级视频 | 午夜小视频在线 | 色爽视频 | 国产精品伦理久久久久久 |