分時超贏公式源碼[通達信公式]
相關(guān)標簽: 通達信分時指標公式 、 通達信分時起爆點指標 、 通達信分時指標 、 通達信最準的分時指標 、 通達信分時抓漲停指標 、 通達信分時主圖指標 、 通達信t+0分時指標 、 通達信分時買賣點指標 、 通達信分時指標源碼 、
(模擬)”指標公式)
本人通過兩天的努力,終于編寫出一個能夠象大智慧那樣在盤中分時圖下查看大小資金流向的指標公式(不需L2數(shù)據(jù)),現(xiàn)公開贈送給大家試用。使用效果如何請反饋回來,請高手多多指教!
注:
由于采用的是模擬算法,與收費行情的L2數(shù)據(jù)對比有些誤差。但作為看盤參考,及時了解大資金流向還是有很好的幫助作用的!希望高手提出修改建議,使此公式更加完美好用!
源碼如下:
(單位:萬元):0;
超買:=IF((AMOUNT>=(ISBUYORDER,FINANCE(40)*0.05/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
超賣:=IF((AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
大買:=IF(((AMOUNT>=(ISBUYORDER,FINANCE(40)*0.025/100))AND(AMOUNT<(ISBUYORDER,FINANCE(40)*0.05/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
大賣:=IF(((AMOUNT>=(FINANCE(40)*0.025/100))AND(AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
★主力(黃):(SUM(超買,0)-SUM(超賣,0))+(SUM(大買,0)-SUM(大賣,0)),LINETHICK8,COLORYELLOW;
★超凈(紅):SUM(超買,0)-SUM(超賣,0),LINETHICK3,COLORRED;{本文來源:'www.328588.com' }
★大凈(粉):SUM(大買,0)-SUM(大賣,0),LINETHICK3,COLORMAGENTA;
中買:=IF(((AMOUNT>=(ISBUYORDER,FINANCE(40)*0.005/100))AND(AMOUNT<(ISBUYORDER,FINANCE(40)*0.025/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
中賣:=IF(((AMOUNT>=(FINANCE(40)*0.005/100))AND(AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
★中凈(青):SUM(中買,0)-SUM(中賣,0),LINETHICK2,COLORLICYAN; {本文來至程序化交易網(wǎng) cxh99.com}
散買:=IF((AMOUNT<(ISBUYORDER,FINANCE(40)*0.005/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
散賣:=IF((AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
★散凈(綠):SUM(散買,0)-SUM(散賣,0),LINETHICK2,COLORGREEN;
Z:=(SUM(超買,0)-SUM(超賣,0))+(SUM(大買,0)-SUM(大賣,0))+(SUM(中買,0)-SUM(中賣,0))+(SUM(散買,0)-SUM(散賣,0));
★總流量(柱):Z,STICK,COLORLIRED;
第二次修改后的源碼:
(單位:萬元):0;
超買:=IF((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
超賣:=IF((AMOUNT>=(FINANCE(40)*0.05/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
大買:=IF(((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.025/100))AND(ISBUYORDER,AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
大賣:=IF(((AMOUNT>=(FINANCE(40)*0.025/100))AND(AMOUNT<(FINANCE(40)*0.05/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
中買:=IF(((ISBUYORDER,AMOUNT>=(FINANCE(40)*0.005/100))AND(ISBUYORDER,AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
中賣:=IF(((AMOUNT>=(FINANCE(40)*0.005/100))AND(AMOUNT<(FINANCE(40)*0.025/100)))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
散買:=IF((ISBUYORDER,AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE>=DOPEN),AMOUNT/10000,0);
散賣:=IF((AMOUNT<(FINANCE(40)*0.005/100))AND(DCLOSE<=DOPEN),AMOUNT/10000,0);
Z:=(SUM(超買,0)-SUM(超賣,0))+(SUM(大買,0)-SUM(大賣,0))+(SUM(中買,0)-SUM(中賣,0))+(SUM(散買,0)-SUM(散賣,0));
★總凈(柱):Z,COLORSTICK;{本文來源:'www.328588.com' }
★主凈(黃):(SUM(超買,0)-SUM(超賣,0))+(SUM(大買,0)-SUM(大賣,0)),LINETHICK8,COLORYELLOW;
★超凈(紅):SUM(超買,0)-SUM(超賣,0),LINETHICK3,COLORRED;
★大凈(粉):SUM(大買,0)-SUM(大賣,0),LINETHICK3,COLORMAGENTA;
★中凈(藍):SUM(中買,0)-SUM(中賣,0),LINETHICK2,COLORBLUE;
★散凈(綠):SUM(散買,0)-SUM(散賣,0),LINETHICK2,COLORGREEN;
說明:
超大買:主動買單金額≥流通盤金額的0.05/100,記為正;
超大賣:賣單金額≥流通盤金額的0.05/100,記為負;
大戶買:流通盤金額的0.025/100≤主動買單金額≤流通盤金額的0.05/100,記為正;
大戶賣:流通盤金額的0.025/100≤賣單金額≤流通盤金額的0.05/100,記為負;
中戶買:流通盤金額的0.005/100≤主動買單金額≤流通盤金額的0.025/100,記為正;
中戶賣:流通盤金額的0.005/100≤賣買單金額≤流通盤金額的0.025/100,記為負;
散戶買:主動買單金額≤流通盤金額的0.005/100,記為正;
散戶賣:賣單金額≤流通盤金額的0.005/100,記為負;
超凈(大紅線)= 超大買+超大賣;
大凈(粉紅線)= 大戶買+大戶賣;
中凈(青色線)= 中戶買+中戶賣;
散凈(綠色線)= 散戶買+散戶賣;
主凈(黃色線)= 超凈+大凈;
總凈(淺紅柱)= 超凈+大凈+中凈+散凈。
{本文來至CXH99.COM}
如果以上指標公式不適用于您常用的行情軟件
或者您想改編成選股公式,以便快速選出某種形態(tài)個股的話,
- 上一篇:建房子指標公式源碼
- 下一篇:沒有了!
相關(guān)文章
-
沒有相關(guān)內(nèi)容