C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {主力排序-(SV大资金流排序)}
- TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT and (ORDER(1)=0 and ORDER(2)=0);
- Ddmr:=IF(TODAY,("DDEDATA@BIGORDER"(1,2)-"DDEDATA@BIGORDER"(2,2)),(BIGORDER(1,2)-BIGORDER(2,2)))*VOL/CAPITAL*100;
- Ddmrs:=sum(Ddmr,0);
-
- 主买:=IF(TODAY,("DDEDATA@BIGORDER"(1,2)),BIGORDER(1,2));
- 主卖:=IF(TODAY,("DDEDATA@BIGORDER"(2,2)),BIGORDER(2,2));
- {换手:VOL/CAPITAL*100,PRECIS2;
- 现手:DYNAINFO(9),PRECIS0;
- 总手:VOL,PRECIS0;}
- 买额:主买*AMOUNT/10000,PRECIS2;
- 卖额:主卖*AMOUNT/10000,PRECIS2;
- 净额:买额-卖额,PRECIS2;
- 买量:主买*VOL,PRECIS0;
- 卖量:主卖*VOL,PRECIS0;
- 净量:买量-卖量,PRECIS0;
- 流入:(VOL/CAPITAL)*100*主买,PRECIS2;
- 流出:(VOL/CAPITAL)*100*主卖,PRECIS2;
- 净流入:流入-流出,PRECIS2;{主力增减,即DDX}
- 买比:SUM(主买*100,1),PRECIS2;
- 卖比:SUM(主卖*100,1),PRECIS2;
- 净买比:买比-卖比,PRECIS2;