龙听期货论坛's Archiver

龙听 发表于 2018-12-24 15:28

大智慧逐笔交易指标公式源码[大智慧公式]

[code]
有效净量:(特买量-特卖量)+(大买量-大卖量),PRECIS0,LineThick3,colorred;
{
说明
1:指标是从理想论坛某位老师的其他指标源码改变而成,在此感谢,同时回报理想论坛;
2:指标主要用于分时盯盘(帮助看盘口主动成交的各类成交变化趋势,类似与逐笔龙虎看盘),也可用于分笔成交看盘;
3:必须L2数据支持,建议同时比照《虎拓真龙》指标盯盘;
4:可以比较直观的看出盘中直接做多做空的强度和趋势。
}



{逐笔交易}
合买笔:=sum(TRANSACTNUM(1,0),0);
合卖笔:=sum(TRANSACTNUM(2,0),0);
特买笔:=sum(TRANSACTNUM(1,3),0);
特卖笔:=sum(TRANSACTNUM(2,3),0);
大买笔:=sum(TRANSACTNUM(1,2),0)-特买笔;
大卖笔:=sum(TRANSACTNUM(2,2),0)-特卖笔;
中买笔:=sum(TRANSACTNUM(1,1),0)-sum(TRANSACTNUM(1,2),0);
中卖笔:=sum(TRANSACTNUM(2,1),0)-sum(TRANSACTNUM(2,2),0);
散买笔:=合买笔-sum(TRANSACTNUM(1,1),0);
散卖笔:=合卖笔-sum(TRANSACTNUM(2,1),0);
总量:=sum(TRANSACTVOL(0,0),0);
总买量:=sum(TRANSACTVOL(1,0),0);
总卖量:=sum(TRANSACTVOL(2,0),0);
总净量:=总买量-总卖量;
特买量:=sum(TRANSACTVOL(1,3),0);
特卖量:=sum(TRANSACTVOL(2,3),0);
大买量:=sum(TRANSACTVOL(1,2),0)-特买量;
大卖量:=sum(TRANSACTVOL(2,2),0)-特卖量;
中买量:=sum(TRANSACTVOL(1,1),0)-sum(TRANSACTVOL(1,2),0);
中卖量:=sum(TRANSACTVOL(2,1),0)-sum(TRANSACTVOL(2,2),0);
散买量:=总买量-sum(TRANSACTVOL(1,1),0);
散卖量:=总卖量-sum(TRANSACTVOL(2,1),0);
特净量:(特买量-特卖量),PRECIS0,LineThick2,COLORFF00FF;
大净量:(大买量-大卖量),PRECIS0,LineThick2,coloryellow;
中净量:(中买量-中卖量),PRECIS0,LineThick1,colorwhite;
分时净量:(TRANSACTVOL(1,0)-TRANSACTVOL(2,0)),PRECIS0,LineThick1,color3d;
[/code]

页: [1]